@iblai/iblai-api 4.232.0-ai → 4.233.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 +38 -478
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +39 -479
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +38 -478
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -8
- package/dist/types/models/MentorAuditLogEntry.d.ts +4 -0
- package/dist/types/models/NotificationTemplateDetail.d.ts +11 -2
- package/dist/types/models/NotificationTemplateList.d.ts +3 -2
- package/dist/types/models/PatchedNotificationTemplateDetail.d.ts +11 -2
- package/dist/types/models/{Type840Enum.d.ts → Type414Enum.d.ts} +3 -1
- package/dist/types/services/AiMentorService.d.ts +27 -319
- package/package.json +1 -1
- package/sdk_schema.yml +97 -979
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -8
- package/src/models/MentorAuditLogEntry.ts +4 -0
- package/src/models/NotificationTemplateDetail.ts +11 -2
- package/src/models/NotificationTemplateList.ts +3 -2
- package/src/models/PatchedNotificationTemplateDetail.ts +11 -2
- package/src/models/{Type840Enum.ts → Type414Enum.ts} +3 -1
- package/src/services/AiMentorService.ts +5909 -6485
- package/dist/types/models/AutoMemoryPrompt.d.ts +0 -4
- package/dist/types/models/PaginatedUserMemoryList.d.ts +0 -7
- package/dist/types/models/SessionMemoryAttachment.d.ts +0 -3
- package/dist/types/models/UserMemory.d.ts +0 -19
- package/dist/types/models/UserMemoryEntry.d.ts +0 -9
- package/dist/types/models/UserMemoryEntryRequest.d.ts +0 -5
- package/dist/types/models/UserMemoryRequest.d.ts +0 -12
- package/src/models/AutoMemoryPrompt.ts +0 -9
- package/src/models/PaginatedUserMemoryList.ts +0 -12
- package/src/models/SessionMemoryAttachment.ts +0 -8
- package/src/models/UserMemory.ts +0 -24
- package/src/models/UserMemoryEntry.ts +0 -14
- package/src/models/UserMemoryEntryRequest.ts +0 -10
- package/src/models/UserMemoryRequest.ts +0 -17
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.233.0-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -1298,6 +1298,7 @@ exports.TtsProviderEnum = void 0;
|
|
|
1298
1298
|
/* tslint:disable */
|
|
1299
1299
|
/* eslint-disable */
|
|
1300
1300
|
/**
|
|
1301
|
+
* * `ACTIVITY_NEW_CONTENT` - Activity New Content
|
|
1301
1302
|
* * `ADMIN_NOTIF_COURSE_ENROLLMENT` - Admin Notif Course Enrollment
|
|
1302
1303
|
* * `APP_REGISTRATION` - App Registration
|
|
1303
1304
|
* * `COURSE_INVITATION` - Course Invitation
|
|
@@ -1323,33 +1324,34 @@ exports.TtsProviderEnum = void 0;
|
|
|
1323
1324
|
* * `USER_NOTIF_USER_INACTIVITY` - User Notif User Inactivity
|
|
1324
1325
|
* * `USER_NOTIF_USER_REGISTRATION` - User Notif User Registration
|
|
1325
1326
|
*/
|
|
1326
|
-
exports.
|
|
1327
|
-
(function (
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1327
|
+
exports.Type414Enum = void 0;
|
|
1328
|
+
(function (Type414Enum) {
|
|
1329
|
+
Type414Enum["ACTIVITY_NEW_CONTENT"] = "ACTIVITY_NEW_CONTENT";
|
|
1330
|
+
Type414Enum["ADMIN_NOTIF_COURSE_ENROLLMENT"] = "ADMIN_NOTIF_COURSE_ENROLLMENT";
|
|
1331
|
+
Type414Enum["APP_REGISTRATION"] = "APP_REGISTRATION";
|
|
1332
|
+
Type414Enum["COURSE_INVITATION"] = "COURSE_INVITATION";
|
|
1333
|
+
Type414Enum["COURSE_LICENSE_ASSIGNMENT"] = "COURSE_LICENSE_ASSIGNMENT";
|
|
1334
|
+
Type414Enum["COURSE_LICENSE_GROUP_ASSIGNMENT"] = "COURSE_LICENSE_GROUP_ASSIGNMENT";
|
|
1335
|
+
Type414Enum["CUSTOM_NOTIFICATION"] = "CUSTOM_NOTIFICATION";
|
|
1336
|
+
Type414Enum["DEFAULT_TEMPLATE"] = "DEFAULT_TEMPLATE";
|
|
1337
|
+
Type414Enum["HUMAN_SUPPORT_NOTIFICATION"] = "HUMAN_SUPPORT_NOTIFICATION";
|
|
1338
|
+
Type414Enum["PLATFORM_INVITATION"] = "PLATFORM_INVITATION";
|
|
1339
|
+
Type414Enum["POLICY_ASSIGNMENT"] = "POLICY_ASSIGNMENT";
|
|
1340
|
+
Type414Enum["PROACTIVE_LEARNER_NOTIFICATION"] = "PROACTIVE_LEARNER_NOTIFICATION";
|
|
1341
|
+
Type414Enum["PROGRAM_INVITATION"] = "PROGRAM_INVITATION";
|
|
1342
|
+
Type414Enum["PROGRAM_LICENSE_ASSIGNMENT"] = "PROGRAM_LICENSE_ASSIGNMENT";
|
|
1343
|
+
Type414Enum["PROGRAM_LICENSE_GROUP_ASSIGNMENT"] = "PROGRAM_LICENSE_GROUP_ASSIGNMENT";
|
|
1344
|
+
Type414Enum["REPORT_COMPLETED"] = "REPORT_COMPLETED";
|
|
1345
|
+
Type414Enum["ROLE_CHANGE"] = "ROLE_CHANGE";
|
|
1346
|
+
Type414Enum["USER_LICENSE_ASSIGNMENT"] = "USER_LICENSE_ASSIGNMENT";
|
|
1347
|
+
Type414Enum["USER_LICENSE_GROUP_ASSIGNMENT"] = "USER_LICENSE_GROUP_ASSIGNMENT";
|
|
1348
|
+
Type414Enum["USER_NOTIF_COURSE_COMPLETION"] = "USER_NOTIF_COURSE_COMPLETION";
|
|
1349
|
+
Type414Enum["USER_NOTIF_COURSE_ENROLLMENT"] = "USER_NOTIF_COURSE_ENROLLMENT";
|
|
1350
|
+
Type414Enum["USER_NOTIF_CREDENTIALS"] = "USER_NOTIF_CREDENTIALS";
|
|
1351
|
+
Type414Enum["USER_NOTIF_LEARNER_PROGRESS"] = "USER_NOTIF_LEARNER_PROGRESS";
|
|
1352
|
+
Type414Enum["USER_NOTIF_USER_INACTIVITY"] = "USER_NOTIF_USER_INACTIVITY";
|
|
1353
|
+
Type414Enum["USER_NOTIF_USER_REGISTRATION"] = "USER_NOTIF_USER_REGISTRATION";
|
|
1354
|
+
})(exports.Type414Enum || (exports.Type414Enum = {}));
|
|
1353
1355
|
|
|
1354
1356
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
1355
1357
|
/* istanbul ignore file */
|
|
@@ -19589,75 +19591,6 @@ class AiMentorService {
|
|
|
19589
19591
|
}
|
|
19590
19592
|
});
|
|
19591
19593
|
}
|
|
19592
|
-
/**
|
|
19593
|
-
* Returns extracted memory for a user. This is the memory that the user tells the mentor to remember or is inferred from conversations.
|
|
19594
|
-
* @returns UserMemory
|
|
19595
|
-
* @throws ApiError
|
|
19596
|
-
*/
|
|
19597
|
-
static aiMentorOrgsUsersExtractedMemoriesRetrieve({
|
|
19598
|
-
org,
|
|
19599
|
-
userId
|
|
19600
|
-
}) {
|
|
19601
|
-
return request(OpenAPI, {
|
|
19602
|
-
method: 'GET',
|
|
19603
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/extracted-memories/',
|
|
19604
|
-
path: {
|
|
19605
|
-
'org': org,
|
|
19606
|
-
'user_id': userId
|
|
19607
|
-
}
|
|
19608
|
-
});
|
|
19609
|
-
}
|
|
19610
|
-
/**
|
|
19611
|
-
* Retrieve a list of memories based on filter conditions.
|
|
19612
|
-
* Only accessible to tenant admins.
|
|
19613
|
-
*
|
|
19614
|
-
* Returns:
|
|
19615
|
-
* Response: A paginated list of memories.
|
|
19616
|
-
* Put your queries using the parameters in the query parameters. For example, to search a mentor's regular mode memory, use the following url:
|
|
19617
|
-
* ```
|
|
19618
|
-
* https://base.manager.iblai.app/api/ai-mentor/orgs/your-org/users/your-user/filtered-memories/?mentor=f81fc856-fd8f-4e6b-9d3b-72aa68279c40&mode=regular&username=another-user
|
|
19619
|
-
* ```
|
|
19620
|
-
*
|
|
19621
|
-
* Raises:
|
|
19622
|
-
* NotFound: If the query is invalid.
|
|
19623
|
-
* @returns PaginatedUserMemoryList
|
|
19624
|
-
* @throws ApiError
|
|
19625
|
-
*/
|
|
19626
|
-
static aiMentorOrgsUsersFilteredMemoriesList({
|
|
19627
|
-
org,
|
|
19628
|
-
userId,
|
|
19629
|
-
category,
|
|
19630
|
-
endDate,
|
|
19631
|
-
mentor,
|
|
19632
|
-
mode,
|
|
19633
|
-
page,
|
|
19634
|
-
pageSize,
|
|
19635
|
-
platform,
|
|
19636
|
-
session,
|
|
19637
|
-
startDate,
|
|
19638
|
-
username
|
|
19639
|
-
}) {
|
|
19640
|
-
return request(OpenAPI, {
|
|
19641
|
-
method: 'GET',
|
|
19642
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/filtered-memories/',
|
|
19643
|
-
path: {
|
|
19644
|
-
'org': org,
|
|
19645
|
-
'user_id': userId
|
|
19646
|
-
},
|
|
19647
|
-
query: {
|
|
19648
|
-
'category': category,
|
|
19649
|
-
'end_date': endDate,
|
|
19650
|
-
'mentor': mentor,
|
|
19651
|
-
'mode': mode,
|
|
19652
|
-
'page': page,
|
|
19653
|
-
'page_size': pageSize,
|
|
19654
|
-
'platform': platform,
|
|
19655
|
-
'session': session,
|
|
19656
|
-
'start_date': startDate,
|
|
19657
|
-
'username': username
|
|
19658
|
-
}
|
|
19659
|
-
});
|
|
19660
|
-
}
|
|
19661
19594
|
/**
|
|
19662
19595
|
* Retrieve the count of free usage credits available to a user.
|
|
19663
19596
|
*
|
|
@@ -19699,6 +19632,7 @@ class AiMentorService {
|
|
|
19699
19632
|
org,
|
|
19700
19633
|
userId,
|
|
19701
19634
|
content,
|
|
19635
|
+
email,
|
|
19702
19636
|
endDate,
|
|
19703
19637
|
sessionId,
|
|
19704
19638
|
startDate
|
|
@@ -19712,6 +19646,7 @@ class AiMentorService {
|
|
|
19712
19646
|
},
|
|
19713
19647
|
query: {
|
|
19714
19648
|
'content': content,
|
|
19649
|
+
'email': email,
|
|
19715
19650
|
'end_date': endDate,
|
|
19716
19651
|
'session_id': sessionId,
|
|
19717
19652
|
'start_date': startDate,
|
|
@@ -20256,295 +20191,6 @@ class AiMentorService {
|
|
|
20256
20191
|
mediaType: 'multipart/form-data'
|
|
20257
20192
|
});
|
|
20258
20193
|
}
|
|
20259
|
-
/**
|
|
20260
|
-
* Retrieve a list of memories based on filter conditions.
|
|
20261
|
-
*
|
|
20262
|
-
* Returns:
|
|
20263
|
-
* Response: A paginated list of memories.
|
|
20264
|
-
* Put your queries using the parameters in the query parameters. For example, to search a mentor's regular mode memory, use the following url:
|
|
20265
|
-
* ```
|
|
20266
|
-
* https://base.manager.iblai.app/api/ai-mentor/orgs/your-org/users/your-user/memories/?mentor=f81fc856-fd8f-4e6b-9d3b-72aa68279c40&mode=regular
|
|
20267
|
-
* ```
|
|
20268
|
-
*
|
|
20269
|
-
* Raises:
|
|
20270
|
-
* NotFound: If the query is invalid.
|
|
20271
|
-
* @returns PaginatedUserMemoryList
|
|
20272
|
-
* @throws ApiError
|
|
20273
|
-
*/
|
|
20274
|
-
static aiMentorOrgsUsersMemoriesList({
|
|
20275
|
-
org,
|
|
20276
|
-
userId,
|
|
20277
|
-
category,
|
|
20278
|
-
endDate,
|
|
20279
|
-
mentor,
|
|
20280
|
-
mode,
|
|
20281
|
-
page,
|
|
20282
|
-
pageSize,
|
|
20283
|
-
platform,
|
|
20284
|
-
session,
|
|
20285
|
-
startDate
|
|
20286
|
-
}) {
|
|
20287
|
-
return request(OpenAPI, {
|
|
20288
|
-
method: 'GET',
|
|
20289
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memories/',
|
|
20290
|
-
path: {
|
|
20291
|
-
'org': org,
|
|
20292
|
-
'user_id': userId
|
|
20293
|
-
},
|
|
20294
|
-
query: {
|
|
20295
|
-
'category': category,
|
|
20296
|
-
'end_date': endDate,
|
|
20297
|
-
'mentor': mentor,
|
|
20298
|
-
'mode': mode,
|
|
20299
|
-
'page': page,
|
|
20300
|
-
'page_size': pageSize,
|
|
20301
|
-
'platform': platform,
|
|
20302
|
-
'session': session,
|
|
20303
|
-
'start_date': startDate
|
|
20304
|
-
}
|
|
20305
|
-
});
|
|
20306
|
-
}
|
|
20307
|
-
/**
|
|
20308
|
-
* Create memory
|
|
20309
|
-
* Create memory using the request data
|
|
20310
|
-
* @returns PaginatedUserMemoryList
|
|
20311
|
-
* @throws ApiError
|
|
20312
|
-
*/
|
|
20313
|
-
static aiMentorOrgsUsersMemoriesCreate({
|
|
20314
|
-
org,
|
|
20315
|
-
userId,
|
|
20316
|
-
requestBody,
|
|
20317
|
-
page,
|
|
20318
|
-
pageSize
|
|
20319
|
-
}) {
|
|
20320
|
-
return request(OpenAPI, {
|
|
20321
|
-
method: 'POST',
|
|
20322
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memories/',
|
|
20323
|
-
path: {
|
|
20324
|
-
'org': org,
|
|
20325
|
-
'user_id': userId
|
|
20326
|
-
},
|
|
20327
|
-
query: {
|
|
20328
|
-
'page': page,
|
|
20329
|
-
'page_size': pageSize
|
|
20330
|
-
},
|
|
20331
|
-
body: requestBody,
|
|
20332
|
-
mediaType: 'application/json'
|
|
20333
|
-
});
|
|
20334
|
-
}
|
|
20335
|
-
/**
|
|
20336
|
-
* Use the this endpoint to get all memory categories:
|
|
20337
|
-
* ```
|
|
20338
|
-
* GET /api/ai-mentor/orgs/main/users/your-user/memory-categories/
|
|
20339
|
-
* ```
|
|
20340
|
-
* Sample response
|
|
20341
|
-
* ```
|
|
20342
|
-
* {"categories": ["lessons_learned", "knowledge_gaps", "help_requests", "personal_information"]}
|
|
20343
|
-
* ```
|
|
20344
|
-
* @returns any No response body
|
|
20345
|
-
* @throws ApiError
|
|
20346
|
-
*/
|
|
20347
|
-
static aiMentorOrgsUsersMemoryCategoriesRetrieve({
|
|
20348
|
-
org,
|
|
20349
|
-
userId
|
|
20350
|
-
}) {
|
|
20351
|
-
return request(OpenAPI, {
|
|
20352
|
-
method: 'GET',
|
|
20353
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory-categories/',
|
|
20354
|
-
path: {
|
|
20355
|
-
'org': org,
|
|
20356
|
-
'user_id': userId
|
|
20357
|
-
}
|
|
20358
|
-
});
|
|
20359
|
-
}
|
|
20360
|
-
/**
|
|
20361
|
-
* Get a memory entry's detail by its unique id.
|
|
20362
|
-
*
|
|
20363
|
-
* Sample response
|
|
20364
|
-
* ```
|
|
20365
|
-
* {
|
|
20366
|
-
* "unique_id": "f03642ce-b7ec-42a2-8604-7aa0c6e7b6d3",
|
|
20367
|
-
* "key": "new key",
|
|
20368
|
-
* "value": "this is new memory value!",
|
|
20369
|
-
* "inserted_at": "2025-09-01T14:43:36.232705+00:00",
|
|
20370
|
-
* "updated_at": "2025-09-01T14:43:36.232712+00:00",
|
|
20371
|
-
* "expires_at": null,
|
|
20372
|
-
* "category": "lessons_learned"
|
|
20373
|
-
* }
|
|
20374
|
-
* ```
|
|
20375
|
-
* @returns UserMemoryEntry
|
|
20376
|
-
* @throws ApiError
|
|
20377
|
-
*/
|
|
20378
|
-
static aiMentorOrgsUsersMemoryEntriesRetrieve({
|
|
20379
|
-
entryUniqueId,
|
|
20380
|
-
org,
|
|
20381
|
-
userId
|
|
20382
|
-
}) {
|
|
20383
|
-
return request(OpenAPI, {
|
|
20384
|
-
method: 'GET',
|
|
20385
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory-entries/{entry_unique_id}/',
|
|
20386
|
-
path: {
|
|
20387
|
-
'entry_unique_id': entryUniqueId,
|
|
20388
|
-
'org': org,
|
|
20389
|
-
'user_id': userId
|
|
20390
|
-
}
|
|
20391
|
-
});
|
|
20392
|
-
}
|
|
20393
|
-
/**
|
|
20394
|
-
* ```
|
|
20395
|
-
* POST /api/ai-mentor/orgs/main/users/your-user/memory-entries/f03642ce-b7ec-42a2-8604-7aa0c6e7b6d3/
|
|
20396
|
-
* ```
|
|
20397
|
-
* Sample request:
|
|
20398
|
-
* ```
|
|
20399
|
-
* {"value": "this is new memory value!", "key": "new key!",}
|
|
20400
|
-
* ```
|
|
20401
|
-
* Sample response:
|
|
20402
|
-
* ```
|
|
20403
|
-
* {
|
|
20404
|
-
* "unique_id": "f03642ce-b7ec-42a2-8604-7aa0c6e7b6d3",
|
|
20405
|
-
* "key": "new key",
|
|
20406
|
-
* "value": "this is new memory value!",
|
|
20407
|
-
* "inserted_at": "2025-09-01T14:43:36.232705+00:00",
|
|
20408
|
-
* "updated_at": "2025-09-01T14:43:36.232712+00:00",
|
|
20409
|
-
* "expires_at": null,
|
|
20410
|
-
* "category": "lessons_learned"
|
|
20411
|
-
* }
|
|
20412
|
-
* ```
|
|
20413
|
-
* @returns UserMemoryEntry
|
|
20414
|
-
* @throws ApiError
|
|
20415
|
-
*/
|
|
20416
|
-
static aiMentorOrgsUsersMemoryEntriesCreate({
|
|
20417
|
-
entryUniqueId,
|
|
20418
|
-
org,
|
|
20419
|
-
userId,
|
|
20420
|
-
requestBody
|
|
20421
|
-
}) {
|
|
20422
|
-
return request(OpenAPI, {
|
|
20423
|
-
method: 'POST',
|
|
20424
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory-entries/{entry_unique_id}/',
|
|
20425
|
-
path: {
|
|
20426
|
-
'entry_unique_id': entryUniqueId,
|
|
20427
|
-
'org': org,
|
|
20428
|
-
'user_id': userId
|
|
20429
|
-
},
|
|
20430
|
-
body: requestBody,
|
|
20431
|
-
mediaType: 'application/json'
|
|
20432
|
-
});
|
|
20433
|
-
}
|
|
20434
|
-
/**
|
|
20435
|
-
* Delete a memory entry or a category of memories.
|
|
20436
|
-
*
|
|
20437
|
-
* Sample request (memory entry unique id)
|
|
20438
|
-
* ```
|
|
20439
|
-
* DELETE /api/ai-mentor/orgs/main/users/your-user/memory-entries/d66e4962-2406-48b1-9b73-14ff30138872/
|
|
20440
|
-
* ```
|
|
20441
|
-
* Sample request (category name)
|
|
20442
|
-
* ```
|
|
20443
|
-
* DELETE /api/ai-mentor/orgs/main/users/your-user/memory-entries/lessons_learned/
|
|
20444
|
-
* ```
|
|
20445
|
-
* @returns any Memory deleted successfully.
|
|
20446
|
-
* @throws ApiError
|
|
20447
|
-
*/
|
|
20448
|
-
static aiMentorOrgsUsersMemoryEntriesDestroy({
|
|
20449
|
-
entryUniqueId,
|
|
20450
|
-
org,
|
|
20451
|
-
userId
|
|
20452
|
-
}) {
|
|
20453
|
-
return request(OpenAPI, {
|
|
20454
|
-
method: 'DELETE',
|
|
20455
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory-entries/{entry_unique_id}/',
|
|
20456
|
-
path: {
|
|
20457
|
-
'entry_unique_id': entryUniqueId,
|
|
20458
|
-
'org': org,
|
|
20459
|
-
'user_id': userId
|
|
20460
|
-
},
|
|
20461
|
-
errors: {
|
|
20462
|
-
404: `Memory not found.`
|
|
20463
|
-
}
|
|
20464
|
-
});
|
|
20465
|
-
}
|
|
20466
|
-
/**
|
|
20467
|
-
* Use the this endpoint to get all memory categories:
|
|
20468
|
-
* ```
|
|
20469
|
-
* GET /api/ai-mentor/orgs/main/users/your-user/memory-filter/
|
|
20470
|
-
* ```
|
|
20471
|
-
* Sample response
|
|
20472
|
-
* ```
|
|
20473
|
-
* {
|
|
20474
|
-
* "categories": [
|
|
20475
|
-
* "lessons_learned",
|
|
20476
|
-
* "knowledge_gaps",
|
|
20477
|
-
* "help_requests",
|
|
20478
|
-
* "personal_information"
|
|
20479
|
-
* ],
|
|
20480
|
-
* "users": [
|
|
20481
|
-
* {
|
|
20482
|
-
* "username": "animashaun1vie",
|
|
20483
|
-
* "email": "animashaun1vie@gmail.com",
|
|
20484
|
-
* "lti_email": ""
|
|
20485
|
-
* }
|
|
20486
|
-
* ]
|
|
20487
|
-
* }
|
|
20488
|
-
* ```
|
|
20489
|
-
* @returns any No response body
|
|
20490
|
-
* @throws ApiError
|
|
20491
|
-
*/
|
|
20492
|
-
static aiMentorOrgsUsersMemoryFilterRetrieve({
|
|
20493
|
-
org,
|
|
20494
|
-
userId
|
|
20495
|
-
}) {
|
|
20496
|
-
return request(OpenAPI, {
|
|
20497
|
-
method: 'GET',
|
|
20498
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory-filter/',
|
|
20499
|
-
path: {
|
|
20500
|
-
'org': org,
|
|
20501
|
-
'user_id': userId
|
|
20502
|
-
}
|
|
20503
|
-
});
|
|
20504
|
-
}
|
|
20505
|
-
/**
|
|
20506
|
-
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
20507
|
-
* @returns UserMemory
|
|
20508
|
-
* @throws ApiError
|
|
20509
|
-
*/
|
|
20510
|
-
static aiMentorOrgsUsersMemoryRetrieve({
|
|
20511
|
-
memoryUniqueIdOrName,
|
|
20512
|
-
org,
|
|
20513
|
-
userId
|
|
20514
|
-
}) {
|
|
20515
|
-
return request(OpenAPI, {
|
|
20516
|
-
method: 'GET',
|
|
20517
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory/{memory_unique_id_or_name}/',
|
|
20518
|
-
path: {
|
|
20519
|
-
'memory_unique_id_or_name': memoryUniqueIdOrName,
|
|
20520
|
-
'org': org,
|
|
20521
|
-
'user_id': userId
|
|
20522
|
-
}
|
|
20523
|
-
});
|
|
20524
|
-
}
|
|
20525
|
-
/**
|
|
20526
|
-
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
20527
|
-
* @returns any Memory deleted successfully.
|
|
20528
|
-
* @throws ApiError
|
|
20529
|
-
*/
|
|
20530
|
-
static aiMentorOrgsUsersMemoryDestroy({
|
|
20531
|
-
memoryUniqueIdOrName,
|
|
20532
|
-
org,
|
|
20533
|
-
userId
|
|
20534
|
-
}) {
|
|
20535
|
-
return request(OpenAPI, {
|
|
20536
|
-
method: 'DELETE',
|
|
20537
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/memory/{memory_unique_id_or_name}/',
|
|
20538
|
-
path: {
|
|
20539
|
-
'memory_unique_id_or_name': memoryUniqueIdOrName,
|
|
20540
|
-
'org': org,
|
|
20541
|
-
'user_id': userId
|
|
20542
|
-
},
|
|
20543
|
-
errors: {
|
|
20544
|
-
404: `Memory not found.`
|
|
20545
|
-
}
|
|
20546
|
-
});
|
|
20547
|
-
}
|
|
20548
20194
|
/**
|
|
20549
20195
|
* GET/POST /orgs/{org}/users/{user_id}/memsearch-config/
|
|
20550
20196
|
*
|
|
@@ -20787,6 +20433,7 @@ class AiMentorService {
|
|
|
20787
20433
|
static aiMentorOrgsUsersMentorMemoriesRetrieve({
|
|
20788
20434
|
org,
|
|
20789
20435
|
userId,
|
|
20436
|
+
email,
|
|
20790
20437
|
endDate,
|
|
20791
20438
|
mentor,
|
|
20792
20439
|
startDate
|
|
@@ -20799,6 +20446,7 @@ class AiMentorService {
|
|
|
20799
20446
|
'user_id': userId
|
|
20800
20447
|
},
|
|
20801
20448
|
query: {
|
|
20449
|
+
'email': email,
|
|
20802
20450
|
'end_date': endDate,
|
|
20803
20451
|
'mentor': mentor,
|
|
20804
20452
|
'start_date': startDate,
|
|
@@ -21230,6 +20878,7 @@ class AiMentorService {
|
|
|
21230
20878
|
mentorId,
|
|
21231
20879
|
org,
|
|
21232
20880
|
userId,
|
|
20881
|
+
email,
|
|
21233
20882
|
endDate,
|
|
21234
20883
|
myMemory,
|
|
21235
20884
|
startDate
|
|
@@ -21243,6 +20892,7 @@ class AiMentorService {
|
|
|
21243
20892
|
'user_id': userId
|
|
21244
20893
|
},
|
|
21245
20894
|
query: {
|
|
20895
|
+
'email': email,
|
|
21246
20896
|
'end_date': endDate,
|
|
21247
20897
|
'my_memory': myMemory,
|
|
21248
20898
|
'start_date': startDate,
|
|
@@ -21334,50 +20984,6 @@ class AiMentorService {
|
|
|
21334
20984
|
}
|
|
21335
20985
|
});
|
|
21336
20986
|
}
|
|
21337
|
-
/**
|
|
21338
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
21339
|
-
* @returns AutoMemoryPrompt
|
|
21340
|
-
* @throws ApiError
|
|
21341
|
-
*/
|
|
21342
|
-
static aiMentorOrgsUsersMentorsAutoMemoryPromptRetrieve({
|
|
21343
|
-
mentor,
|
|
21344
|
-
org,
|
|
21345
|
-
userId
|
|
21346
|
-
}) {
|
|
21347
|
-
return request(OpenAPI, {
|
|
21348
|
-
method: 'GET',
|
|
21349
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/auto-memory-prompt/',
|
|
21350
|
-
path: {
|
|
21351
|
-
'mentor': mentor,
|
|
21352
|
-
'org': org,
|
|
21353
|
-
'user_id': userId
|
|
21354
|
-
}
|
|
21355
|
-
});
|
|
21356
|
-
}
|
|
21357
|
-
/**
|
|
21358
|
-
* Set or reset auto memory prompt
|
|
21359
|
-
* Set or reset auto memory prompt
|
|
21360
|
-
* @returns AutoMemoryPrompt
|
|
21361
|
-
* @throws ApiError
|
|
21362
|
-
*/
|
|
21363
|
-
static aiMentorOrgsUsersMentorsAutoMemoryPromptCreate({
|
|
21364
|
-
mentor,
|
|
21365
|
-
org,
|
|
21366
|
-
userId,
|
|
21367
|
-
requestBody
|
|
21368
|
-
}) {
|
|
21369
|
-
return request(OpenAPI, {
|
|
21370
|
-
method: 'POST',
|
|
21371
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/auto-memory-prompt/',
|
|
21372
|
-
path: {
|
|
21373
|
-
'mentor': mentor,
|
|
21374
|
-
'org': org,
|
|
21375
|
-
'user_id': userId
|
|
21376
|
-
},
|
|
21377
|
-
body: requestBody,
|
|
21378
|
-
mediaType: 'application/json'
|
|
21379
|
-
});
|
|
21380
|
-
}
|
|
21381
20987
|
/**
|
|
21382
20988
|
* Retrieve tools available for a particular mentor. The 'is_allowed' field indicates whether the tool is compatible with the mentor's current LLM configuration.
|
|
21383
20989
|
* @returns ToolResponse
|
|
@@ -22714,6 +22320,7 @@ class AiMentorService {
|
|
|
22714
22320
|
org,
|
|
22715
22321
|
userId,
|
|
22716
22322
|
action,
|
|
22323
|
+
actorEmail,
|
|
22717
22324
|
actorUsername,
|
|
22718
22325
|
fromDate,
|
|
22719
22326
|
limit,
|
|
@@ -22730,6 +22337,7 @@ class AiMentorService {
|
|
|
22730
22337
|
},
|
|
22731
22338
|
query: {
|
|
22732
22339
|
'action': action,
|
|
22340
|
+
'actor_email': actorEmail,
|
|
22733
22341
|
'actor_username': actorUsername,
|
|
22734
22342
|
'from_date': fromDate,
|
|
22735
22343
|
'limit': limit,
|
|
@@ -24415,54 +24023,6 @@ class AiMentorService {
|
|
|
24415
24023
|
}
|
|
24416
24024
|
});
|
|
24417
24025
|
}
|
|
24418
|
-
/**
|
|
24419
|
-
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
24420
|
-
* @returns SessionMemoryAttachment
|
|
24421
|
-
* @throws ApiError
|
|
24422
|
-
*/
|
|
24423
|
-
static aiMentorOrgsUsersSessionsMemoriesSetAttachedRetrieve({
|
|
24424
|
-
memoryUniqueId,
|
|
24425
|
-
org,
|
|
24426
|
-
sessionId,
|
|
24427
|
-
userId
|
|
24428
|
-
}) {
|
|
24429
|
-
return request(OpenAPI, {
|
|
24430
|
-
method: 'GET',
|
|
24431
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/memories/{memory_unique_id}/set-attached/',
|
|
24432
|
-
path: {
|
|
24433
|
-
'memory_unique_id': memoryUniqueId,
|
|
24434
|
-
'org': org,
|
|
24435
|
-
'session_id': sessionId,
|
|
24436
|
-
'user_id': userId
|
|
24437
|
-
}
|
|
24438
|
-
});
|
|
24439
|
-
}
|
|
24440
|
-
/**
|
|
24441
|
-
* Create session memory attachment
|
|
24442
|
-
* Create session memory attachment
|
|
24443
|
-
* @returns SessionMemoryAttachment
|
|
24444
|
-
* @throws ApiError
|
|
24445
|
-
*/
|
|
24446
|
-
static aiMentorOrgsUsersSessionsMemoriesSetAttachedCreate({
|
|
24447
|
-
memoryUniqueId,
|
|
24448
|
-
org,
|
|
24449
|
-
sessionId,
|
|
24450
|
-
userId,
|
|
24451
|
-
requestBody
|
|
24452
|
-
}) {
|
|
24453
|
-
return request(OpenAPI, {
|
|
24454
|
-
method: 'POST',
|
|
24455
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/memories/{memory_unique_id}/set-attached/',
|
|
24456
|
-
path: {
|
|
24457
|
-
'memory_unique_id': memoryUniqueId,
|
|
24458
|
-
'org': org,
|
|
24459
|
-
'session_id': sessionId,
|
|
24460
|
-
'user_id': userId
|
|
24461
|
-
},
|
|
24462
|
-
body: requestBody,
|
|
24463
|
-
mediaType: 'application/json'
|
|
24464
|
-
});
|
|
24465
|
-
}
|
|
24466
24026
|
/**
|
|
24467
24027
|
* Retrieve memory data for a specific session.
|
|
24468
24028
|
*
|