@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.
Files changed (61) hide show
  1. package/dist/index.cjs.js +274 -33
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +275 -34
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +274 -33
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +7 -0
  8. package/dist/types/models/AuthTypeEnum.d.ts +10 -0
  9. package/dist/types/models/CallConfiguration.d.ts +3 -3
  10. package/dist/types/models/MCPServer.d.ts +26 -0
  11. package/dist/types/models/ModerationLog.d.ts +1 -0
  12. package/dist/types/models/NotificationTemplateDetail.d.ts +17 -0
  13. package/dist/types/models/PaginatedVeoVideoListList.d.ts +7 -0
  14. package/dist/types/models/PatchedCallConfiguration.d.ts +1 -1
  15. package/dist/types/models/PatchedMCPServer.d.ts +26 -0
  16. package/dist/types/models/PatchedNotificationTemplateDetail.d.ts +17 -0
  17. package/dist/types/models/PatchedRbacGroup.d.ts +4 -0
  18. package/dist/types/models/PatchedRbacPolicy.d.ts +4 -0
  19. package/dist/types/models/PatchedRbacRole.d.ts +4 -0
  20. package/dist/types/models/PeriodicFrequencyEnum.d.ts +12 -0
  21. package/dist/types/models/PeriodicLearnerScopeEnum.d.ts +8 -0
  22. package/dist/types/models/RbacGroup.d.ts +4 -0
  23. package/dist/types/models/RbacPolicy.d.ts +4 -0
  24. package/dist/types/models/RbacRole.d.ts +4 -0
  25. package/dist/types/models/RbacUser.d.ts +4 -0
  26. package/dist/types/models/VeoVideoDetail.d.ts +10 -0
  27. package/dist/types/models/VeoVideoList.d.ts +6 -0
  28. package/dist/types/models/VeoVideoRequest.d.ts +5 -0
  29. package/dist/types/services/AiMediaService.d.ts +57 -0
  30. package/dist/types/services/AiMentorService.d.ts +34 -17
  31. package/dist/types/services/AiSearchService.d.ts +36 -3
  32. package/dist/types/services/CoreService.d.ts +51 -11
  33. package/package.json +1 -1
  34. package/sdk_schema.yml +737 -58
  35. package/src/core/OpenAPI.ts +1 -1
  36. package/src/index.ts +7 -0
  37. package/src/models/AuthTypeEnum.ts +14 -0
  38. package/src/models/CallConfiguration.ts +3 -3
  39. package/src/models/MCPServer.ts +26 -0
  40. package/src/models/ModerationLog.ts +1 -0
  41. package/src/models/NotificationTemplateDetail.ts +17 -0
  42. package/src/models/PaginatedVeoVideoListList.ts +12 -0
  43. package/src/models/PatchedCallConfiguration.ts +1 -1
  44. package/src/models/PatchedMCPServer.ts +26 -0
  45. package/src/models/PatchedNotificationTemplateDetail.ts +17 -0
  46. package/src/models/PatchedRbacGroup.ts +4 -0
  47. package/src/models/PatchedRbacPolicy.ts +4 -0
  48. package/src/models/PatchedRbacRole.ts +4 -0
  49. package/src/models/PeriodicFrequencyEnum.ts +16 -0
  50. package/src/models/PeriodicLearnerScopeEnum.ts +12 -0
  51. package/src/models/RbacGroup.ts +4 -0
  52. package/src/models/RbacPolicy.ts +4 -0
  53. package/src/models/RbacRole.ts +4 -0
  54. package/src/models/RbacUser.ts +4 -0
  55. package/src/models/VeoVideoDetail.ts +15 -0
  56. package/src/models/VeoVideoList.ts +11 -0
  57. package/src/models/VeoVideoRequest.ts +10 -0
  58. package/src/services/AiMediaService.ts +136 -0
  59. package/src/services/AiMentorService.ts +51 -18
  60. package/src/services/AiSearchService.ts +45 -4
  61. package/src/services/CoreService.ts +92 -8
@@ -1061,7 +1061,7 @@ export declare class AiMentorService {
1061
1061
  */
1062
1062
  static aiMentorOrgsUsersCallConfigurationsList({ org, userId, mentor, mode, ordering, search, }: {
1063
1063
  org: string;
1064
- mentor?: number; /**
1064
+ mentor?: string; /**
1065
1065
  * * `realtime` - Realtime
1066
1066
  * * `inference` - Inference
1067
1067
  */
@@ -3529,18 +3529,31 @@ export declare class AiMentorService {
3529
3529
  * @returns PaginatedMCPServerList
3530
3530
  * @throws ApiError
3531
3531
  */
3532
- static aiMentorOrgsUsersMcpServersList({ org, userId, page, pageSize, platform, search, }: {
3532
+ static aiMentorOrgsUsersMcpServersList({ org, userId, authType, isEnabled, isFeatured, page, pageSize, search, transport, }: {
3533
3533
  org: string; /**
3534
+ * The type of authentication to use for the MCP server.
3535
+ *
3536
+ * * `none` - None
3537
+ * * `token` - Token
3538
+ * * `oauth2` - Oauth2
3539
+ */
3540
+ authType?: 'none' | 'oauth2' | 'token';
3541
+ isEnabled?: boolean;
3542
+ isFeatured?: boolean; /**
3534
3543
  * A page number within the paginated result set.
3535
3544
  */
3536
3545
  page?: number; /**
3537
3546
  * Number of results to return per page.
3538
3547
  */
3539
- pageSize?: number;
3540
- platform?: number; /**
3548
+ pageSize?: number; /**
3541
3549
  * A search term.
3542
3550
  */
3543
- search?: string;
3551
+ search?: string; /**
3552
+ * * `sse` - Sse
3553
+ * * `websocket` - Websocket
3554
+ * * `streamable_http` - Streamable Http
3555
+ */
3556
+ transport?: 'sse' | 'streamable_http' | 'websocket';
3544
3557
  }): CancelablePromise<PaginatedMCPServerList>;
3545
3558
  /**
3546
3559
  * ViewSet for MCP Servers.
@@ -3552,9 +3565,9 @@ export declare class AiMentorService {
3552
3565
  * @returns MCPServer
3553
3566
  * @throws ApiError
3554
3567
  */
3555
- static aiMentorOrgsUsersMcpServersCreate({ org, userId, requestBody, }: {
3568
+ static aiMentorOrgsUsersMcpServersCreate({ org, userId, formData, }: {
3556
3569
  org: string;
3557
- requestBody: MCPServer;
3570
+ formData: MCPServer;
3558
3571
  }): CancelablePromise<MCPServer>;
3559
3572
  /**
3560
3573
  * ViewSet for MCP Servers.
@@ -3583,13 +3596,13 @@ export declare class AiMentorService {
3583
3596
  * @returns MCPServer
3584
3597
  * @throws ApiError
3585
3598
  */
3586
- static aiMentorOrgsUsersMcpServersUpdate({ id, org, userId, requestBody, }: {
3599
+ static aiMentorOrgsUsersMcpServersUpdate({ id, org, userId, formData, }: {
3587
3600
  /**
3588
3601
  * A unique integer value identifying this mcp server.
3589
3602
  */
3590
3603
  id: number;
3591
3604
  org: string;
3592
- requestBody: MCPServer;
3605
+ formData: MCPServer;
3593
3606
  }): CancelablePromise<MCPServer>;
3594
3607
  /**
3595
3608
  * ViewSet for MCP Servers.
@@ -3601,13 +3614,13 @@ export declare class AiMentorService {
3601
3614
  * @returns MCPServer
3602
3615
  * @throws ApiError
3603
3616
  */
3604
- static aiMentorOrgsUsersMcpServersPartialUpdate({ id, org, userId, requestBody, }: {
3617
+ static aiMentorOrgsUsersMcpServersPartialUpdate({ id, org, userId, formData, }: {
3605
3618
  /**
3606
3619
  * A unique integer value identifying this mcp server.
3607
3620
  */
3608
3621
  id: number;
3609
3622
  org: string;
3610
- requestBody?: PatchedMCPServer;
3623
+ formData?: PatchedMCPServer;
3611
3624
  }): CancelablePromise<MCPServer>;
3612
3625
  /**
3613
3626
  * ViewSet for MCP Servers.
@@ -4743,9 +4756,10 @@ export declare class AiMentorService {
4743
4756
  * @returns PaginatedModerationLogList
4744
4757
  * @throws ApiError
4745
4758
  */
4746
- static aiMentorOrgsUsersModerationLogsList({ org, userId, mentor, ordering, page, pageSize, platformKey, search, targetSystem, username, }: {
4759
+ static aiMentorOrgsUsersModerationLogsList({ org, userId, endTime, mentor, ordering, page, pageSize, platformKey, search, startTime, targetSystem, username, }: {
4747
4760
  org: string;
4748
- mentor?: number; /**
4761
+ endTime?: string;
4762
+ mentor?: string; /**
4749
4763
  * Which field to use when ordering the results.
4750
4764
  */
4751
4765
  ordering?: string; /**
@@ -4758,7 +4772,8 @@ export declare class AiMentorService {
4758
4772
  platformKey?: string; /**
4759
4773
  * A search term.
4760
4774
  */
4761
- search?: string; /**
4775
+ search?: string;
4776
+ startTime?: string; /**
4762
4777
  * * `Safety System` - Safety System
4763
4778
  * * `Moderation System` - Moderation System
4764
4779
  */
@@ -5797,9 +5812,10 @@ export declare class AiMentorService {
5797
5812
  * @returns PaginatedModerationLogList
5798
5813
  * @throws ApiError
5799
5814
  */
5800
- static aiMentorOrgsUsersSafetyLogsList({ org, userId, mentor, ordering, page, pageSize, platformKey, search, targetSystem, username, }: {
5815
+ static aiMentorOrgsUsersSafetyLogsList({ org, userId, endTime, mentor, ordering, page, pageSize, platformKey, search, startTime, targetSystem, username, }: {
5801
5816
  org: string;
5802
- mentor?: number; /**
5817
+ endTime?: string;
5818
+ mentor?: string; /**
5803
5819
  * Which field to use when ordering the results.
5804
5820
  */
5805
5821
  ordering?: string; /**
@@ -5812,7 +5828,8 @@ export declare class AiMentorService {
5812
5828
  platformKey?: string; /**
5813
5829
  * A search term.
5814
5830
  */
5815
- search?: string; /**
5831
+ search?: string;
5832
+ startTime?: string; /**
5816
5833
  * * `Safety System` - Safety System
5817
5834
  * * `Moderation System` - Moderation System
5818
5835
  */
@@ -9,7 +9,7 @@ export declare class AiSearchService {
9
9
  /**
10
10
  * Search and filter AI mentors across the platform
11
11
  *
12
- * Search and filter AI mentors with support for filtering, pagination, and detailed mentor information.
12
+ * Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
13
13
  * This endpoint supports both anonymous and authenticated users with different access levels.
14
14
  *
15
15
  * **Anonymous Users:**
@@ -22,15 +22,32 @@ export declare class AiSearchService {
22
22
  * - Personalized results
23
23
  * - Access to tenant-specific mentors
24
24
  *
25
+ * **Available Filters:**
26
+ * - `query`: Search term to filter mentors by name or description
27
+ * - `tenant`: Filter by tenant/organization platform key(s)
28
+ * - `category`: Filter by mentor category (comma-separated)
29
+ * - `subjects`: Filter by mentor subject (comma-separated)
30
+ * - `types`: Filter by mentor type (comma-separated)
31
+ * - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
32
+ * - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
33
+ * - `created_by`: Filter mentors created by specific user (for personalized search)
34
+ * - `include_main_public_mentors`: Include main tenant public mentors
35
+ *
36
+ * **Facets:**
37
+ * The response includes facets with aggregated counts for all filterable attributes:
38
+ * - categories, subjects, types, llm_providers, visibility
39
+ * All facet values can be used as filter parameters in subsequent requests.
40
+ *
25
41
  * Notes:
26
42
  * - Detail view is removed; use the ibl_ai_mentor app for mentor details
27
43
  * - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
28
44
  * - For authenticated requests, platform_key is required when username is provided
45
+ * - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
29
46
  *
30
47
  * @returns V2GlobalMentorSearchResponse
31
48
  * @throws ApiError
32
49
  */
33
- static v2GlobalMentorSearch({ platformKey, category, includeMainPublicMentors, limit, llmProviders, offset, query, tenant, }: {
50
+ static v2GlobalMentorSearch({ platformKey, category, createdBy, includeMainPublicMentors, limit, llm, offset, query, subjects, tenant, types, visibility, }: {
34
51
  /**
35
52
  * Platform key for RBAC enforcement
36
53
  */
@@ -39,6 +56,10 @@ export declare class AiSearchService {
39
56
  * Mentor category filter
40
57
  */
41
58
  category?: string;
59
+ /**
60
+ * Filter mentors created by specific user (for personalized search)
61
+ */
62
+ createdBy?: string;
42
63
  /**
43
64
  * Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
44
65
  */
@@ -50,7 +71,7 @@ export declare class AiSearchService {
50
71
  /**
51
72
  * LLM provider filter
52
73
  */
53
- llmProviders?: string;
74
+ llm?: string;
54
75
  /**
55
76
  * Number of results to skip
56
77
  */
@@ -59,10 +80,22 @@ export declare class AiSearchService {
59
80
  * Search query for mentors
60
81
  */
61
82
  query?: string;
83
+ /**
84
+ * Mentor subject filter
85
+ */
86
+ subjects?: string;
62
87
  /**
63
88
  * Tenant key(s) (CSV)
64
89
  */
65
90
  tenant?: string;
91
+ /**
92
+ * Mentor type filter
93
+ */
94
+ types?: string;
95
+ /**
96
+ * Mentor visibility filter (viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
97
+ */
98
+ visibility?: string;
66
99
  }): CancelablePromise<V2GlobalMentorSearchResponse>;
67
100
  /**
68
101
  * Handle GET requests for my mentors.
@@ -722,15 +722,23 @@ export declare class CoreService {
722
722
  }): CancelablePromise<Record<string, any>>;
723
723
  /**
724
724
  * List RBAC groups
725
- * Retrieve a list of RBAC groups. Can be filtered by platform_key.
725
+ * Retrieve a list of RBAC groups. Can be filtered by platform_key, owner, name, username, or email. Use include_users to control response payload.
726
726
  * @returns PaginatedRbacGroupList
727
727
  * @throws ApiError
728
728
  */
729
- static coreRbacGroupsList({ includeUsers, owner, page, pageSize, platformKey, }: {
729
+ static coreRbacGroupsList({ email, includeUsers, name, owner, page, pageSize, platformKey, username, }: {
730
730
  /**
731
- * Include user information in response (default: false for performance)
731
+ * Filter groups by email (exact match, case-insensitive)
732
+ */
733
+ email?: string;
734
+ /**
735
+ * Include user information in response (default: true)
732
736
  */
733
737
  includeUsers?: boolean;
738
+ /**
739
+ * Filter groups by name (case-insensitive partial match)
740
+ */
741
+ name?: string;
734
742
  /**
735
743
  * Filter groups by owner username
736
744
  */
@@ -747,6 +755,10 @@ export declare class CoreService {
747
755
  * Filter groups by platform key
748
756
  */
749
757
  platformKey?: string;
758
+ /**
759
+ * Filter groups by username (exact match, case-insensitive)
760
+ */
761
+ username?: string;
750
762
  }): CancelablePromise<PaginatedRbacGroupList>;
751
763
  /**
752
764
  * Create RBAC group
@@ -771,7 +783,7 @@ export declare class CoreService {
771
783
  }): CancelablePromise<RbacGroup>;
772
784
  /**
773
785
  * Update RBAC group
774
- * Update an existing RBAC group. Platform validation applies for user assignments.
786
+ * Update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
775
787
  * @returns RbacGroup
776
788
  * @throws ApiError
777
789
  */
@@ -784,7 +796,7 @@ export declare class CoreService {
784
796
  }): CancelablePromise<RbacGroup>;
785
797
  /**
786
798
  * Partially update RBAC group
787
- * Partially update an existing RBAC group. Platform validation applies for user assignments.
799
+ * Partially update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
788
800
  * @returns RbacGroup
789
801
  * @throws ApiError
790
802
  */
@@ -797,7 +809,7 @@ export declare class CoreService {
797
809
  }): CancelablePromise<RbacGroup>;
798
810
  /**
799
811
  * Delete RBAC group
800
- * Delete an RBAC group and all associated group role assignments.
812
+ * Delete an RBAC group and all associated group role assignments. Cannot delete internal system groups.
801
813
  * @returns void
802
814
  * @throws ApiError
803
815
  */
@@ -847,11 +859,31 @@ export declare class CoreService {
847
859
  }): CancelablePromise<any>;
848
860
  /**
849
861
  * List RBAC policies
850
- * Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
862
+ * Retrieve a list of RBAC policies. Can be filtered by platform_key, role_id, name, username, email, or group. Use include_users and include_groups to control response payload.
851
863
  * @returns PaginatedRbacPolicyList
852
864
  * @throws ApiError
853
865
  */
854
- static coreRbacPoliciesList({ page, pageSize, platformKey, roleId, }: {
866
+ static coreRbacPoliciesList({ email, group, includeGroups, includeUsers, name, page, pageSize, platformKey, roleId, username, }: {
867
+ /**
868
+ * Filter policies by email (exact match, case-insensitive) - includes users in policy or in policy's groups
869
+ */
870
+ email?: string;
871
+ /**
872
+ * Filter policies by group name (exact match, case-insensitive)
873
+ */
874
+ group?: string;
875
+ /**
876
+ * Include group information in response (default: true)
877
+ */
878
+ includeGroups?: boolean;
879
+ /**
880
+ * Include user information in response (default: true)
881
+ */
882
+ includeUsers?: boolean;
883
+ /**
884
+ * Filter policies by name (case-insensitive partial match)
885
+ */
886
+ name?: string;
855
887
  /**
856
888
  * A page number within the paginated result set.
857
889
  */
@@ -868,6 +900,10 @@ export declare class CoreService {
868
900
  * Filter policies by role ID
869
901
  */
870
902
  roleId?: number;
903
+ /**
904
+ * Filter policies by username (exact match, case-insensitive) - includes users in policy or in policy's groups
905
+ */
906
+ username?: string;
871
907
  }): CancelablePromise<PaginatedRbacPolicyList>;
872
908
  /**
873
909
  * Create RBAC policy
@@ -934,11 +970,15 @@ export declare class CoreService {
934
970
  }): CancelablePromise<void>;
935
971
  /**
936
972
  * List RBAC roles
937
- * Retrieve a list of RBAC roles. Can be filtered by platform_key.
973
+ * Retrieve a list of RBAC roles. Can be filtered by platform_key and name.
938
974
  * @returns PaginatedRbacRoleList
939
975
  * @throws ApiError
940
976
  */
941
- static coreRbacRolesList({ page, pageSize, platformKey, }: {
977
+ static coreRbacRolesList({ name, page, pageSize, platformKey, }: {
978
+ /**
979
+ * Filter roles by name (case-insensitive partial match)
980
+ */
981
+ name?: string;
942
982
  /**
943
983
  * A page number within the paginated result set.
944
984
  */
@@ -1001,7 +1041,7 @@ export declare class CoreService {
1001
1041
  }): CancelablePromise<RbacRole>;
1002
1042
  /**
1003
1043
  * Delete RBAC role
1004
- * Delete an RBAC role.
1044
+ * Delete an RBAC role. WARNING: Deleting a role will remove all policies referencing it.
1005
1045
  * @returns void
1006
1046
  * @throws ApiError
1007
1047
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "2025.11.4-teams-bot-renovation-ai",
3
+ "version": "2025.11.5-teams-bot-renovation-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",