@iblai/iblai-api 2025.11.6-teams-bot-renovation-ai → 2025.11.6-teams-bot-renovation-2-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 +34 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +34 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +34 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/models/FileUploadURLRequest.d.ts +21 -0
- package/dist/types/models/FileUploadURLResponse.d.ts +25 -0
- package/dist/types/models/Mentor.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +1 -0
- package/dist/types/models/MentorSettings.d.ts +1 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +1 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +1 -0
- package/dist/types/services/AiMentorService.d.ts +35 -6
- package/package.json +1 -1
- package/sdk_schema.yml +163 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -0
- package/src/models/FileUploadURLRequest.ts +26 -0
- package/src/models/FileUploadURLResponse.ts +30 -0
- package/src/models/Mentor.ts +4 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +1 -0
- package/src/models/MentorSettings.ts +1 -0
- package/src/models/MentorSettingsPublic.ts +1 -0
- package/src/models/MentorSettingsRequest.ts +1 -0
- package/src/services/AiMentorService.ts +63 -0
|
@@ -30,6 +30,8 @@ import type { ElevenlabsCustomVoice } from '../models/ElevenlabsCustomVoice';
|
|
|
30
30
|
import type { ElevenlabsCustomVoiceResponse } from '../models/ElevenlabsCustomVoiceResponse';
|
|
31
31
|
import type { EmailPromptDetail } from '../models/EmailPromptDetail';
|
|
32
32
|
import type { EmailPromptSummary } from '../models/EmailPromptSummary';
|
|
33
|
+
import type { FileUploadURLRequest } from '../models/FileUploadURLRequest';
|
|
34
|
+
import type { FileUploadURLResponse } from '../models/FileUploadURLResponse';
|
|
33
35
|
import type { FreeUsageCount } from '../models/FreeUsageCount';
|
|
34
36
|
import type { FullCourse } from '../models/FullCourse';
|
|
35
37
|
import type { HumanSupportTicket } from '../models/HumanSupportTicket';
|
|
@@ -911,6 +913,7 @@ export class AiMentorService {
|
|
|
911
913
|
userId,
|
|
912
914
|
departmentId,
|
|
913
915
|
filterBy,
|
|
916
|
+
isFeatured,
|
|
914
917
|
metadataKey,
|
|
915
918
|
metadataValue,
|
|
916
919
|
page,
|
|
@@ -928,6 +931,10 @@ export class AiMentorService {
|
|
|
928
931
|
* Filter options include, date, name, default is date
|
|
929
932
|
*/
|
|
930
933
|
filterBy?: string,
|
|
934
|
+
/**
|
|
935
|
+
* Whether the mentor is featured or not
|
|
936
|
+
*/
|
|
937
|
+
isFeatured?: boolean,
|
|
931
938
|
/**
|
|
932
939
|
* Metadata key to be queried with
|
|
933
940
|
*/
|
|
@@ -963,6 +970,7 @@ export class AiMentorService {
|
|
|
963
970
|
query: {
|
|
964
971
|
'department_id': departmentId,
|
|
965
972
|
'filter_by': filterBy,
|
|
973
|
+
'is_featured': isFeatured,
|
|
966
974
|
'metadata_key': metadataKey,
|
|
967
975
|
'metadata_value': metadataValue,
|
|
968
976
|
'page': page,
|
|
@@ -988,6 +996,7 @@ export class AiMentorService {
|
|
|
988
996
|
requestBody,
|
|
989
997
|
departmentId,
|
|
990
998
|
filterBy,
|
|
999
|
+
isFeatured,
|
|
991
1000
|
metadataKey,
|
|
992
1001
|
metadataValue,
|
|
993
1002
|
returnSessionInformation,
|
|
@@ -1004,6 +1013,10 @@ export class AiMentorService {
|
|
|
1004
1013
|
* Filter options include, date, name, default is date
|
|
1005
1014
|
*/
|
|
1006
1015
|
filterBy?: string,
|
|
1016
|
+
/**
|
|
1017
|
+
* Whether the mentor is featured or not
|
|
1018
|
+
*/
|
|
1019
|
+
isFeatured?: boolean,
|
|
1007
1020
|
/**
|
|
1008
1021
|
* Metadata key to be queried with
|
|
1009
1022
|
*/
|
|
@@ -1031,6 +1044,7 @@ export class AiMentorService {
|
|
|
1031
1044
|
query: {
|
|
1032
1045
|
'department_id': departmentId,
|
|
1033
1046
|
'filter_by': filterBy,
|
|
1047
|
+
'is_featured': isFeatured,
|
|
1034
1048
|
'metadata_key': metadataKey,
|
|
1035
1049
|
'metadata_value': metadataValue,
|
|
1036
1050
|
'return_session_information': returnSessionInformation,
|
|
@@ -1056,6 +1070,7 @@ export class AiMentorService {
|
|
|
1056
1070
|
userId,
|
|
1057
1071
|
departmentId,
|
|
1058
1072
|
filterBy,
|
|
1073
|
+
isFeatured,
|
|
1059
1074
|
metadataKey,
|
|
1060
1075
|
metadataValue,
|
|
1061
1076
|
returnSessionInformation,
|
|
@@ -1072,6 +1087,10 @@ export class AiMentorService {
|
|
|
1072
1087
|
* Filter options include, date, name, default is date
|
|
1073
1088
|
*/
|
|
1074
1089
|
filterBy?: string,
|
|
1090
|
+
/**
|
|
1091
|
+
* Whether the mentor is featured or not
|
|
1092
|
+
*/
|
|
1093
|
+
isFeatured?: boolean,
|
|
1075
1094
|
/**
|
|
1076
1095
|
* Metadata key to be queried with
|
|
1077
1096
|
*/
|
|
@@ -1100,6 +1119,7 @@ export class AiMentorService {
|
|
|
1100
1119
|
query: {
|
|
1101
1120
|
'department_id': departmentId,
|
|
1102
1121
|
'filter_by': filterBy,
|
|
1122
|
+
'is_featured': isFeatured,
|
|
1103
1123
|
'metadata_key': metadataKey,
|
|
1104
1124
|
'metadata_value': metadataValue,
|
|
1105
1125
|
'return_session_information': returnSessionInformation,
|
|
@@ -1119,6 +1139,7 @@ export class AiMentorService {
|
|
|
1119
1139
|
requestBody,
|
|
1120
1140
|
departmentId,
|
|
1121
1141
|
filterBy,
|
|
1142
|
+
isFeatured,
|
|
1122
1143
|
metadataKey,
|
|
1123
1144
|
metadataValue,
|
|
1124
1145
|
returnSessionInformation,
|
|
@@ -1136,6 +1157,10 @@ export class AiMentorService {
|
|
|
1136
1157
|
* Filter options include, date, name, default is date
|
|
1137
1158
|
*/
|
|
1138
1159
|
filterBy?: string,
|
|
1160
|
+
/**
|
|
1161
|
+
* Whether the mentor is featured or not
|
|
1162
|
+
*/
|
|
1163
|
+
isFeatured?: boolean,
|
|
1139
1164
|
/**
|
|
1140
1165
|
* Metadata key to be queried with
|
|
1141
1166
|
*/
|
|
@@ -1164,6 +1189,7 @@ export class AiMentorService {
|
|
|
1164
1189
|
query: {
|
|
1165
1190
|
'department_id': departmentId,
|
|
1166
1191
|
'filter_by': filterBy,
|
|
1192
|
+
'is_featured': isFeatured,
|
|
1167
1193
|
'metadata_key': metadataKey,
|
|
1168
1194
|
'metadata_value': metadataValue,
|
|
1169
1195
|
'return_session_information': returnSessionInformation,
|
|
@@ -1189,6 +1215,7 @@ export class AiMentorService {
|
|
|
1189
1215
|
userId,
|
|
1190
1216
|
departmentId,
|
|
1191
1217
|
filterBy,
|
|
1218
|
+
isFeatured,
|
|
1192
1219
|
metadataKey,
|
|
1193
1220
|
metadataValue,
|
|
1194
1221
|
returnSessionInformation,
|
|
@@ -1206,6 +1233,10 @@ export class AiMentorService {
|
|
|
1206
1233
|
* Filter options include, date, name, default is date
|
|
1207
1234
|
*/
|
|
1208
1235
|
filterBy?: string,
|
|
1236
|
+
/**
|
|
1237
|
+
* Whether the mentor is featured or not
|
|
1238
|
+
*/
|
|
1239
|
+
isFeatured?: boolean,
|
|
1209
1240
|
/**
|
|
1210
1241
|
* Metadata key to be queried with
|
|
1211
1242
|
*/
|
|
@@ -1235,6 +1266,7 @@ export class AiMentorService {
|
|
|
1235
1266
|
query: {
|
|
1236
1267
|
'department_id': departmentId,
|
|
1237
1268
|
'filter_by': filterBy,
|
|
1269
|
+
'is_featured': isFeatured,
|
|
1238
1270
|
'metadata_key': metadataKey,
|
|
1239
1271
|
'metadata_value': metadataValue,
|
|
1240
1272
|
'return_session_information': returnSessionInformation,
|
|
@@ -1255,6 +1287,7 @@ export class AiMentorService {
|
|
|
1255
1287
|
userId,
|
|
1256
1288
|
departmentId,
|
|
1257
1289
|
filterBy,
|
|
1290
|
+
isFeatured,
|
|
1258
1291
|
metadataKey,
|
|
1259
1292
|
metadataValue,
|
|
1260
1293
|
returnSessionInformation,
|
|
@@ -1271,6 +1304,10 @@ export class AiMentorService {
|
|
|
1271
1304
|
* Filter options include, date, name, default is date
|
|
1272
1305
|
*/
|
|
1273
1306
|
filterBy?: string,
|
|
1307
|
+
/**
|
|
1308
|
+
* Whether the mentor is featured or not
|
|
1309
|
+
*/
|
|
1310
|
+
isFeatured?: boolean,
|
|
1274
1311
|
/**
|
|
1275
1312
|
* Metadata key to be queried with
|
|
1276
1313
|
*/
|
|
@@ -1299,6 +1336,7 @@ export class AiMentorService {
|
|
|
1299
1336
|
query: {
|
|
1300
1337
|
'department_id': departmentId,
|
|
1301
1338
|
'filter_by': filterBy,
|
|
1339
|
+
'is_featured': isFeatured,
|
|
1302
1340
|
'metadata_key': metadataKey,
|
|
1303
1341
|
'metadata_value': metadataValue,
|
|
1304
1342
|
'return_session_information': returnSessionInformation,
|
|
@@ -2389,6 +2427,31 @@ export class AiMentorService {
|
|
|
2389
2427
|
},
|
|
2390
2428
|
});
|
|
2391
2429
|
}
|
|
2430
|
+
/**
|
|
2431
|
+
* Generate presigned S3 upload URL for chat file
|
|
2432
|
+
* @returns FileUploadURLResponse
|
|
2433
|
+
* @throws ApiError
|
|
2434
|
+
*/
|
|
2435
|
+
public static aiMentorOrgsUsersChatFilesUploadUrlCreate({
|
|
2436
|
+
org,
|
|
2437
|
+
userId,
|
|
2438
|
+
requestBody,
|
|
2439
|
+
}: {
|
|
2440
|
+
org: string,
|
|
2441
|
+
userId: string,
|
|
2442
|
+
requestBody: FileUploadURLRequest,
|
|
2443
|
+
}): CancelablePromise<FileUploadURLResponse> {
|
|
2444
|
+
return __request(OpenAPI, {
|
|
2445
|
+
method: 'POST',
|
|
2446
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/chat/files/upload-url/',
|
|
2447
|
+
path: {
|
|
2448
|
+
'org': org,
|
|
2449
|
+
'user_id': userId,
|
|
2450
|
+
},
|
|
2451
|
+
body: requestBody,
|
|
2452
|
+
mediaType: 'application/json',
|
|
2453
|
+
});
|
|
2454
|
+
}
|
|
2392
2455
|
/**
|
|
2393
2456
|
* Retrieve and clean up vector results from a specific session.
|
|
2394
2457
|
*
|