@iblai/iblai-api 2025.11.4-teams-bot-renovation-ai → 2025.11.5-teams-bot-renovation-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 +274 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +275 -34
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +274 -33
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +7 -0
- package/dist/types/models/AuthTypeEnum.d.ts +10 -0
- package/dist/types/models/CallConfiguration.d.ts +3 -3
- package/dist/types/models/MCPServer.d.ts +26 -0
- package/dist/types/models/ModerationLog.d.ts +1 -0
- package/dist/types/models/NotificationTemplateDetail.d.ts +17 -0
- package/dist/types/models/PaginatedVeoVideoListList.d.ts +7 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +1 -1
- package/dist/types/models/PatchedMCPServer.d.ts +26 -0
- package/dist/types/models/PatchedNotificationTemplateDetail.d.ts +17 -0
- package/dist/types/models/PatchedRbacGroup.d.ts +4 -0
- package/dist/types/models/PatchedRbacPolicy.d.ts +4 -0
- package/dist/types/models/PatchedRbacRole.d.ts +4 -0
- package/dist/types/models/PeriodicFrequencyEnum.d.ts +12 -0
- package/dist/types/models/PeriodicLearnerScopeEnum.d.ts +8 -0
- package/dist/types/models/RbacGroup.d.ts +4 -0
- package/dist/types/models/RbacPolicy.d.ts +4 -0
- package/dist/types/models/RbacRole.d.ts +4 -0
- package/dist/types/models/RbacUser.d.ts +4 -0
- package/dist/types/models/VeoVideoDetail.d.ts +10 -0
- package/dist/types/models/VeoVideoList.d.ts +6 -0
- package/dist/types/models/VeoVideoRequest.d.ts +5 -0
- package/dist/types/services/AiMediaService.d.ts +57 -0
- package/dist/types/services/AiMentorService.d.ts +34 -17
- package/dist/types/services/AiSearchService.d.ts +36 -3
- package/dist/types/services/CoreService.d.ts +51 -11
- package/package.json +1 -1
- package/sdk_schema.yml +737 -58
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +7 -0
- package/src/models/AuthTypeEnum.ts +14 -0
- package/src/models/CallConfiguration.ts +3 -3
- package/src/models/MCPServer.ts +26 -0
- package/src/models/ModerationLog.ts +1 -0
- package/src/models/NotificationTemplateDetail.ts +17 -0
- package/src/models/PaginatedVeoVideoListList.ts +12 -0
- package/src/models/PatchedCallConfiguration.ts +1 -1
- package/src/models/PatchedMCPServer.ts +26 -0
- package/src/models/PatchedNotificationTemplateDetail.ts +17 -0
- package/src/models/PatchedRbacGroup.ts +4 -0
- package/src/models/PatchedRbacPolicy.ts +4 -0
- package/src/models/PatchedRbacRole.ts +4 -0
- package/src/models/PeriodicFrequencyEnum.ts +16 -0
- package/src/models/PeriodicLearnerScopeEnum.ts +12 -0
- package/src/models/RbacGroup.ts +4 -0
- package/src/models/RbacPolicy.ts +4 -0
- package/src/models/RbacRole.ts +4 -0
- package/src/models/RbacUser.ts +4 -0
- package/src/models/VeoVideoDetail.ts +15 -0
- package/src/models/VeoVideoList.ts +11 -0
- package/src/models/VeoVideoRequest.ts +10 -0
- package/src/services/AiMediaService.ts +136 -0
- package/src/services/AiMentorService.ts +51 -18
- package/src/services/AiSearchService.ts +45 -4
- package/src/services/CoreService.ts +92 -8
|
@@ -1939,7 +1939,7 @@ export class AiMentorService {
|
|
|
1939
1939
|
}: {
|
|
1940
1940
|
org: string,
|
|
1941
1941
|
userId: string,
|
|
1942
|
-
mentor?:
|
|
1942
|
+
mentor?: string,
|
|
1943
1943
|
/**
|
|
1944
1944
|
* * `realtime` - Realtime
|
|
1945
1945
|
* * `inference` - Inference
|
|
@@ -6299,13 +6299,26 @@ export class AiMentorService {
|
|
|
6299
6299
|
public static aiMentorOrgsUsersMcpServersList({
|
|
6300
6300
|
org,
|
|
6301
6301
|
userId,
|
|
6302
|
+
authType,
|
|
6303
|
+
isEnabled,
|
|
6304
|
+
isFeatured,
|
|
6302
6305
|
page,
|
|
6303
6306
|
pageSize,
|
|
6304
|
-
platform,
|
|
6305
6307
|
search,
|
|
6308
|
+
transport,
|
|
6306
6309
|
}: {
|
|
6307
6310
|
org: string,
|
|
6308
6311
|
userId: string,
|
|
6312
|
+
/**
|
|
6313
|
+
* The type of authentication to use for the MCP server.
|
|
6314
|
+
*
|
|
6315
|
+
* * `none` - None
|
|
6316
|
+
* * `token` - Token
|
|
6317
|
+
* * `oauth2` - Oauth2
|
|
6318
|
+
*/
|
|
6319
|
+
authType?: 'none' | 'oauth2' | 'token',
|
|
6320
|
+
isEnabled?: boolean,
|
|
6321
|
+
isFeatured?: boolean,
|
|
6309
6322
|
/**
|
|
6310
6323
|
* A page number within the paginated result set.
|
|
6311
6324
|
*/
|
|
@@ -6314,11 +6327,16 @@ export class AiMentorService {
|
|
|
6314
6327
|
* Number of results to return per page.
|
|
6315
6328
|
*/
|
|
6316
6329
|
pageSize?: number,
|
|
6317
|
-
platform?: number,
|
|
6318
6330
|
/**
|
|
6319
6331
|
* A search term.
|
|
6320
6332
|
*/
|
|
6321
6333
|
search?: string,
|
|
6334
|
+
/**
|
|
6335
|
+
* * `sse` - Sse
|
|
6336
|
+
* * `websocket` - Websocket
|
|
6337
|
+
* * `streamable_http` - Streamable Http
|
|
6338
|
+
*/
|
|
6339
|
+
transport?: 'sse' | 'streamable_http' | 'websocket',
|
|
6322
6340
|
}): CancelablePromise<PaginatedMCPServerList> {
|
|
6323
6341
|
return __request(OpenAPI, {
|
|
6324
6342
|
method: 'GET',
|
|
@@ -6328,10 +6346,13 @@ export class AiMentorService {
|
|
|
6328
6346
|
'user_id': userId,
|
|
6329
6347
|
},
|
|
6330
6348
|
query: {
|
|
6349
|
+
'auth_type': authType,
|
|
6350
|
+
'is_enabled': isEnabled,
|
|
6351
|
+
'is_featured': isFeatured,
|
|
6331
6352
|
'page': page,
|
|
6332
6353
|
'page_size': pageSize,
|
|
6333
|
-
'platform': platform,
|
|
6334
6354
|
'search': search,
|
|
6355
|
+
'transport': transport,
|
|
6335
6356
|
},
|
|
6336
6357
|
});
|
|
6337
6358
|
}
|
|
@@ -6348,11 +6369,11 @@ export class AiMentorService {
|
|
|
6348
6369
|
public static aiMentorOrgsUsersMcpServersCreate({
|
|
6349
6370
|
org,
|
|
6350
6371
|
userId,
|
|
6351
|
-
|
|
6372
|
+
formData,
|
|
6352
6373
|
}: {
|
|
6353
6374
|
org: string,
|
|
6354
6375
|
userId: string,
|
|
6355
|
-
|
|
6376
|
+
formData: MCPServer,
|
|
6356
6377
|
}): CancelablePromise<MCPServer> {
|
|
6357
6378
|
return __request(OpenAPI, {
|
|
6358
6379
|
method: 'POST',
|
|
@@ -6361,8 +6382,8 @@ export class AiMentorService {
|
|
|
6361
6382
|
'org': org,
|
|
6362
6383
|
'user_id': userId,
|
|
6363
6384
|
},
|
|
6364
|
-
|
|
6365
|
-
mediaType: '
|
|
6385
|
+
formData: formData,
|
|
6386
|
+
mediaType: 'multipart/form-data',
|
|
6366
6387
|
});
|
|
6367
6388
|
}
|
|
6368
6389
|
/**
|
|
@@ -6411,7 +6432,7 @@ export class AiMentorService {
|
|
|
6411
6432
|
id,
|
|
6412
6433
|
org,
|
|
6413
6434
|
userId,
|
|
6414
|
-
|
|
6435
|
+
formData,
|
|
6415
6436
|
}: {
|
|
6416
6437
|
/**
|
|
6417
6438
|
* A unique integer value identifying this mcp server.
|
|
@@ -6419,7 +6440,7 @@ export class AiMentorService {
|
|
|
6419
6440
|
id: number,
|
|
6420
6441
|
org: string,
|
|
6421
6442
|
userId: string,
|
|
6422
|
-
|
|
6443
|
+
formData: MCPServer,
|
|
6423
6444
|
}): CancelablePromise<MCPServer> {
|
|
6424
6445
|
return __request(OpenAPI, {
|
|
6425
6446
|
method: 'PUT',
|
|
@@ -6429,8 +6450,8 @@ export class AiMentorService {
|
|
|
6429
6450
|
'org': org,
|
|
6430
6451
|
'user_id': userId,
|
|
6431
6452
|
},
|
|
6432
|
-
|
|
6433
|
-
mediaType: '
|
|
6453
|
+
formData: formData,
|
|
6454
|
+
mediaType: 'multipart/form-data',
|
|
6434
6455
|
});
|
|
6435
6456
|
}
|
|
6436
6457
|
/**
|
|
@@ -6447,7 +6468,7 @@ export class AiMentorService {
|
|
|
6447
6468
|
id,
|
|
6448
6469
|
org,
|
|
6449
6470
|
userId,
|
|
6450
|
-
|
|
6471
|
+
formData,
|
|
6451
6472
|
}: {
|
|
6452
6473
|
/**
|
|
6453
6474
|
* A unique integer value identifying this mcp server.
|
|
@@ -6455,7 +6476,7 @@ export class AiMentorService {
|
|
|
6455
6476
|
id: number,
|
|
6456
6477
|
org: string,
|
|
6457
6478
|
userId: string,
|
|
6458
|
-
|
|
6479
|
+
formData?: PatchedMCPServer,
|
|
6459
6480
|
}): CancelablePromise<MCPServer> {
|
|
6460
6481
|
return __request(OpenAPI, {
|
|
6461
6482
|
method: 'PATCH',
|
|
@@ -6465,8 +6486,8 @@ export class AiMentorService {
|
|
|
6465
6486
|
'org': org,
|
|
6466
6487
|
'user_id': userId,
|
|
6467
6488
|
},
|
|
6468
|
-
|
|
6469
|
-
mediaType: '
|
|
6489
|
+
formData: formData,
|
|
6490
|
+
mediaType: 'multipart/form-data',
|
|
6470
6491
|
});
|
|
6471
6492
|
}
|
|
6472
6493
|
/**
|
|
@@ -8749,18 +8770,21 @@ export class AiMentorService {
|
|
|
8749
8770
|
public static aiMentorOrgsUsersModerationLogsList({
|
|
8750
8771
|
org,
|
|
8751
8772
|
userId,
|
|
8773
|
+
endTime,
|
|
8752
8774
|
mentor,
|
|
8753
8775
|
ordering,
|
|
8754
8776
|
page,
|
|
8755
8777
|
pageSize,
|
|
8756
8778
|
platformKey,
|
|
8757
8779
|
search,
|
|
8780
|
+
startTime,
|
|
8758
8781
|
targetSystem,
|
|
8759
8782
|
username,
|
|
8760
8783
|
}: {
|
|
8761
8784
|
org: string,
|
|
8762
8785
|
userId: string,
|
|
8763
|
-
|
|
8786
|
+
endTime?: string,
|
|
8787
|
+
mentor?: string,
|
|
8764
8788
|
/**
|
|
8765
8789
|
* Which field to use when ordering the results.
|
|
8766
8790
|
*/
|
|
@@ -8778,6 +8802,7 @@ export class AiMentorService {
|
|
|
8778
8802
|
* A search term.
|
|
8779
8803
|
*/
|
|
8780
8804
|
search?: string,
|
|
8805
|
+
startTime?: string,
|
|
8781
8806
|
/**
|
|
8782
8807
|
* * `Safety System` - Safety System
|
|
8783
8808
|
* * `Moderation System` - Moderation System
|
|
@@ -8793,12 +8818,14 @@ export class AiMentorService {
|
|
|
8793
8818
|
'user_id': userId,
|
|
8794
8819
|
},
|
|
8795
8820
|
query: {
|
|
8821
|
+
'end_time': endTime,
|
|
8796
8822
|
'mentor': mentor,
|
|
8797
8823
|
'ordering': ordering,
|
|
8798
8824
|
'page': page,
|
|
8799
8825
|
'page_size': pageSize,
|
|
8800
8826
|
'platform_key': platformKey,
|
|
8801
8827
|
'search': search,
|
|
8828
|
+
'start_time': startTime,
|
|
8802
8829
|
'target_system': targetSystem,
|
|
8803
8830
|
'username': username,
|
|
8804
8831
|
},
|
|
@@ -10542,18 +10569,21 @@ export class AiMentorService {
|
|
|
10542
10569
|
public static aiMentorOrgsUsersSafetyLogsList({
|
|
10543
10570
|
org,
|
|
10544
10571
|
userId,
|
|
10572
|
+
endTime,
|
|
10545
10573
|
mentor,
|
|
10546
10574
|
ordering,
|
|
10547
10575
|
page,
|
|
10548
10576
|
pageSize,
|
|
10549
10577
|
platformKey,
|
|
10550
10578
|
search,
|
|
10579
|
+
startTime,
|
|
10551
10580
|
targetSystem,
|
|
10552
10581
|
username,
|
|
10553
10582
|
}: {
|
|
10554
10583
|
org: string,
|
|
10555
10584
|
userId: string,
|
|
10556
|
-
|
|
10585
|
+
endTime?: string,
|
|
10586
|
+
mentor?: string,
|
|
10557
10587
|
/**
|
|
10558
10588
|
* Which field to use when ordering the results.
|
|
10559
10589
|
*/
|
|
@@ -10571,6 +10601,7 @@ export class AiMentorService {
|
|
|
10571
10601
|
* A search term.
|
|
10572
10602
|
*/
|
|
10573
10603
|
search?: string,
|
|
10604
|
+
startTime?: string,
|
|
10574
10605
|
/**
|
|
10575
10606
|
* * `Safety System` - Safety System
|
|
10576
10607
|
* * `Moderation System` - Moderation System
|
|
@@ -10586,12 +10617,14 @@ export class AiMentorService {
|
|
|
10586
10617
|
'user_id': userId,
|
|
10587
10618
|
},
|
|
10588
10619
|
query: {
|
|
10620
|
+
'end_time': endTime,
|
|
10589
10621
|
'mentor': mentor,
|
|
10590
10622
|
'ordering': ordering,
|
|
10591
10623
|
'page': page,
|
|
10592
10624
|
'page_size': pageSize,
|
|
10593
10625
|
'platform_key': platformKey,
|
|
10594
10626
|
'search': search,
|
|
10627
|
+
'start_time': startTime,
|
|
10595
10628
|
'target_system': targetSystem,
|
|
10596
10629
|
'username': username,
|
|
10597
10630
|
},
|
|
@@ -15,7 +15,7 @@ export class AiSearchService {
|
|
|
15
15
|
/**
|
|
16
16
|
* Search and filter AI mentors across the platform
|
|
17
17
|
*
|
|
18
|
-
* Search and filter AI mentors with support for filtering, pagination, and detailed mentor information.
|
|
18
|
+
* Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
|
|
19
19
|
* This endpoint supports both anonymous and authenticated users with different access levels.
|
|
20
20
|
*
|
|
21
21
|
* **Anonymous Users:**
|
|
@@ -28,10 +28,27 @@ export class AiSearchService {
|
|
|
28
28
|
* - Personalized results
|
|
29
29
|
* - Access to tenant-specific mentors
|
|
30
30
|
*
|
|
31
|
+
* **Available Filters:**
|
|
32
|
+
* - `query`: Search term to filter mentors by name or description
|
|
33
|
+
* - `tenant`: Filter by tenant/organization platform key(s)
|
|
34
|
+
* - `category`: Filter by mentor category (comma-separated)
|
|
35
|
+
* - `subjects`: Filter by mentor subject (comma-separated)
|
|
36
|
+
* - `types`: Filter by mentor type (comma-separated)
|
|
37
|
+
* - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
|
|
38
|
+
* - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
|
|
39
|
+
* - `created_by`: Filter mentors created by specific user (for personalized search)
|
|
40
|
+
* - `include_main_public_mentors`: Include main tenant public mentors
|
|
41
|
+
*
|
|
42
|
+
* **Facets:**
|
|
43
|
+
* The response includes facets with aggregated counts for all filterable attributes:
|
|
44
|
+
* - categories, subjects, types, llm_providers, visibility
|
|
45
|
+
* All facet values can be used as filter parameters in subsequent requests.
|
|
46
|
+
*
|
|
31
47
|
* Notes:
|
|
32
48
|
* - Detail view is removed; use the ibl_ai_mentor app for mentor details
|
|
33
49
|
* - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
|
|
34
50
|
* - For authenticated requests, platform_key is required when username is provided
|
|
51
|
+
* - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
|
|
35
52
|
*
|
|
36
53
|
* @returns V2GlobalMentorSearchResponse
|
|
37
54
|
* @throws ApiError
|
|
@@ -39,12 +56,16 @@ export class AiSearchService {
|
|
|
39
56
|
public static v2GlobalMentorSearch({
|
|
40
57
|
platformKey,
|
|
41
58
|
category,
|
|
59
|
+
createdBy,
|
|
42
60
|
includeMainPublicMentors = false,
|
|
43
61
|
limit,
|
|
44
|
-
|
|
62
|
+
llm,
|
|
45
63
|
offset,
|
|
46
64
|
query,
|
|
65
|
+
subjects,
|
|
47
66
|
tenant,
|
|
67
|
+
types,
|
|
68
|
+
visibility,
|
|
48
69
|
}: {
|
|
49
70
|
/**
|
|
50
71
|
* Platform key for RBAC enforcement
|
|
@@ -54,6 +75,10 @@ export class AiSearchService {
|
|
|
54
75
|
* Mentor category filter
|
|
55
76
|
*/
|
|
56
77
|
category?: string,
|
|
78
|
+
/**
|
|
79
|
+
* Filter mentors created by specific user (for personalized search)
|
|
80
|
+
*/
|
|
81
|
+
createdBy?: string,
|
|
57
82
|
/**
|
|
58
83
|
* Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
|
|
59
84
|
*/
|
|
@@ -65,7 +90,7 @@ export class AiSearchService {
|
|
|
65
90
|
/**
|
|
66
91
|
* LLM provider filter
|
|
67
92
|
*/
|
|
68
|
-
|
|
93
|
+
llm?: string,
|
|
69
94
|
/**
|
|
70
95
|
* Number of results to skip
|
|
71
96
|
*/
|
|
@@ -74,23 +99,39 @@ export class AiSearchService {
|
|
|
74
99
|
* Search query for mentors
|
|
75
100
|
*/
|
|
76
101
|
query?: string,
|
|
102
|
+
/**
|
|
103
|
+
* Mentor subject filter
|
|
104
|
+
*/
|
|
105
|
+
subjects?: string,
|
|
77
106
|
/**
|
|
78
107
|
* Tenant key(s) (CSV)
|
|
79
108
|
*/
|
|
80
109
|
tenant?: string,
|
|
110
|
+
/**
|
|
111
|
+
* Mentor type filter
|
|
112
|
+
*/
|
|
113
|
+
types?: string,
|
|
114
|
+
/**
|
|
115
|
+
* Mentor visibility filter (viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
|
|
116
|
+
*/
|
|
117
|
+
visibility?: string,
|
|
81
118
|
}): CancelablePromise<V2GlobalMentorSearchResponse> {
|
|
82
119
|
return __request(OpenAPI, {
|
|
83
120
|
method: 'GET',
|
|
84
121
|
url: '/api/ai-search/mentors/',
|
|
85
122
|
query: {
|
|
86
123
|
'category': category,
|
|
124
|
+
'created_by': createdBy,
|
|
87
125
|
'include_main_public_mentors': includeMainPublicMentors,
|
|
88
126
|
'limit': limit,
|
|
89
|
-
'
|
|
127
|
+
'llm': llm,
|
|
90
128
|
'offset': offset,
|
|
91
129
|
'platform_key': platformKey,
|
|
92
130
|
'query': query,
|
|
131
|
+
'subjects': subjects,
|
|
93
132
|
'tenant': tenant,
|
|
133
|
+
'types': types,
|
|
134
|
+
'visibility': visibility,
|
|
94
135
|
},
|
|
95
136
|
errors: {
|
|
96
137
|
400: `Bad request - invalid parameters`,
|