@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.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.81.0-ai-plus',
113
+ VERSION: '4.85.2-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -164,6 +164,22 @@ exports.AlignMentorBubbleEnum = void 0;
164
164
  AlignMentorBubbleEnum["RIGHT"] = "right";
165
165
  })(exports.AlignMentorBubbleEnum || (exports.AlignMentorBubbleEnum = {}));
166
166
 
167
+ /* generated using openapi-typescript-codegen -- do not edit */
168
+ /* istanbul ignore file */
169
+ /* tslint:disable */
170
+ /* eslint-disable */
171
+ /**
172
+ * * `none` - None
173
+ * * `token` - Token
174
+ * * `oauth2` - Oauth2
175
+ */
176
+ exports.AuthTypeEnum = void 0;
177
+ (function (AuthTypeEnum) {
178
+ AuthTypeEnum["NONE"] = "none";
179
+ AuthTypeEnum["TOKEN"] = "token";
180
+ AuthTypeEnum["OAUTH2"] = "oauth2";
181
+ })(exports.AuthTypeEnum || (exports.AuthTypeEnum = {}));
182
+
167
183
  exports.BlankEnum = void 0;
168
184
  (function (BlankEnum) {})(exports.BlankEnum || (exports.BlankEnum = {}));
169
185
 
@@ -531,6 +547,38 @@ exports.PeriodicAgentLogStatusEnum = void 0;
531
547
  PeriodicAgentLogStatusEnum["RUNNING"] = "running";
532
548
  })(exports.PeriodicAgentLogStatusEnum || (exports.PeriodicAgentLogStatusEnum = {}));
533
549
 
550
+ /* generated using openapi-typescript-codegen -- do not edit */
551
+ /* istanbul ignore file */
552
+ /* tslint:disable */
553
+ /* eslint-disable */
554
+ /**
555
+ * * `DAILY` - DAILY
556
+ * * `WEEKLY` - WEEKLY
557
+ * * `MONTHLY` - MONTHLY
558
+ * * `CUSTOM` - CUSTOM
559
+ */
560
+ exports.PeriodicFrequencyEnum = void 0;
561
+ (function (PeriodicFrequencyEnum) {
562
+ PeriodicFrequencyEnum["DAILY"] = "DAILY";
563
+ PeriodicFrequencyEnum["WEEKLY"] = "WEEKLY";
564
+ PeriodicFrequencyEnum["MONTHLY"] = "MONTHLY";
565
+ PeriodicFrequencyEnum["CUSTOM"] = "CUSTOM";
566
+ })(exports.PeriodicFrequencyEnum || (exports.PeriodicFrequencyEnum = {}));
567
+
568
+ /* generated using openapi-typescript-codegen -- do not edit */
569
+ /* istanbul ignore file */
570
+ /* tslint:disable */
571
+ /* eslint-disable */
572
+ /**
573
+ * * `ACTIVE_LEARNERS` - ACTIVE_LEARNERS
574
+ * * `ALL_LEARNERS` - ALL_LEARNERS
575
+ */
576
+ exports.PeriodicLearnerScopeEnum = void 0;
577
+ (function (PeriodicLearnerScopeEnum) {
578
+ PeriodicLearnerScopeEnum["ACTIVE_LEARNERS"] = "ACTIVE_LEARNERS";
579
+ PeriodicLearnerScopeEnum["ALL_LEARNERS"] = "ALL_LEARNERS";
580
+ })(exports.PeriodicLearnerScopeEnum || (exports.PeriodicLearnerScopeEnum = {}));
581
+
534
582
  /* generated using openapi-typescript-codegen -- do not edit */
535
583
  /* istanbul ignore file */
536
584
  /* tslint:disable */
@@ -12814,6 +12862,116 @@ class AiMediaService {
12814
12862
  }
12815
12863
  });
12816
12864
  }
12865
+ /**
12866
+ * Endpoint used to download a Veo video.
12867
+ *
12868
+ *
12869
+ * Only platform admins have access to this endpoint.
12870
+ * @returns any No response body
12871
+ * @throws ApiError
12872
+ */
12873
+ static aiMediaOrgsUsersVeoVideoDownloadRetrieve({
12874
+ org,
12875
+ userId,
12876
+ veoVideoId
12877
+ }) {
12878
+ return request(OpenAPI, {
12879
+ method: 'GET',
12880
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/video-download/{veo_video_id}/',
12881
+ path: {
12882
+ 'org': org,
12883
+ 'user_id': userId,
12884
+ 'veo_video_id': veoVideoId
12885
+ }
12886
+ });
12887
+ }
12888
+ /**
12889
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
12890
+ * @returns PaginatedVeoVideoListList
12891
+ * @throws ApiError
12892
+ */
12893
+ static aiMediaOrgsUsersVeoVideosList({
12894
+ org,
12895
+ userId,
12896
+ page
12897
+ }) {
12898
+ return request(OpenAPI, {
12899
+ method: 'GET',
12900
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
12901
+ path: {
12902
+ 'org': org,
12903
+ 'user_id': userId
12904
+ },
12905
+ query: {
12906
+ 'page': page
12907
+ }
12908
+ });
12909
+ }
12910
+ /**
12911
+ * Endpoint to create a Veo3 video
12912
+ *
12913
+ * Only platform admins have access to this endpoint.
12914
+ * @returns VeoVideoDetail
12915
+ * @throws ApiError
12916
+ */
12917
+ static aiMediaOrgsUsersVeoVideosCreate({
12918
+ org,
12919
+ userId,
12920
+ formData
12921
+ }) {
12922
+ return request(OpenAPI, {
12923
+ method: 'POST',
12924
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
12925
+ path: {
12926
+ 'org': org,
12927
+ 'user_id': userId
12928
+ },
12929
+ formData: formData,
12930
+ mediaType: 'multipart/form-data'
12931
+ });
12932
+ }
12933
+ /**
12934
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
12935
+ * @returns VeoVideoDetail
12936
+ * @throws ApiError
12937
+ */
12938
+ static aiMediaOrgsUsersVeoVideosRetrieve({
12939
+ org,
12940
+ userId,
12941
+ veoVideoId
12942
+ }) {
12943
+ return request(OpenAPI, {
12944
+ method: 'GET',
12945
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
12946
+ path: {
12947
+ 'org': org,
12948
+ 'user_id': userId,
12949
+ 'veo_video_id': veoVideoId
12950
+ }
12951
+ });
12952
+ }
12953
+ /**
12954
+ * Endpoint used to delete a veo3 video.
12955
+ *
12956
+ * Only platform admins have access to this endpoint.
12957
+ * @returns void
12958
+ * @throws ApiError
12959
+ */
12960
+ static aiMediaOrgsUsersVeoVideosDestroy({
12961
+ org,
12962
+ userId,
12963
+ veoVideoId
12964
+ }) {
12965
+ return request(OpenAPI, {
12966
+ method: 'DELETE',
12967
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
12968
+ path: {
12969
+ 'org': org,
12970
+ 'user_id': userId,
12971
+ 'veo_video_id': veoVideoId
12972
+ }
12973
+ });
12974
+ }
12817
12975
  /**
12818
12976
  * Endpoint to generate video scripts from a audio file. The audio file can be one of mp3 and wav.
12819
12977
  *
@@ -17786,10 +17944,13 @@ class AiMentorService {
17786
17944
  static aiMentorOrgsUsersMcpServersList({
17787
17945
  org,
17788
17946
  userId,
17947
+ authType,
17948
+ isEnabled,
17949
+ isFeatured,
17789
17950
  page,
17790
17951
  pageSize,
17791
- platform,
17792
- search
17952
+ search,
17953
+ transport
17793
17954
  }) {
17794
17955
  return request(OpenAPI, {
17795
17956
  method: 'GET',
@@ -17799,10 +17960,13 @@ class AiMentorService {
17799
17960
  'user_id': userId
17800
17961
  },
17801
17962
  query: {
17963
+ 'auth_type': authType,
17964
+ 'is_enabled': isEnabled,
17965
+ 'is_featured': isFeatured,
17802
17966
  'page': page,
17803
17967
  'page_size': pageSize,
17804
- 'platform': platform,
17805
- 'search': search
17968
+ 'search': search,
17969
+ 'transport': transport
17806
17970
  }
17807
17971
  });
17808
17972
  }
@@ -17819,7 +17983,7 @@ class AiMentorService {
17819
17983
  static aiMentorOrgsUsersMcpServersCreate({
17820
17984
  org,
17821
17985
  userId,
17822
- requestBody
17986
+ formData
17823
17987
  }) {
17824
17988
  return request(OpenAPI, {
17825
17989
  method: 'POST',
@@ -17828,8 +17992,8 @@ class AiMentorService {
17828
17992
  'org': org,
17829
17993
  'user_id': userId
17830
17994
  },
17831
- body: requestBody,
17832
- mediaType: 'application/json'
17995
+ formData: formData,
17996
+ mediaType: 'multipart/form-data'
17833
17997
  });
17834
17998
  }
17835
17999
  /**
@@ -17871,7 +18035,7 @@ class AiMentorService {
17871
18035
  id,
17872
18036
  org,
17873
18037
  userId,
17874
- requestBody
18038
+ formData
17875
18039
  }) {
17876
18040
  return request(OpenAPI, {
17877
18041
  method: 'PUT',
@@ -17881,8 +18045,8 @@ class AiMentorService {
17881
18045
  'org': org,
17882
18046
  'user_id': userId
17883
18047
  },
17884
- body: requestBody,
17885
- mediaType: 'application/json'
18048
+ formData: formData,
18049
+ mediaType: 'multipart/form-data'
17886
18050
  });
17887
18051
  }
17888
18052
  /**
@@ -17899,7 +18063,7 @@ class AiMentorService {
17899
18063
  id,
17900
18064
  org,
17901
18065
  userId,
17902
- requestBody
18066
+ formData
17903
18067
  }) {
17904
18068
  return request(OpenAPI, {
17905
18069
  method: 'PATCH',
@@ -17909,8 +18073,8 @@ class AiMentorService {
17909
18073
  'org': org,
17910
18074
  'user_id': userId
17911
18075
  },
17912
- body: requestBody,
17913
- mediaType: 'application/json'
18076
+ formData: formData,
18077
+ mediaType: 'multipart/form-data'
17914
18078
  });
17915
18079
  }
17916
18080
  /**
@@ -19870,12 +20034,14 @@ class AiMentorService {
19870
20034
  static aiMentorOrgsUsersModerationLogsList({
19871
20035
  org,
19872
20036
  userId,
20037
+ endTime,
19873
20038
  mentor,
19874
20039
  ordering,
19875
20040
  page,
19876
20041
  pageSize,
19877
20042
  platformKey,
19878
20043
  search,
20044
+ startTime,
19879
20045
  targetSystem,
19880
20046
  username
19881
20047
  }) {
@@ -19887,12 +20053,14 @@ class AiMentorService {
19887
20053
  'user_id': userId
19888
20054
  },
19889
20055
  query: {
20056
+ 'end_time': endTime,
19890
20057
  'mentor': mentor,
19891
20058
  'ordering': ordering,
19892
20059
  'page': page,
19893
20060
  'page_size': pageSize,
19894
20061
  'platform_key': platformKey,
19895
20062
  'search': search,
20063
+ 'start_time': startTime,
19896
20064
  'target_system': targetSystem,
19897
20065
  'username': username
19898
20066
  }
@@ -21272,12 +21440,14 @@ class AiMentorService {
21272
21440
  static aiMentorOrgsUsersSafetyLogsList({
21273
21441
  org,
21274
21442
  userId,
21443
+ endTime,
21275
21444
  mentor,
21276
21445
  ordering,
21277
21446
  page,
21278
21447
  pageSize,
21279
21448
  platformKey,
21280
21449
  search,
21450
+ startTime,
21281
21451
  targetSystem,
21282
21452
  username
21283
21453
  }) {
@@ -21289,12 +21459,14 @@ class AiMentorService {
21289
21459
  'user_id': userId
21290
21460
  },
21291
21461
  query: {
21462
+ 'end_time': endTime,
21292
21463
  'mentor': mentor,
21293
21464
  'ordering': ordering,
21294
21465
  'page': page,
21295
21466
  'page_size': pageSize,
21296
21467
  'platform_key': platformKey,
21297
21468
  'search': search,
21469
+ 'start_time': startTime,
21298
21470
  'target_system': targetSystem,
21299
21471
  'username': username
21300
21472
  }
@@ -24068,7 +24240,7 @@ class AiSearchService {
24068
24240
  /**
24069
24241
  * Search and filter AI mentors across the platform
24070
24242
  *
24071
- * Search and filter AI mentors with support for filtering, pagination, and detailed mentor information.
24243
+ * Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
24072
24244
  * This endpoint supports both anonymous and authenticated users with different access levels.
24073
24245
  *
24074
24246
  * **Anonymous Users:**
@@ -24081,10 +24253,27 @@ class AiSearchService {
24081
24253
  * - Personalized results
24082
24254
  * - Access to tenant-specific mentors
24083
24255
  *
24256
+ * **Available Filters:**
24257
+ * - `query`: Search term to filter mentors by name or description
24258
+ * - `tenant`: Filter by tenant/organization platform key(s)
24259
+ * - `category`: Filter by mentor category (comma-separated)
24260
+ * - `subjects`: Filter by mentor subject (comma-separated)
24261
+ * - `types`: Filter by mentor type (comma-separated)
24262
+ * - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
24263
+ * - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
24264
+ * - `created_by`: Filter mentors created by specific user (for personalized search)
24265
+ * - `include_main_public_mentors`: Include main tenant public mentors
24266
+ *
24267
+ * **Facets:**
24268
+ * The response includes facets with aggregated counts for all filterable attributes:
24269
+ * - categories, subjects, types, llm_providers, visibility
24270
+ * All facet values can be used as filter parameters in subsequent requests.
24271
+ *
24084
24272
  * Notes:
24085
24273
  * - Detail view is removed; use the ibl_ai_mentor app for mentor details
24086
24274
  * - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
24087
24275
  * - For authenticated requests, platform_key is required when username is provided
24276
+ * - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
24088
24277
  *
24089
24278
  * @returns V2GlobalMentorSearchResponse
24090
24279
  * @throws ApiError
@@ -24092,25 +24281,33 @@ class AiSearchService {
24092
24281
  static v2GlobalMentorSearch({
24093
24282
  platformKey,
24094
24283
  category,
24284
+ createdBy,
24095
24285
  includeMainPublicMentors = false,
24096
24286
  limit,
24097
- llmProviders,
24287
+ llm,
24098
24288
  offset,
24099
24289
  query,
24100
- tenant
24290
+ subjects,
24291
+ tenant,
24292
+ types,
24293
+ visibility
24101
24294
  }) {
24102
24295
  return request(OpenAPI, {
24103
24296
  method: 'GET',
24104
24297
  url: '/api/ai-search/mentors/',
24105
24298
  query: {
24106
24299
  'category': category,
24300
+ 'created_by': createdBy,
24107
24301
  'include_main_public_mentors': includeMainPublicMentors,
24108
24302
  'limit': limit,
24109
- 'llm_providers': llmProviders,
24303
+ 'llm': llm,
24110
24304
  'offset': offset,
24111
24305
  'platform_key': platformKey,
24112
24306
  'query': query,
24113
- 'tenant': tenant
24307
+ 'subjects': subjects,
24308
+ 'tenant': tenant,
24309
+ 'types': types,
24310
+ 'visibility': visibility
24114
24311
  },
24115
24312
  errors: {
24116
24313
  400: `Bad request - invalid parameters`,
@@ -34975,26 +35172,35 @@ class CoreService {
34975
35172
  }
34976
35173
  /**
34977
35174
  * List RBAC groups
34978
- * Retrieve a list of RBAC groups. Can be filtered by platform_key.
35175
+ * Retrieve a list of RBAC groups. Can be filtered by platform_key, owner, name, username, or email. Use include_users to control response payload.
34979
35176
  * @returns PaginatedRbacGroupList
34980
35177
  * @throws ApiError
34981
35178
  */
34982
35179
  static coreRbacGroupsList({
35180
+ email,
34983
35181
  includeUsers = true,
35182
+ name,
34984
35183
  owner,
34985
35184
  page,
34986
35185
  pageSize,
34987
- platformKey
35186
+ platformKey,
35187
+ username
34988
35188
  }) {
34989
35189
  return request(OpenAPI, {
34990
35190
  method: 'GET',
34991
35191
  url: '/api/core/rbac/groups/',
34992
35192
  query: {
35193
+ 'email': email,
34993
35194
  'include_users': includeUsers,
35195
+ 'name': name,
34994
35196
  'owner': owner,
34995
35197
  'page': page,
34996
35198
  'page_size': pageSize,
34997
- 'platform_key': platformKey
35199
+ 'platform_key': platformKey,
35200
+ 'username': username
35201
+ },
35202
+ errors: {
35203
+ 403: `Permission denied - insufficient RBAC permissions`
34998
35204
  }
34999
35205
  });
35000
35206
  }
@@ -35015,7 +35221,8 @@ class CoreService {
35015
35221
  errors: {
35016
35222
  400: `Invalid input data. Common errors include:
35017
35223
  - Users do not belong to the specified platform
35018
- - Invalid user IDs provided`
35224
+ - Invalid user IDs provided`,
35225
+ 403: `Permission denied - insufficient RBAC permissions`
35019
35226
  }
35020
35227
  });
35021
35228
  }
@@ -35035,13 +35242,14 @@ class CoreService {
35035
35242
  'id': id
35036
35243
  },
35037
35244
  errors: {
35245
+ 403: `Permission denied - insufficient RBAC permissions`,
35038
35246
  404: `Group not found`
35039
35247
  }
35040
35248
  });
35041
35249
  }
35042
35250
  /**
35043
35251
  * Update RBAC group
35044
- * Update an existing RBAC group. Platform validation applies for user assignments.
35252
+ * Update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
35045
35253
  * @returns RbacGroup
35046
35254
  * @throws ApiError
35047
35255
  */
@@ -35061,13 +35269,14 @@ class CoreService {
35061
35269
  400: `Invalid input data. Common errors include:
35062
35270
  - Users do not belong to the specified platform
35063
35271
  - Invalid user IDs provided`,
35272
+ 403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
35064
35273
  404: `Group not found`
35065
35274
  }
35066
35275
  });
35067
35276
  }
35068
35277
  /**
35069
35278
  * Partially update RBAC group
35070
- * Partially update an existing RBAC group. Platform validation applies for user assignments.
35279
+ * Partially update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
35071
35280
  * @returns RbacGroup
35072
35281
  * @throws ApiError
35073
35282
  */
@@ -35087,13 +35296,14 @@ class CoreService {
35087
35296
  400: `Invalid input data. Common errors include:
35088
35297
  - Users do not belong to the specified platform
35089
35298
  - Invalid user IDs provided`,
35299
+ 403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
35090
35300
  404: `Group not found`
35091
35301
  }
35092
35302
  });
35093
35303
  }
35094
35304
  /**
35095
35305
  * Delete RBAC group
35096
- * Delete an RBAC group and all associated group role assignments.
35306
+ * Delete an RBAC group and all associated group role assignments. Cannot delete internal system groups.
35097
35307
  * @returns void
35098
35308
  * @throws ApiError
35099
35309
  */
@@ -35111,6 +35321,7 @@ class CoreService {
35111
35321
  'platform_key': platformKey
35112
35322
  },
35113
35323
  errors: {
35324
+ 403: `Permission denied - insufficient RBAC permissions or attempting to delete internal system group`,
35114
35325
  404: `Group not found`
35115
35326
  }
35116
35327
  });
@@ -35184,24 +35395,39 @@ class CoreService {
35184
35395
  }
35185
35396
  /**
35186
35397
  * List RBAC policies
35187
- * Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
35398
+ * 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.
35188
35399
  * @returns PaginatedRbacPolicyList
35189
35400
  * @throws ApiError
35190
35401
  */
35191
35402
  static coreRbacPoliciesList({
35403
+ email,
35404
+ group,
35405
+ includeGroups = true,
35406
+ includeUsers = true,
35407
+ name,
35192
35408
  page,
35193
35409
  pageSize,
35194
35410
  platformKey,
35195
- roleId
35411
+ roleId,
35412
+ username
35196
35413
  }) {
35197
35414
  return request(OpenAPI, {
35198
35415
  method: 'GET',
35199
35416
  url: '/api/core/rbac/policies/',
35200
35417
  query: {
35418
+ 'email': email,
35419
+ 'group': group,
35420
+ 'include_groups': includeGroups,
35421
+ 'include_users': includeUsers,
35422
+ 'name': name,
35201
35423
  'page': page,
35202
35424
  'page_size': pageSize,
35203
35425
  'platform_key': platformKey,
35204
- 'role_id': roleId
35426
+ 'role_id': roleId,
35427
+ 'username': username
35428
+ },
35429
+ errors: {
35430
+ 403: `Permission denied - insufficient RBAC permissions`
35205
35431
  }
35206
35432
  });
35207
35433
  }
@@ -35220,7 +35446,8 @@ class CoreService {
35220
35446
  body: requestBody,
35221
35447
  mediaType: 'application/json',
35222
35448
  errors: {
35223
- 400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`
35449
+ 400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35450
+ 403: `Permission denied - insufficient RBAC permissions`
35224
35451
  }
35225
35452
  });
35226
35453
  }
@@ -35240,6 +35467,7 @@ class CoreService {
35240
35467
  'id': id
35241
35468
  },
35242
35469
  errors: {
35470
+ 403: `Permission denied - insufficient RBAC permissions`,
35243
35471
  404: `Policy not found`
35244
35472
  }
35245
35473
  });
@@ -35264,6 +35492,7 @@ class CoreService {
35264
35492
  mediaType: 'application/json',
35265
35493
  errors: {
35266
35494
  400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35495
+ 403: `Permission denied - insufficient RBAC permissions`,
35267
35496
  404: `Policy not found`
35268
35497
  }
35269
35498
  });
@@ -35288,6 +35517,7 @@ class CoreService {
35288
35517
  mediaType: 'application/json',
35289
35518
  errors: {
35290
35519
  400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35520
+ 403: `Permission denied - insufficient RBAC permissions`,
35291
35521
  404: `Policy not found`
35292
35522
  }
35293
35523
  });
@@ -35312,17 +35542,19 @@ class CoreService {
35312
35542
  'platform_key': platformKey
35313
35543
  },
35314
35544
  errors: {
35545
+ 403: `Permission denied - insufficient RBAC permissions`,
35315
35546
  404: `Policy not found`
35316
35547
  }
35317
35548
  });
35318
35549
  }
35319
35550
  /**
35320
35551
  * List RBAC roles
35321
- * Retrieve a list of RBAC roles. Can be filtered by platform_key.
35552
+ * Retrieve a list of RBAC roles. Can be filtered by platform_key and name.
35322
35553
  * @returns PaginatedRbacRoleList
35323
35554
  * @throws ApiError
35324
35555
  */
35325
35556
  static coreRbacRolesList({
35557
+ name,
35326
35558
  page,
35327
35559
  pageSize,
35328
35560
  platformKey
@@ -35331,9 +35563,13 @@ class CoreService {
35331
35563
  method: 'GET',
35332
35564
  url: '/api/core/rbac/roles/',
35333
35565
  query: {
35566
+ 'name': name,
35334
35567
  'page': page,
35335
35568
  'page_size': pageSize,
35336
35569
  'platform_key': platformKey
35570
+ },
35571
+ errors: {
35572
+ 403: `Permission denied - insufficient RBAC permissions`
35337
35573
  }
35338
35574
  });
35339
35575
  }
@@ -35352,7 +35588,8 @@ class CoreService {
35352
35588
  body: requestBody,
35353
35589
  mediaType: 'application/json',
35354
35590
  errors: {
35355
- 400: `Invalid input data`
35591
+ 400: `Invalid input data`,
35592
+ 403: `Permission denied - insufficient RBAC permissions`
35356
35593
  }
35357
35594
  });
35358
35595
  }
@@ -35372,6 +35609,7 @@ class CoreService {
35372
35609
  'id': id
35373
35610
  },
35374
35611
  errors: {
35612
+ 403: `Permission denied - insufficient RBAC permissions`,
35375
35613
  404: `Role not found`
35376
35614
  }
35377
35615
  });
@@ -35396,6 +35634,7 @@ class CoreService {
35396
35634
  mediaType: 'application/json',
35397
35635
  errors: {
35398
35636
  400: `Invalid input data`,
35637
+ 403: `Permission denied - insufficient RBAC permissions`,
35399
35638
  404: `Role not found`
35400
35639
  }
35401
35640
  });
@@ -35420,13 +35659,14 @@ class CoreService {
35420
35659
  mediaType: 'application/json',
35421
35660
  errors: {
35422
35661
  400: `Invalid input data`,
35662
+ 403: `Permission denied - insufficient RBAC permissions`,
35423
35663
  404: `Role not found`
35424
35664
  }
35425
35665
  });
35426
35666
  }
35427
35667
  /**
35428
35668
  * Delete RBAC role
35429
- * Delete an RBAC role.
35669
+ * Delete an RBAC role. WARNING: Deleting a role will remove all policies referencing it.
35430
35670
  * @returns void
35431
35671
  * @throws ApiError
35432
35672
  */
@@ -35444,6 +35684,7 @@ class CoreService {
35444
35684
  'platform_key': platformKey
35445
35685
  },
35446
35686
  errors: {
35687
+ 403: `Permission denied - insufficient RBAC permissions`,
35447
35688
  404: `Role not found`
35448
35689
  }
35449
35690
  });