@iblai/iblai-api 4.298.0-ai → 4.299.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 +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/types/models/StarMentor.d.ts +2 -0
- package/dist/types/services/AiMentorService.d.ts +10 -4
- package/package.json +1 -1
- package/sdk_schema.yml +22 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/models/StarMentor.ts +2 -0
- package/src/services/AiMentorService.ts +12 -0
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.299.0-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -20117,7 +20117,7 @@ class AiMentorService{/**
|
|
|
20117
20117
|
* Response: Paginated list of pinned sessions.
|
|
20118
20118
|
* @returns SessionSummary
|
|
20119
20119
|
* @throws ApiError
|
|
20120
|
-
*/static aiMentorOrgsUsersPinMessageList({org,userId,mentor}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/pin-message/',path:{'org':org,'user_id':userId},query:{'mentor':mentor}});}/**
|
|
20120
|
+
*/static aiMentorOrgsUsersPinMessageList({org,userId,mentor,search}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/pin-message/',path:{'org':org,'user_id':userId},query:{'mentor':mentor,'search':search}});}/**
|
|
20121
20121
|
* Create a pinned message for a user session.
|
|
20122
20122
|
*
|
|
20123
20123
|
* Args:
|
|
@@ -20263,7 +20263,7 @@ class AiMentorService{/**
|
|
|
20263
20263
|
* Get recent chat sessions of a user within an organization.
|
|
20264
20264
|
* @returns SessionSummary
|
|
20265
20265
|
* @throws ApiError
|
|
20266
|
-
*/static aiMentorOrgsUsersRecentMessagesList({org,userId,mentor}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/recent-messages/',path:{'org':org,'user_id':userId},query:{'mentor':mentor}});}/**
|
|
20266
|
+
*/static aiMentorOrgsUsersRecentMessagesList({org,userId,mentor,search}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/recent-messages/',path:{'org':org,'user_id':userId},query:{'mentor':mentor,'search':search}});}/**
|
|
20267
20267
|
* Endpoint for listing most recently accessed mentors.
|
|
20268
20268
|
*
|
|
20269
20269
|
* Accessible to students and admins.
|
package/dist/index.esm.js
CHANGED
|
@@ -108,7 +108,7 @@ class CancelablePromise {
|
|
|
108
108
|
|
|
109
109
|
const OpenAPI = {
|
|
110
110
|
BASE: 'https://base.manager.iblai.app',
|
|
111
|
-
VERSION: '4.
|
|
111
|
+
VERSION: '4.299.0-ai-plus',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -20115,7 +20115,7 @@ class AiMentorService{/**
|
|
|
20115
20115
|
* Response: Paginated list of pinned sessions.
|
|
20116
20116
|
* @returns SessionSummary
|
|
20117
20117
|
* @throws ApiError
|
|
20118
|
-
*/static aiMentorOrgsUsersPinMessageList({org,userId,mentor}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/pin-message/',path:{'org':org,'user_id':userId},query:{'mentor':mentor}});}/**
|
|
20118
|
+
*/static aiMentorOrgsUsersPinMessageList({org,userId,mentor,search}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/pin-message/',path:{'org':org,'user_id':userId},query:{'mentor':mentor,'search':search}});}/**
|
|
20119
20119
|
* Create a pinned message for a user session.
|
|
20120
20120
|
*
|
|
20121
20121
|
* Args:
|
|
@@ -20261,7 +20261,7 @@ class AiMentorService{/**
|
|
|
20261
20261
|
* Get recent chat sessions of a user within an organization.
|
|
20262
20262
|
* @returns SessionSummary
|
|
20263
20263
|
* @throws ApiError
|
|
20264
|
-
*/static aiMentorOrgsUsersRecentMessagesList({org,userId,mentor}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/recent-messages/',path:{'org':org,'user_id':userId},query:{'mentor':mentor}});}/**
|
|
20264
|
+
*/static aiMentorOrgsUsersRecentMessagesList({org,userId,mentor,search}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/recent-messages/',path:{'org':org,'user_id':userId},query:{'mentor':mentor,'search':search}});}/**
|
|
20265
20265
|
* Endpoint for listing most recently accessed mentors.
|
|
20266
20266
|
*
|
|
20267
20267
|
* Accessible to students and admins.
|
package/dist/index.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '4.
|
|
117
|
+
VERSION: '4.299.0-ai-plus',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -20121,7 +20121,7 @@
|
|
|
20121
20121
|
* Response: Paginated list of pinned sessions.
|
|
20122
20122
|
* @returns SessionSummary
|
|
20123
20123
|
* @throws ApiError
|
|
20124
|
-
*/static aiMentorOrgsUsersPinMessageList({org,userId,mentor}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/pin-message/',path:{'org':org,'user_id':userId},query:{'mentor':mentor}});}/**
|
|
20124
|
+
*/static aiMentorOrgsUsersPinMessageList({org,userId,mentor,search}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/pin-message/',path:{'org':org,'user_id':userId},query:{'mentor':mentor,'search':search}});}/**
|
|
20125
20125
|
* Create a pinned message for a user session.
|
|
20126
20126
|
*
|
|
20127
20127
|
* Args:
|
|
@@ -20267,7 +20267,7 @@
|
|
|
20267
20267
|
* Get recent chat sessions of a user within an organization.
|
|
20268
20268
|
* @returns SessionSummary
|
|
20269
20269
|
* @throws ApiError
|
|
20270
|
-
*/static aiMentorOrgsUsersRecentMessagesList({org,userId,mentor}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/recent-messages/',path:{'org':org,'user_id':userId},query:{'mentor':mentor}});}/**
|
|
20270
|
+
*/static aiMentorOrgsUsersRecentMessagesList({org,userId,mentor,search}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/recent-messages/',path:{'org':org,'user_id':userId},query:{'mentor':mentor,'search':search}});}/**
|
|
20271
20271
|
* Endpoint for listing most recently accessed mentors.
|
|
20272
20272
|
*
|
|
20273
20273
|
* Accessible to students and admins.
|
|
@@ -9386,11 +9386,14 @@ export declare class AiMentorService {
|
|
|
9386
9386
|
* @returns SessionSummary
|
|
9387
9387
|
* @throws ApiError
|
|
9388
9388
|
*/
|
|
9389
|
-
static aiMentorOrgsUsersPinMessageList({ org, userId, mentor, }: {
|
|
9389
|
+
static aiMentorOrgsUsersPinMessageList({ org, userId, mentor, search, }: {
|
|
9390
9390
|
org: string; /**
|
|
9391
9391
|
* Filter by mentor unique_id, slug, or name
|
|
9392
9392
|
*/
|
|
9393
|
-
mentor?: string;
|
|
9393
|
+
mentor?: string; /**
|
|
9394
|
+
* Case-insensitive search across the session title and the content of its chat messages (both human and AI).
|
|
9395
|
+
*/
|
|
9396
|
+
search?: string;
|
|
9394
9397
|
}): CancelablePromise<Array<SessionSummary>>;
|
|
9395
9398
|
/**
|
|
9396
9399
|
* Create a pinned message for a user session.
|
|
@@ -9704,11 +9707,14 @@ export declare class AiMentorService {
|
|
|
9704
9707
|
* @returns SessionSummary
|
|
9705
9708
|
* @throws ApiError
|
|
9706
9709
|
*/
|
|
9707
|
-
static aiMentorOrgsUsersRecentMessagesList({ org, userId, mentor, }: {
|
|
9710
|
+
static aiMentorOrgsUsersRecentMessagesList({ org, userId, mentor, search, }: {
|
|
9708
9711
|
org: string; /**
|
|
9709
9712
|
* Filter by mentor unique_id, slug, or name
|
|
9710
9713
|
*/
|
|
9711
|
-
mentor?: string;
|
|
9714
|
+
mentor?: string; /**
|
|
9715
|
+
* Case-insensitive search across the session title and the content of its chat messages (both human and AI).
|
|
9716
|
+
*/
|
|
9717
|
+
search?: string;
|
|
9712
9718
|
}): CancelablePromise<Array<SessionSummary>>;
|
|
9713
9719
|
/**
|
|
9714
9720
|
* Endpoint for listing most recently accessed mentors.
|
package/package.json
CHANGED
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.299.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -39136,6 +39136,12 @@ paths:
|
|
|
39136
39136
|
schema:
|
|
39137
39137
|
type: string
|
|
39138
39138
|
required: true
|
|
39139
|
+
- in: query
|
|
39140
|
+
name: search
|
|
39141
|
+
schema:
|
|
39142
|
+
type: string
|
|
39143
|
+
description: Case-insensitive search across the session title and the content
|
|
39144
|
+
of its chat messages (both human and AI).
|
|
39139
39145
|
- in: path
|
|
39140
39146
|
name: user_id
|
|
39141
39147
|
schema:
|
|
@@ -40187,6 +40193,12 @@ paths:
|
|
|
40187
40193
|
schema:
|
|
40188
40194
|
type: string
|
|
40189
40195
|
required: true
|
|
40196
|
+
- in: query
|
|
40197
|
+
name: search
|
|
40198
|
+
schema:
|
|
40199
|
+
type: string
|
|
40200
|
+
description: Case-insensitive search across the session title and the content
|
|
40201
|
+
of its chat messages (both human and AI).
|
|
40190
40202
|
- in: path
|
|
40191
40203
|
name: user_id
|
|
40192
40204
|
schema:
|
|
@@ -120668,10 +120680,19 @@ components:
|
|
|
120668
120680
|
type: string
|
|
120669
120681
|
nullable: true
|
|
120670
120682
|
readOnly: true
|
|
120683
|
+
id:
|
|
120684
|
+
type: integer
|
|
120685
|
+
readOnly: true
|
|
120686
|
+
unique_id:
|
|
120687
|
+
type: string
|
|
120688
|
+
format: uuid
|
|
120689
|
+
readOnly: true
|
|
120671
120690
|
required:
|
|
120691
|
+
- id
|
|
120672
120692
|
- mentor
|
|
120673
120693
|
- recently_accessed_at
|
|
120674
120694
|
- student
|
|
120695
|
+
- unique_id
|
|
120675
120696
|
- updated_at
|
|
120676
120697
|
StarterPrompts8c6Enum:
|
|
120677
120698
|
enum:
|
package/src/core/OpenAPI.ts
CHANGED
package/src/models/StarMentor.ts
CHANGED
|
@@ -17952,6 +17952,7 @@ export class AiMentorService {
|
|
|
17952
17952
|
org,
|
|
17953
17953
|
userId,
|
|
17954
17954
|
mentor,
|
|
17955
|
+
search,
|
|
17955
17956
|
}: {
|
|
17956
17957
|
org: string,
|
|
17957
17958
|
userId: string,
|
|
@@ -17959,6 +17960,10 @@ export class AiMentorService {
|
|
|
17959
17960
|
* Filter by mentor unique_id, slug, or name
|
|
17960
17961
|
*/
|
|
17961
17962
|
mentor?: string,
|
|
17963
|
+
/**
|
|
17964
|
+
* Case-insensitive search across the session title and the content of its chat messages (both human and AI).
|
|
17965
|
+
*/
|
|
17966
|
+
search?: string,
|
|
17962
17967
|
}): CancelablePromise<Array<SessionSummary>> {
|
|
17963
17968
|
return __request(OpenAPI, {
|
|
17964
17969
|
method: 'GET',
|
|
@@ -17969,6 +17974,7 @@ export class AiMentorService {
|
|
|
17969
17974
|
},
|
|
17970
17975
|
query: {
|
|
17971
17976
|
'mentor': mentor,
|
|
17977
|
+
'search': search,
|
|
17972
17978
|
},
|
|
17973
17979
|
});
|
|
17974
17980
|
}
|
|
@@ -18622,6 +18628,7 @@ export class AiMentorService {
|
|
|
18622
18628
|
org,
|
|
18623
18629
|
userId,
|
|
18624
18630
|
mentor,
|
|
18631
|
+
search,
|
|
18625
18632
|
}: {
|
|
18626
18633
|
org: string,
|
|
18627
18634
|
userId: string,
|
|
@@ -18629,6 +18636,10 @@ export class AiMentorService {
|
|
|
18629
18636
|
* Filter by mentor unique_id, slug, or name
|
|
18630
18637
|
*/
|
|
18631
18638
|
mentor?: string,
|
|
18639
|
+
/**
|
|
18640
|
+
* Case-insensitive search across the session title and the content of its chat messages (both human and AI).
|
|
18641
|
+
*/
|
|
18642
|
+
search?: string,
|
|
18632
18643
|
}): CancelablePromise<Array<SessionSummary>> {
|
|
18633
18644
|
return __request(OpenAPI, {
|
|
18634
18645
|
method: 'GET',
|
|
@@ -18639,6 +18650,7 @@ export class AiMentorService {
|
|
|
18639
18650
|
},
|
|
18640
18651
|
query: {
|
|
18641
18652
|
'mentor': mentor,
|
|
18653
|
+
'search': search,
|
|
18642
18654
|
},
|
|
18643
18655
|
});
|
|
18644
18656
|
}
|