@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
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.81.0-ai-plus',
111
+ VERSION: '4.85.2-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -162,6 +162,22 @@ var AlignMentorBubbleEnum;
162
162
  AlignMentorBubbleEnum["RIGHT"] = "right";
163
163
  })(AlignMentorBubbleEnum || (AlignMentorBubbleEnum = {}));
164
164
 
165
+ /* generated using openapi-typescript-codegen -- do not edit */
166
+ /* istanbul ignore file */
167
+ /* tslint:disable */
168
+ /* eslint-disable */
169
+ /**
170
+ * * `none` - None
171
+ * * `token` - Token
172
+ * * `oauth2` - Oauth2
173
+ */
174
+ var AuthTypeEnum;
175
+ (function (AuthTypeEnum) {
176
+ AuthTypeEnum["NONE"] = "none";
177
+ AuthTypeEnum["TOKEN"] = "token";
178
+ AuthTypeEnum["OAUTH2"] = "oauth2";
179
+ })(AuthTypeEnum || (AuthTypeEnum = {}));
180
+
165
181
  var BlankEnum;
166
182
  (function (BlankEnum) {})(BlankEnum || (BlankEnum = {}));
167
183
 
@@ -529,6 +545,38 @@ var PeriodicAgentLogStatusEnum;
529
545
  PeriodicAgentLogStatusEnum["RUNNING"] = "running";
530
546
  })(PeriodicAgentLogStatusEnum || (PeriodicAgentLogStatusEnum = {}));
531
547
 
548
+ /* generated using openapi-typescript-codegen -- do not edit */
549
+ /* istanbul ignore file */
550
+ /* tslint:disable */
551
+ /* eslint-disable */
552
+ /**
553
+ * * `DAILY` - DAILY
554
+ * * `WEEKLY` - WEEKLY
555
+ * * `MONTHLY` - MONTHLY
556
+ * * `CUSTOM` - CUSTOM
557
+ */
558
+ var PeriodicFrequencyEnum;
559
+ (function (PeriodicFrequencyEnum) {
560
+ PeriodicFrequencyEnum["DAILY"] = "DAILY";
561
+ PeriodicFrequencyEnum["WEEKLY"] = "WEEKLY";
562
+ PeriodicFrequencyEnum["MONTHLY"] = "MONTHLY";
563
+ PeriodicFrequencyEnum["CUSTOM"] = "CUSTOM";
564
+ })(PeriodicFrequencyEnum || (PeriodicFrequencyEnum = {}));
565
+
566
+ /* generated using openapi-typescript-codegen -- do not edit */
567
+ /* istanbul ignore file */
568
+ /* tslint:disable */
569
+ /* eslint-disable */
570
+ /**
571
+ * * `ACTIVE_LEARNERS` - ACTIVE_LEARNERS
572
+ * * `ALL_LEARNERS` - ALL_LEARNERS
573
+ */
574
+ var PeriodicLearnerScopeEnum;
575
+ (function (PeriodicLearnerScopeEnum) {
576
+ PeriodicLearnerScopeEnum["ACTIVE_LEARNERS"] = "ACTIVE_LEARNERS";
577
+ PeriodicLearnerScopeEnum["ALL_LEARNERS"] = "ALL_LEARNERS";
578
+ })(PeriodicLearnerScopeEnum || (PeriodicLearnerScopeEnum = {}));
579
+
532
580
  /* generated using openapi-typescript-codegen -- do not edit */
533
581
  /* istanbul ignore file */
534
582
  /* tslint:disable */
@@ -12812,6 +12860,116 @@ class AiMediaService {
12812
12860
  }
12813
12861
  });
12814
12862
  }
12863
+ /**
12864
+ * Endpoint used to download a Veo video.
12865
+ *
12866
+ *
12867
+ * Only platform admins have access to this endpoint.
12868
+ * @returns any No response body
12869
+ * @throws ApiError
12870
+ */
12871
+ static aiMediaOrgsUsersVeoVideoDownloadRetrieve({
12872
+ org,
12873
+ userId,
12874
+ veoVideoId
12875
+ }) {
12876
+ return request(OpenAPI, {
12877
+ method: 'GET',
12878
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/video-download/{veo_video_id}/',
12879
+ path: {
12880
+ 'org': org,
12881
+ 'user_id': userId,
12882
+ 'veo_video_id': veoVideoId
12883
+ }
12884
+ });
12885
+ }
12886
+ /**
12887
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
12888
+ * @returns PaginatedVeoVideoListList
12889
+ * @throws ApiError
12890
+ */
12891
+ static aiMediaOrgsUsersVeoVideosList({
12892
+ org,
12893
+ userId,
12894
+ page
12895
+ }) {
12896
+ return request(OpenAPI, {
12897
+ method: 'GET',
12898
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
12899
+ path: {
12900
+ 'org': org,
12901
+ 'user_id': userId
12902
+ },
12903
+ query: {
12904
+ 'page': page
12905
+ }
12906
+ });
12907
+ }
12908
+ /**
12909
+ * Endpoint to create a Veo3 video
12910
+ *
12911
+ * Only platform admins have access to this endpoint.
12912
+ * @returns VeoVideoDetail
12913
+ * @throws ApiError
12914
+ */
12915
+ static aiMediaOrgsUsersVeoVideosCreate({
12916
+ org,
12917
+ userId,
12918
+ formData
12919
+ }) {
12920
+ return request(OpenAPI, {
12921
+ method: 'POST',
12922
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
12923
+ path: {
12924
+ 'org': org,
12925
+ 'user_id': userId
12926
+ },
12927
+ formData: formData,
12928
+ mediaType: 'multipart/form-data'
12929
+ });
12930
+ }
12931
+ /**
12932
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
12933
+ * @returns VeoVideoDetail
12934
+ * @throws ApiError
12935
+ */
12936
+ static aiMediaOrgsUsersVeoVideosRetrieve({
12937
+ org,
12938
+ userId,
12939
+ veoVideoId
12940
+ }) {
12941
+ return request(OpenAPI, {
12942
+ method: 'GET',
12943
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
12944
+ path: {
12945
+ 'org': org,
12946
+ 'user_id': userId,
12947
+ 'veo_video_id': veoVideoId
12948
+ }
12949
+ });
12950
+ }
12951
+ /**
12952
+ * Endpoint used to delete a veo3 video.
12953
+ *
12954
+ * Only platform admins have access to this endpoint.
12955
+ * @returns void
12956
+ * @throws ApiError
12957
+ */
12958
+ static aiMediaOrgsUsersVeoVideosDestroy({
12959
+ org,
12960
+ userId,
12961
+ veoVideoId
12962
+ }) {
12963
+ return request(OpenAPI, {
12964
+ method: 'DELETE',
12965
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
12966
+ path: {
12967
+ 'org': org,
12968
+ 'user_id': userId,
12969
+ 'veo_video_id': veoVideoId
12970
+ }
12971
+ });
12972
+ }
12815
12973
  /**
12816
12974
  * Endpoint to generate video scripts from a audio file. The audio file can be one of mp3 and wav.
12817
12975
  *
@@ -17784,10 +17942,13 @@ class AiMentorService {
17784
17942
  static aiMentorOrgsUsersMcpServersList({
17785
17943
  org,
17786
17944
  userId,
17945
+ authType,
17946
+ isEnabled,
17947
+ isFeatured,
17787
17948
  page,
17788
17949
  pageSize,
17789
- platform,
17790
- search
17950
+ search,
17951
+ transport
17791
17952
  }) {
17792
17953
  return request(OpenAPI, {
17793
17954
  method: 'GET',
@@ -17797,10 +17958,13 @@ class AiMentorService {
17797
17958
  'user_id': userId
17798
17959
  },
17799
17960
  query: {
17961
+ 'auth_type': authType,
17962
+ 'is_enabled': isEnabled,
17963
+ 'is_featured': isFeatured,
17800
17964
  'page': page,
17801
17965
  'page_size': pageSize,
17802
- 'platform': platform,
17803
- 'search': search
17966
+ 'search': search,
17967
+ 'transport': transport
17804
17968
  }
17805
17969
  });
17806
17970
  }
@@ -17817,7 +17981,7 @@ class AiMentorService {
17817
17981
  static aiMentorOrgsUsersMcpServersCreate({
17818
17982
  org,
17819
17983
  userId,
17820
- requestBody
17984
+ formData
17821
17985
  }) {
17822
17986
  return request(OpenAPI, {
17823
17987
  method: 'POST',
@@ -17826,8 +17990,8 @@ class AiMentorService {
17826
17990
  'org': org,
17827
17991
  'user_id': userId
17828
17992
  },
17829
- body: requestBody,
17830
- mediaType: 'application/json'
17993
+ formData: formData,
17994
+ mediaType: 'multipart/form-data'
17831
17995
  });
17832
17996
  }
17833
17997
  /**
@@ -17869,7 +18033,7 @@ class AiMentorService {
17869
18033
  id,
17870
18034
  org,
17871
18035
  userId,
17872
- requestBody
18036
+ formData
17873
18037
  }) {
17874
18038
  return request(OpenAPI, {
17875
18039
  method: 'PUT',
@@ -17879,8 +18043,8 @@ class AiMentorService {
17879
18043
  'org': org,
17880
18044
  'user_id': userId
17881
18045
  },
17882
- body: requestBody,
17883
- mediaType: 'application/json'
18046
+ formData: formData,
18047
+ mediaType: 'multipart/form-data'
17884
18048
  });
17885
18049
  }
17886
18050
  /**
@@ -17897,7 +18061,7 @@ class AiMentorService {
17897
18061
  id,
17898
18062
  org,
17899
18063
  userId,
17900
- requestBody
18064
+ formData
17901
18065
  }) {
17902
18066
  return request(OpenAPI, {
17903
18067
  method: 'PATCH',
@@ -17907,8 +18071,8 @@ class AiMentorService {
17907
18071
  'org': org,
17908
18072
  'user_id': userId
17909
18073
  },
17910
- body: requestBody,
17911
- mediaType: 'application/json'
18074
+ formData: formData,
18075
+ mediaType: 'multipart/form-data'
17912
18076
  });
17913
18077
  }
17914
18078
  /**
@@ -19868,12 +20032,14 @@ class AiMentorService {
19868
20032
  static aiMentorOrgsUsersModerationLogsList({
19869
20033
  org,
19870
20034
  userId,
20035
+ endTime,
19871
20036
  mentor,
19872
20037
  ordering,
19873
20038
  page,
19874
20039
  pageSize,
19875
20040
  platformKey,
19876
20041
  search,
20042
+ startTime,
19877
20043
  targetSystem,
19878
20044
  username
19879
20045
  }) {
@@ -19885,12 +20051,14 @@ class AiMentorService {
19885
20051
  'user_id': userId
19886
20052
  },
19887
20053
  query: {
20054
+ 'end_time': endTime,
19888
20055
  'mentor': mentor,
19889
20056
  'ordering': ordering,
19890
20057
  'page': page,
19891
20058
  'page_size': pageSize,
19892
20059
  'platform_key': platformKey,
19893
20060
  'search': search,
20061
+ 'start_time': startTime,
19894
20062
  'target_system': targetSystem,
19895
20063
  'username': username
19896
20064
  }
@@ -21270,12 +21438,14 @@ class AiMentorService {
21270
21438
  static aiMentorOrgsUsersSafetyLogsList({
21271
21439
  org,
21272
21440
  userId,
21441
+ endTime,
21273
21442
  mentor,
21274
21443
  ordering,
21275
21444
  page,
21276
21445
  pageSize,
21277
21446
  platformKey,
21278
21447
  search,
21448
+ startTime,
21279
21449
  targetSystem,
21280
21450
  username
21281
21451
  }) {
@@ -21287,12 +21457,14 @@ class AiMentorService {
21287
21457
  'user_id': userId
21288
21458
  },
21289
21459
  query: {
21460
+ 'end_time': endTime,
21290
21461
  'mentor': mentor,
21291
21462
  'ordering': ordering,
21292
21463
  'page': page,
21293
21464
  'page_size': pageSize,
21294
21465
  'platform_key': platformKey,
21295
21466
  'search': search,
21467
+ 'start_time': startTime,
21296
21468
  'target_system': targetSystem,
21297
21469
  'username': username
21298
21470
  }
@@ -24066,7 +24238,7 @@ class AiSearchService {
24066
24238
  /**
24067
24239
  * Search and filter AI mentors across the platform
24068
24240
  *
24069
- * Search and filter AI mentors with support for filtering, pagination, and detailed mentor information.
24241
+ * Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
24070
24242
  * This endpoint supports both anonymous and authenticated users with different access levels.
24071
24243
  *
24072
24244
  * **Anonymous Users:**
@@ -24079,10 +24251,27 @@ class AiSearchService {
24079
24251
  * - Personalized results
24080
24252
  * - Access to tenant-specific mentors
24081
24253
  *
24254
+ * **Available Filters:**
24255
+ * - `query`: Search term to filter mentors by name or description
24256
+ * - `tenant`: Filter by tenant/organization platform key(s)
24257
+ * - `category`: Filter by mentor category (comma-separated)
24258
+ * - `subjects`: Filter by mentor subject (comma-separated)
24259
+ * - `types`: Filter by mentor type (comma-separated)
24260
+ * - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
24261
+ * - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
24262
+ * - `created_by`: Filter mentors created by specific user (for personalized search)
24263
+ * - `include_main_public_mentors`: Include main tenant public mentors
24264
+ *
24265
+ * **Facets:**
24266
+ * The response includes facets with aggregated counts for all filterable attributes:
24267
+ * - categories, subjects, types, llm_providers, visibility
24268
+ * All facet values can be used as filter parameters in subsequent requests.
24269
+ *
24082
24270
  * Notes:
24083
24271
  * - Detail view is removed; use the ibl_ai_mentor app for mentor details
24084
24272
  * - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
24085
24273
  * - For authenticated requests, platform_key is required when username is provided
24274
+ * - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
24086
24275
  *
24087
24276
  * @returns V2GlobalMentorSearchResponse
24088
24277
  * @throws ApiError
@@ -24090,25 +24279,33 @@ class AiSearchService {
24090
24279
  static v2GlobalMentorSearch({
24091
24280
  platformKey,
24092
24281
  category,
24282
+ createdBy,
24093
24283
  includeMainPublicMentors = false,
24094
24284
  limit,
24095
- llmProviders,
24285
+ llm,
24096
24286
  offset,
24097
24287
  query,
24098
- tenant
24288
+ subjects,
24289
+ tenant,
24290
+ types,
24291
+ visibility
24099
24292
  }) {
24100
24293
  return request(OpenAPI, {
24101
24294
  method: 'GET',
24102
24295
  url: '/api/ai-search/mentors/',
24103
24296
  query: {
24104
24297
  'category': category,
24298
+ 'created_by': createdBy,
24105
24299
  'include_main_public_mentors': includeMainPublicMentors,
24106
24300
  'limit': limit,
24107
- 'llm_providers': llmProviders,
24301
+ 'llm': llm,
24108
24302
  'offset': offset,
24109
24303
  'platform_key': platformKey,
24110
24304
  'query': query,
24111
- 'tenant': tenant
24305
+ 'subjects': subjects,
24306
+ 'tenant': tenant,
24307
+ 'types': types,
24308
+ 'visibility': visibility
24112
24309
  },
24113
24310
  errors: {
24114
24311
  400: `Bad request - invalid parameters`,
@@ -34973,26 +35170,35 @@ class CoreService {
34973
35170
  }
34974
35171
  /**
34975
35172
  * List RBAC groups
34976
- * Retrieve a list of RBAC groups. Can be filtered by platform_key.
35173
+ * Retrieve a list of RBAC groups. Can be filtered by platform_key, owner, name, username, or email. Use include_users to control response payload.
34977
35174
  * @returns PaginatedRbacGroupList
34978
35175
  * @throws ApiError
34979
35176
  */
34980
35177
  static coreRbacGroupsList({
35178
+ email,
34981
35179
  includeUsers = true,
35180
+ name,
34982
35181
  owner,
34983
35182
  page,
34984
35183
  pageSize,
34985
- platformKey
35184
+ platformKey,
35185
+ username
34986
35186
  }) {
34987
35187
  return request(OpenAPI, {
34988
35188
  method: 'GET',
34989
35189
  url: '/api/core/rbac/groups/',
34990
35190
  query: {
35191
+ 'email': email,
34991
35192
  'include_users': includeUsers,
35193
+ 'name': name,
34992
35194
  'owner': owner,
34993
35195
  'page': page,
34994
35196
  'page_size': pageSize,
34995
- 'platform_key': platformKey
35197
+ 'platform_key': platformKey,
35198
+ 'username': username
35199
+ },
35200
+ errors: {
35201
+ 403: `Permission denied - insufficient RBAC permissions`
34996
35202
  }
34997
35203
  });
34998
35204
  }
@@ -35013,7 +35219,8 @@ class CoreService {
35013
35219
  errors: {
35014
35220
  400: `Invalid input data. Common errors include:
35015
35221
  - Users do not belong to the specified platform
35016
- - Invalid user IDs provided`
35222
+ - Invalid user IDs provided`,
35223
+ 403: `Permission denied - insufficient RBAC permissions`
35017
35224
  }
35018
35225
  });
35019
35226
  }
@@ -35033,13 +35240,14 @@ class CoreService {
35033
35240
  'id': id
35034
35241
  },
35035
35242
  errors: {
35243
+ 403: `Permission denied - insufficient RBAC permissions`,
35036
35244
  404: `Group not found`
35037
35245
  }
35038
35246
  });
35039
35247
  }
35040
35248
  /**
35041
35249
  * Update RBAC group
35042
- * Update an existing RBAC group. Platform validation applies for user assignments.
35250
+ * Update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
35043
35251
  * @returns RbacGroup
35044
35252
  * @throws ApiError
35045
35253
  */
@@ -35059,13 +35267,14 @@ class CoreService {
35059
35267
  400: `Invalid input data. Common errors include:
35060
35268
  - Users do not belong to the specified platform
35061
35269
  - Invalid user IDs provided`,
35270
+ 403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
35062
35271
  404: `Group not found`
35063
35272
  }
35064
35273
  });
35065
35274
  }
35066
35275
  /**
35067
35276
  * Partially update RBAC group
35068
- * Partially update an existing RBAC group. Platform validation applies for user assignments.
35277
+ * Partially update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
35069
35278
  * @returns RbacGroup
35070
35279
  * @throws ApiError
35071
35280
  */
@@ -35085,13 +35294,14 @@ class CoreService {
35085
35294
  400: `Invalid input data. Common errors include:
35086
35295
  - Users do not belong to the specified platform
35087
35296
  - Invalid user IDs provided`,
35297
+ 403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
35088
35298
  404: `Group not found`
35089
35299
  }
35090
35300
  });
35091
35301
  }
35092
35302
  /**
35093
35303
  * Delete RBAC group
35094
- * Delete an RBAC group and all associated group role assignments.
35304
+ * Delete an RBAC group and all associated group role assignments. Cannot delete internal system groups.
35095
35305
  * @returns void
35096
35306
  * @throws ApiError
35097
35307
  */
@@ -35109,6 +35319,7 @@ class CoreService {
35109
35319
  'platform_key': platformKey
35110
35320
  },
35111
35321
  errors: {
35322
+ 403: `Permission denied - insufficient RBAC permissions or attempting to delete internal system group`,
35112
35323
  404: `Group not found`
35113
35324
  }
35114
35325
  });
@@ -35182,24 +35393,39 @@ class CoreService {
35182
35393
  }
35183
35394
  /**
35184
35395
  * List RBAC policies
35185
- * Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
35396
+ * 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.
35186
35397
  * @returns PaginatedRbacPolicyList
35187
35398
  * @throws ApiError
35188
35399
  */
35189
35400
  static coreRbacPoliciesList({
35401
+ email,
35402
+ group,
35403
+ includeGroups = true,
35404
+ includeUsers = true,
35405
+ name,
35190
35406
  page,
35191
35407
  pageSize,
35192
35408
  platformKey,
35193
- roleId
35409
+ roleId,
35410
+ username
35194
35411
  }) {
35195
35412
  return request(OpenAPI, {
35196
35413
  method: 'GET',
35197
35414
  url: '/api/core/rbac/policies/',
35198
35415
  query: {
35416
+ 'email': email,
35417
+ 'group': group,
35418
+ 'include_groups': includeGroups,
35419
+ 'include_users': includeUsers,
35420
+ 'name': name,
35199
35421
  'page': page,
35200
35422
  'page_size': pageSize,
35201
35423
  'platform_key': platformKey,
35202
- 'role_id': roleId
35424
+ 'role_id': roleId,
35425
+ 'username': username
35426
+ },
35427
+ errors: {
35428
+ 403: `Permission denied - insufficient RBAC permissions`
35203
35429
  }
35204
35430
  });
35205
35431
  }
@@ -35218,7 +35444,8 @@ class CoreService {
35218
35444
  body: requestBody,
35219
35445
  mediaType: 'application/json',
35220
35446
  errors: {
35221
- 400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`
35447
+ 400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35448
+ 403: `Permission denied - insufficient RBAC permissions`
35222
35449
  }
35223
35450
  });
35224
35451
  }
@@ -35238,6 +35465,7 @@ class CoreService {
35238
35465
  'id': id
35239
35466
  },
35240
35467
  errors: {
35468
+ 403: `Permission denied - insufficient RBAC permissions`,
35241
35469
  404: `Policy not found`
35242
35470
  }
35243
35471
  });
@@ -35262,6 +35490,7 @@ class CoreService {
35262
35490
  mediaType: 'application/json',
35263
35491
  errors: {
35264
35492
  400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35493
+ 403: `Permission denied - insufficient RBAC permissions`,
35265
35494
  404: `Policy not found`
35266
35495
  }
35267
35496
  });
@@ -35286,6 +35515,7 @@ class CoreService {
35286
35515
  mediaType: 'application/json',
35287
35516
  errors: {
35288
35517
  400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35518
+ 403: `Permission denied - insufficient RBAC permissions`,
35289
35519
  404: `Policy not found`
35290
35520
  }
35291
35521
  });
@@ -35310,17 +35540,19 @@ class CoreService {
35310
35540
  'platform_key': platformKey
35311
35541
  },
35312
35542
  errors: {
35543
+ 403: `Permission denied - insufficient RBAC permissions`,
35313
35544
  404: `Policy not found`
35314
35545
  }
35315
35546
  });
35316
35547
  }
35317
35548
  /**
35318
35549
  * List RBAC roles
35319
- * Retrieve a list of RBAC roles. Can be filtered by platform_key.
35550
+ * Retrieve a list of RBAC roles. Can be filtered by platform_key and name.
35320
35551
  * @returns PaginatedRbacRoleList
35321
35552
  * @throws ApiError
35322
35553
  */
35323
35554
  static coreRbacRolesList({
35555
+ name,
35324
35556
  page,
35325
35557
  pageSize,
35326
35558
  platformKey
@@ -35329,9 +35561,13 @@ class CoreService {
35329
35561
  method: 'GET',
35330
35562
  url: '/api/core/rbac/roles/',
35331
35563
  query: {
35564
+ 'name': name,
35332
35565
  'page': page,
35333
35566
  'page_size': pageSize,
35334
35567
  'platform_key': platformKey
35568
+ },
35569
+ errors: {
35570
+ 403: `Permission denied - insufficient RBAC permissions`
35335
35571
  }
35336
35572
  });
35337
35573
  }
@@ -35350,7 +35586,8 @@ class CoreService {
35350
35586
  body: requestBody,
35351
35587
  mediaType: 'application/json',
35352
35588
  errors: {
35353
- 400: `Invalid input data`
35589
+ 400: `Invalid input data`,
35590
+ 403: `Permission denied - insufficient RBAC permissions`
35354
35591
  }
35355
35592
  });
35356
35593
  }
@@ -35370,6 +35607,7 @@ class CoreService {
35370
35607
  'id': id
35371
35608
  },
35372
35609
  errors: {
35610
+ 403: `Permission denied - insufficient RBAC permissions`,
35373
35611
  404: `Role not found`
35374
35612
  }
35375
35613
  });
@@ -35394,6 +35632,7 @@ class CoreService {
35394
35632
  mediaType: 'application/json',
35395
35633
  errors: {
35396
35634
  400: `Invalid input data`,
35635
+ 403: `Permission denied - insufficient RBAC permissions`,
35397
35636
  404: `Role not found`
35398
35637
  }
35399
35638
  });
@@ -35418,13 +35657,14 @@ class CoreService {
35418
35657
  mediaType: 'application/json',
35419
35658
  errors: {
35420
35659
  400: `Invalid input data`,
35660
+ 403: `Permission denied - insufficient RBAC permissions`,
35421
35661
  404: `Role not found`
35422
35662
  }
35423
35663
  });
35424
35664
  }
35425
35665
  /**
35426
35666
  * Delete RBAC role
35427
- * Delete an RBAC role.
35667
+ * Delete an RBAC role. WARNING: Deleting a role will remove all policies referencing it.
35428
35668
  * @returns void
35429
35669
  * @throws ApiError
35430
35670
  */
@@ -35442,6 +35682,7 @@ class CoreService {
35442
35682
  'platform_key': platformKey
35443
35683
  },
35444
35684
  errors: {
35685
+ 403: `Permission denied - insufficient RBAC permissions`,
35445
35686
  404: `Role not found`
35446
35687
  }
35447
35688
  });
@@ -40997,5 +41238,5 @@ class SkillsService {
40997
41238
  }
40998
41239
  }
40999
41240
 
41000
- export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AiSearchService, AlignMentorBubbleEnum, AnalyticsService, ApiError, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, ConnectedServiceProviderEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, EntityTypeEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodEnum, PeriodicAgentLogStatusEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum, Provider637Enum, Provider63aEnum, RatingEnum, RecommendationTypeEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, ScopeEnum, SearchService, ServiceEnum, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, Type2a5Enum, TypeC42Enum };
41241
+ export { AcceptanceEnum, AccessEnum, AiAccountService, AiAnalyticsService, AiBotService, AiFinetuningService, AiIndexService, AiMarketingService, AiMediaService, AiMentorService, AiPromptService, AiSearchService, AlignMentorBubbleEnum, AnalyticsService, ApiError, AuthTypeEnum, BlankEnum, CallConfigurationModeEnum, CancelError, CancelablePromise, CareerService, CatalogService, CeleryHeartbeatFailStatusEnum, CeleryHeartbeatStatusEnum, CommerceService, ComponentBlockTypeEnum, ConnectedServiceProviderEnum, CoreService, CourseCreationTaskStatusEnum, CrawlerPatternTypeEnum, CredentialsService, CustomDomainsService, DataSetStatusEnum, EntityTypeEnum, FeaturesService, GooglePayAccountResponseStatusEnum, GreetingMethodEnum, HumanSupportTicketStatusEnum, InstitutionTypeEnum, ItemTypeEnum, KindEnum, LlmProviderEnum, MediaService, MediaTypeEnum, MentorVisibilityEnum, NotificationSourceTypeEnum, NotificationStatusEnum, NotificationsService, OpenAPI, PeriodEnum, PeriodicAgentLogStatusEnum, PeriodicFrequencyEnum, PeriodicLearnerScopeEnum, PlatformListStatusEnum, PreviousAgentStatusEnum, ProgramTypeEnum, PromptVisibilityEnum, Provider05cEnum, Provider637Enum, Provider63aEnum, RatingEnum, RecommendationTypeEnum, RecommendationsService, ReportsService, ResourceScrappedDataStatusEnum, ScimService, ScopeEnum, SearchService, ServiceEnum, SkillsService, StateEnum, Status6eeEnum, StepStatusEnum, StripeCheckoutSessionRequestModeEnum, SttProviderEnum, TargetSystemEnum, ThemeEnum, TrainingStatusEnum, TransportEnum, TtsProviderEnum, Type2a5Enum, TypeC42Enum };
41001
41242
  //# sourceMappingURL=index.esm.js.map