@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.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '4.81.0-ai-plus',
117
+ VERSION: '4.85.2-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -168,6 +168,22 @@
168
168
  AlignMentorBubbleEnum["RIGHT"] = "right";
169
169
  })(exports.AlignMentorBubbleEnum || (exports.AlignMentorBubbleEnum = {}));
170
170
 
171
+ /* generated using openapi-typescript-codegen -- do not edit */
172
+ /* istanbul ignore file */
173
+ /* tslint:disable */
174
+ /* eslint-disable */
175
+ /**
176
+ * * `none` - None
177
+ * * `token` - Token
178
+ * * `oauth2` - Oauth2
179
+ */
180
+ exports.AuthTypeEnum = void 0;
181
+ (function (AuthTypeEnum) {
182
+ AuthTypeEnum["NONE"] = "none";
183
+ AuthTypeEnum["TOKEN"] = "token";
184
+ AuthTypeEnum["OAUTH2"] = "oauth2";
185
+ })(exports.AuthTypeEnum || (exports.AuthTypeEnum = {}));
186
+
171
187
  exports.BlankEnum = void 0;
172
188
  (function (BlankEnum) {})(exports.BlankEnum || (exports.BlankEnum = {}));
173
189
 
@@ -535,6 +551,38 @@
535
551
  PeriodicAgentLogStatusEnum["RUNNING"] = "running";
536
552
  })(exports.PeriodicAgentLogStatusEnum || (exports.PeriodicAgentLogStatusEnum = {}));
537
553
 
554
+ /* generated using openapi-typescript-codegen -- do not edit */
555
+ /* istanbul ignore file */
556
+ /* tslint:disable */
557
+ /* eslint-disable */
558
+ /**
559
+ * * `DAILY` - DAILY
560
+ * * `WEEKLY` - WEEKLY
561
+ * * `MONTHLY` - MONTHLY
562
+ * * `CUSTOM` - CUSTOM
563
+ */
564
+ exports.PeriodicFrequencyEnum = void 0;
565
+ (function (PeriodicFrequencyEnum) {
566
+ PeriodicFrequencyEnum["DAILY"] = "DAILY";
567
+ PeriodicFrequencyEnum["WEEKLY"] = "WEEKLY";
568
+ PeriodicFrequencyEnum["MONTHLY"] = "MONTHLY";
569
+ PeriodicFrequencyEnum["CUSTOM"] = "CUSTOM";
570
+ })(exports.PeriodicFrequencyEnum || (exports.PeriodicFrequencyEnum = {}));
571
+
572
+ /* generated using openapi-typescript-codegen -- do not edit */
573
+ /* istanbul ignore file */
574
+ /* tslint:disable */
575
+ /* eslint-disable */
576
+ /**
577
+ * * `ACTIVE_LEARNERS` - ACTIVE_LEARNERS
578
+ * * `ALL_LEARNERS` - ALL_LEARNERS
579
+ */
580
+ exports.PeriodicLearnerScopeEnum = void 0;
581
+ (function (PeriodicLearnerScopeEnum) {
582
+ PeriodicLearnerScopeEnum["ACTIVE_LEARNERS"] = "ACTIVE_LEARNERS";
583
+ PeriodicLearnerScopeEnum["ALL_LEARNERS"] = "ALL_LEARNERS";
584
+ })(exports.PeriodicLearnerScopeEnum || (exports.PeriodicLearnerScopeEnum = {}));
585
+
538
586
  /* generated using openapi-typescript-codegen -- do not edit */
539
587
  /* istanbul ignore file */
540
588
  /* tslint:disable */
@@ -12818,6 +12866,116 @@
12818
12866
  }
12819
12867
  });
12820
12868
  }
12869
+ /**
12870
+ * Endpoint used to download a Veo video.
12871
+ *
12872
+ *
12873
+ * Only platform admins have access to this endpoint.
12874
+ * @returns any No response body
12875
+ * @throws ApiError
12876
+ */
12877
+ static aiMediaOrgsUsersVeoVideoDownloadRetrieve({
12878
+ org,
12879
+ userId,
12880
+ veoVideoId
12881
+ }) {
12882
+ return request(OpenAPI, {
12883
+ method: 'GET',
12884
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/video-download/{veo_video_id}/',
12885
+ path: {
12886
+ 'org': org,
12887
+ 'user_id': userId,
12888
+ 'veo_video_id': veoVideoId
12889
+ }
12890
+ });
12891
+ }
12892
+ /**
12893
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
12894
+ * @returns PaginatedVeoVideoListList
12895
+ * @throws ApiError
12896
+ */
12897
+ static aiMediaOrgsUsersVeoVideosList({
12898
+ org,
12899
+ userId,
12900
+ page
12901
+ }) {
12902
+ return request(OpenAPI, {
12903
+ method: 'GET',
12904
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
12905
+ path: {
12906
+ 'org': org,
12907
+ 'user_id': userId
12908
+ },
12909
+ query: {
12910
+ 'page': page
12911
+ }
12912
+ });
12913
+ }
12914
+ /**
12915
+ * Endpoint to create a Veo3 video
12916
+ *
12917
+ * Only platform admins have access to this endpoint.
12918
+ * @returns VeoVideoDetail
12919
+ * @throws ApiError
12920
+ */
12921
+ static aiMediaOrgsUsersVeoVideosCreate({
12922
+ org,
12923
+ userId,
12924
+ formData
12925
+ }) {
12926
+ return request(OpenAPI, {
12927
+ method: 'POST',
12928
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
12929
+ path: {
12930
+ 'org': org,
12931
+ 'user_id': userId
12932
+ },
12933
+ formData: formData,
12934
+ mediaType: 'multipart/form-data'
12935
+ });
12936
+ }
12937
+ /**
12938
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
12939
+ * @returns VeoVideoDetail
12940
+ * @throws ApiError
12941
+ */
12942
+ static aiMediaOrgsUsersVeoVideosRetrieve({
12943
+ org,
12944
+ userId,
12945
+ veoVideoId
12946
+ }) {
12947
+ return request(OpenAPI, {
12948
+ method: 'GET',
12949
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
12950
+ path: {
12951
+ 'org': org,
12952
+ 'user_id': userId,
12953
+ 'veo_video_id': veoVideoId
12954
+ }
12955
+ });
12956
+ }
12957
+ /**
12958
+ * Endpoint used to delete a veo3 video.
12959
+ *
12960
+ * Only platform admins have access to this endpoint.
12961
+ * @returns void
12962
+ * @throws ApiError
12963
+ */
12964
+ static aiMediaOrgsUsersVeoVideosDestroy({
12965
+ org,
12966
+ userId,
12967
+ veoVideoId
12968
+ }) {
12969
+ return request(OpenAPI, {
12970
+ method: 'DELETE',
12971
+ url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
12972
+ path: {
12973
+ 'org': org,
12974
+ 'user_id': userId,
12975
+ 'veo_video_id': veoVideoId
12976
+ }
12977
+ });
12978
+ }
12821
12979
  /**
12822
12980
  * Endpoint to generate video scripts from a audio file. The audio file can be one of mp3 and wav.
12823
12981
  *
@@ -17790,10 +17948,13 @@
17790
17948
  static aiMentorOrgsUsersMcpServersList({
17791
17949
  org,
17792
17950
  userId,
17951
+ authType,
17952
+ isEnabled,
17953
+ isFeatured,
17793
17954
  page,
17794
17955
  pageSize,
17795
- platform,
17796
- search
17956
+ search,
17957
+ transport
17797
17958
  }) {
17798
17959
  return request(OpenAPI, {
17799
17960
  method: 'GET',
@@ -17803,10 +17964,13 @@
17803
17964
  'user_id': userId
17804
17965
  },
17805
17966
  query: {
17967
+ 'auth_type': authType,
17968
+ 'is_enabled': isEnabled,
17969
+ 'is_featured': isFeatured,
17806
17970
  'page': page,
17807
17971
  'page_size': pageSize,
17808
- 'platform': platform,
17809
- 'search': search
17972
+ 'search': search,
17973
+ 'transport': transport
17810
17974
  }
17811
17975
  });
17812
17976
  }
@@ -17823,7 +17987,7 @@
17823
17987
  static aiMentorOrgsUsersMcpServersCreate({
17824
17988
  org,
17825
17989
  userId,
17826
- requestBody
17990
+ formData
17827
17991
  }) {
17828
17992
  return request(OpenAPI, {
17829
17993
  method: 'POST',
@@ -17832,8 +17996,8 @@
17832
17996
  'org': org,
17833
17997
  'user_id': userId
17834
17998
  },
17835
- body: requestBody,
17836
- mediaType: 'application/json'
17999
+ formData: formData,
18000
+ mediaType: 'multipart/form-data'
17837
18001
  });
17838
18002
  }
17839
18003
  /**
@@ -17875,7 +18039,7 @@
17875
18039
  id,
17876
18040
  org,
17877
18041
  userId,
17878
- requestBody
18042
+ formData
17879
18043
  }) {
17880
18044
  return request(OpenAPI, {
17881
18045
  method: 'PUT',
@@ -17885,8 +18049,8 @@
17885
18049
  'org': org,
17886
18050
  'user_id': userId
17887
18051
  },
17888
- body: requestBody,
17889
- mediaType: 'application/json'
18052
+ formData: formData,
18053
+ mediaType: 'multipart/form-data'
17890
18054
  });
17891
18055
  }
17892
18056
  /**
@@ -17903,7 +18067,7 @@
17903
18067
  id,
17904
18068
  org,
17905
18069
  userId,
17906
- requestBody
18070
+ formData
17907
18071
  }) {
17908
18072
  return request(OpenAPI, {
17909
18073
  method: 'PATCH',
@@ -17913,8 +18077,8 @@
17913
18077
  'org': org,
17914
18078
  'user_id': userId
17915
18079
  },
17916
- body: requestBody,
17917
- mediaType: 'application/json'
18080
+ formData: formData,
18081
+ mediaType: 'multipart/form-data'
17918
18082
  });
17919
18083
  }
17920
18084
  /**
@@ -19874,12 +20038,14 @@
19874
20038
  static aiMentorOrgsUsersModerationLogsList({
19875
20039
  org,
19876
20040
  userId,
20041
+ endTime,
19877
20042
  mentor,
19878
20043
  ordering,
19879
20044
  page,
19880
20045
  pageSize,
19881
20046
  platformKey,
19882
20047
  search,
20048
+ startTime,
19883
20049
  targetSystem,
19884
20050
  username
19885
20051
  }) {
@@ -19891,12 +20057,14 @@
19891
20057
  'user_id': userId
19892
20058
  },
19893
20059
  query: {
20060
+ 'end_time': endTime,
19894
20061
  'mentor': mentor,
19895
20062
  'ordering': ordering,
19896
20063
  'page': page,
19897
20064
  'page_size': pageSize,
19898
20065
  'platform_key': platformKey,
19899
20066
  'search': search,
20067
+ 'start_time': startTime,
19900
20068
  'target_system': targetSystem,
19901
20069
  'username': username
19902
20070
  }
@@ -21276,12 +21444,14 @@
21276
21444
  static aiMentorOrgsUsersSafetyLogsList({
21277
21445
  org,
21278
21446
  userId,
21447
+ endTime,
21279
21448
  mentor,
21280
21449
  ordering,
21281
21450
  page,
21282
21451
  pageSize,
21283
21452
  platformKey,
21284
21453
  search,
21454
+ startTime,
21285
21455
  targetSystem,
21286
21456
  username
21287
21457
  }) {
@@ -21293,12 +21463,14 @@
21293
21463
  'user_id': userId
21294
21464
  },
21295
21465
  query: {
21466
+ 'end_time': endTime,
21296
21467
  'mentor': mentor,
21297
21468
  'ordering': ordering,
21298
21469
  'page': page,
21299
21470
  'page_size': pageSize,
21300
21471
  'platform_key': platformKey,
21301
21472
  'search': search,
21473
+ 'start_time': startTime,
21302
21474
  'target_system': targetSystem,
21303
21475
  'username': username
21304
21476
  }
@@ -24072,7 +24244,7 @@
24072
24244
  /**
24073
24245
  * Search and filter AI mentors across the platform
24074
24246
  *
24075
- * Search and filter AI mentors with support for filtering, pagination, and detailed mentor information.
24247
+ * Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
24076
24248
  * This endpoint supports both anonymous and authenticated users with different access levels.
24077
24249
  *
24078
24250
  * **Anonymous Users:**
@@ -24085,10 +24257,27 @@
24085
24257
  * - Personalized results
24086
24258
  * - Access to tenant-specific mentors
24087
24259
  *
24260
+ * **Available Filters:**
24261
+ * - `query`: Search term to filter mentors by name or description
24262
+ * - `tenant`: Filter by tenant/organization platform key(s)
24263
+ * - `category`: Filter by mentor category (comma-separated)
24264
+ * - `subjects`: Filter by mentor subject (comma-separated)
24265
+ * - `types`: Filter by mentor type (comma-separated)
24266
+ * - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
24267
+ * - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
24268
+ * - `created_by`: Filter mentors created by specific user (for personalized search)
24269
+ * - `include_main_public_mentors`: Include main tenant public mentors
24270
+ *
24271
+ * **Facets:**
24272
+ * The response includes facets with aggregated counts for all filterable attributes:
24273
+ * - categories, subjects, types, llm_providers, visibility
24274
+ * All facet values can be used as filter parameters in subsequent requests.
24275
+ *
24088
24276
  * Notes:
24089
24277
  * - Detail view is removed; use the ibl_ai_mentor app for mentor details
24090
24278
  * - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
24091
24279
  * - For authenticated requests, platform_key is required when username is provided
24280
+ * - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
24092
24281
  *
24093
24282
  * @returns V2GlobalMentorSearchResponse
24094
24283
  * @throws ApiError
@@ -24096,25 +24285,33 @@
24096
24285
  static v2GlobalMentorSearch({
24097
24286
  platformKey,
24098
24287
  category,
24288
+ createdBy,
24099
24289
  includeMainPublicMentors = false,
24100
24290
  limit,
24101
- llmProviders,
24291
+ llm,
24102
24292
  offset,
24103
24293
  query,
24104
- tenant
24294
+ subjects,
24295
+ tenant,
24296
+ types,
24297
+ visibility
24105
24298
  }) {
24106
24299
  return request(OpenAPI, {
24107
24300
  method: 'GET',
24108
24301
  url: '/api/ai-search/mentors/',
24109
24302
  query: {
24110
24303
  'category': category,
24304
+ 'created_by': createdBy,
24111
24305
  'include_main_public_mentors': includeMainPublicMentors,
24112
24306
  'limit': limit,
24113
- 'llm_providers': llmProviders,
24307
+ 'llm': llm,
24114
24308
  'offset': offset,
24115
24309
  'platform_key': platformKey,
24116
24310
  'query': query,
24117
- 'tenant': tenant
24311
+ 'subjects': subjects,
24312
+ 'tenant': tenant,
24313
+ 'types': types,
24314
+ 'visibility': visibility
24118
24315
  },
24119
24316
  errors: {
24120
24317
  400: `Bad request - invalid parameters`,
@@ -34979,26 +35176,35 @@
34979
35176
  }
34980
35177
  /**
34981
35178
  * List RBAC groups
34982
- * Retrieve a list of RBAC groups. Can be filtered by platform_key.
35179
+ * Retrieve a list of RBAC groups. Can be filtered by platform_key, owner, name, username, or email. Use include_users to control response payload.
34983
35180
  * @returns PaginatedRbacGroupList
34984
35181
  * @throws ApiError
34985
35182
  */
34986
35183
  static coreRbacGroupsList({
35184
+ email,
34987
35185
  includeUsers = true,
35186
+ name,
34988
35187
  owner,
34989
35188
  page,
34990
35189
  pageSize,
34991
- platformKey
35190
+ platformKey,
35191
+ username
34992
35192
  }) {
34993
35193
  return request(OpenAPI, {
34994
35194
  method: 'GET',
34995
35195
  url: '/api/core/rbac/groups/',
34996
35196
  query: {
35197
+ 'email': email,
34997
35198
  'include_users': includeUsers,
35199
+ 'name': name,
34998
35200
  'owner': owner,
34999
35201
  'page': page,
35000
35202
  'page_size': pageSize,
35001
- 'platform_key': platformKey
35203
+ 'platform_key': platformKey,
35204
+ 'username': username
35205
+ },
35206
+ errors: {
35207
+ 403: `Permission denied - insufficient RBAC permissions`
35002
35208
  }
35003
35209
  });
35004
35210
  }
@@ -35019,7 +35225,8 @@
35019
35225
  errors: {
35020
35226
  400: `Invalid input data. Common errors include:
35021
35227
  - Users do not belong to the specified platform
35022
- - Invalid user IDs provided`
35228
+ - Invalid user IDs provided`,
35229
+ 403: `Permission denied - insufficient RBAC permissions`
35023
35230
  }
35024
35231
  });
35025
35232
  }
@@ -35039,13 +35246,14 @@
35039
35246
  'id': id
35040
35247
  },
35041
35248
  errors: {
35249
+ 403: `Permission denied - insufficient RBAC permissions`,
35042
35250
  404: `Group not found`
35043
35251
  }
35044
35252
  });
35045
35253
  }
35046
35254
  /**
35047
35255
  * Update RBAC group
35048
- * Update an existing RBAC group. Platform validation applies for user assignments.
35256
+ * Update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
35049
35257
  * @returns RbacGroup
35050
35258
  * @throws ApiError
35051
35259
  */
@@ -35065,13 +35273,14 @@
35065
35273
  400: `Invalid input data. Common errors include:
35066
35274
  - Users do not belong to the specified platform
35067
35275
  - Invalid user IDs provided`,
35276
+ 403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
35068
35277
  404: `Group not found`
35069
35278
  }
35070
35279
  });
35071
35280
  }
35072
35281
  /**
35073
35282
  * Partially update RBAC group
35074
- * Partially update an existing RBAC group. Platform validation applies for user assignments.
35283
+ * Partially update an existing RBAC group. Platform validation applies for user assignments. Cannot update internal system groups.
35075
35284
  * @returns RbacGroup
35076
35285
  * @throws ApiError
35077
35286
  */
@@ -35091,13 +35300,14 @@
35091
35300
  400: `Invalid input data. Common errors include:
35092
35301
  - Users do not belong to the specified platform
35093
35302
  - Invalid user IDs provided`,
35303
+ 403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
35094
35304
  404: `Group not found`
35095
35305
  }
35096
35306
  });
35097
35307
  }
35098
35308
  /**
35099
35309
  * Delete RBAC group
35100
- * Delete an RBAC group and all associated group role assignments.
35310
+ * Delete an RBAC group and all associated group role assignments. Cannot delete internal system groups.
35101
35311
  * @returns void
35102
35312
  * @throws ApiError
35103
35313
  */
@@ -35115,6 +35325,7 @@
35115
35325
  'platform_key': platformKey
35116
35326
  },
35117
35327
  errors: {
35328
+ 403: `Permission denied - insufficient RBAC permissions or attempting to delete internal system group`,
35118
35329
  404: `Group not found`
35119
35330
  }
35120
35331
  });
@@ -35188,24 +35399,39 @@
35188
35399
  }
35189
35400
  /**
35190
35401
  * List RBAC policies
35191
- * Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
35402
+ * 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.
35192
35403
  * @returns PaginatedRbacPolicyList
35193
35404
  * @throws ApiError
35194
35405
  */
35195
35406
  static coreRbacPoliciesList({
35407
+ email,
35408
+ group,
35409
+ includeGroups = true,
35410
+ includeUsers = true,
35411
+ name,
35196
35412
  page,
35197
35413
  pageSize,
35198
35414
  platformKey,
35199
- roleId
35415
+ roleId,
35416
+ username
35200
35417
  }) {
35201
35418
  return request(OpenAPI, {
35202
35419
  method: 'GET',
35203
35420
  url: '/api/core/rbac/policies/',
35204
35421
  query: {
35422
+ 'email': email,
35423
+ 'group': group,
35424
+ 'include_groups': includeGroups,
35425
+ 'include_users': includeUsers,
35426
+ 'name': name,
35205
35427
  'page': page,
35206
35428
  'page_size': pageSize,
35207
35429
  'platform_key': platformKey,
35208
- 'role_id': roleId
35430
+ 'role_id': roleId,
35431
+ 'username': username
35432
+ },
35433
+ errors: {
35434
+ 403: `Permission denied - insufficient RBAC permissions`
35209
35435
  }
35210
35436
  });
35211
35437
  }
@@ -35224,7 +35450,8 @@
35224
35450
  body: requestBody,
35225
35451
  mediaType: 'application/json',
35226
35452
  errors: {
35227
- 400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`
35453
+ 400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35454
+ 403: `Permission denied - insufficient RBAC permissions`
35228
35455
  }
35229
35456
  });
35230
35457
  }
@@ -35244,6 +35471,7 @@
35244
35471
  'id': id
35245
35472
  },
35246
35473
  errors: {
35474
+ 403: `Permission denied - insufficient RBAC permissions`,
35247
35475
  404: `Policy not found`
35248
35476
  }
35249
35477
  });
@@ -35268,6 +35496,7 @@
35268
35496
  mediaType: 'application/json',
35269
35497
  errors: {
35270
35498
  400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35499
+ 403: `Permission denied - insufficient RBAC permissions`,
35271
35500
  404: `Policy not found`
35272
35501
  }
35273
35502
  });
@@ -35292,6 +35521,7 @@
35292
35521
  mediaType: 'application/json',
35293
35522
  errors: {
35294
35523
  400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
35524
+ 403: `Permission denied - insufficient RBAC permissions`,
35295
35525
  404: `Policy not found`
35296
35526
  }
35297
35527
  });
@@ -35316,17 +35546,19 @@
35316
35546
  'platform_key': platformKey
35317
35547
  },
35318
35548
  errors: {
35549
+ 403: `Permission denied - insufficient RBAC permissions`,
35319
35550
  404: `Policy not found`
35320
35551
  }
35321
35552
  });
35322
35553
  }
35323
35554
  /**
35324
35555
  * List RBAC roles
35325
- * Retrieve a list of RBAC roles. Can be filtered by platform_key.
35556
+ * Retrieve a list of RBAC roles. Can be filtered by platform_key and name.
35326
35557
  * @returns PaginatedRbacRoleList
35327
35558
  * @throws ApiError
35328
35559
  */
35329
35560
  static coreRbacRolesList({
35561
+ name,
35330
35562
  page,
35331
35563
  pageSize,
35332
35564
  platformKey
@@ -35335,9 +35567,13 @@
35335
35567
  method: 'GET',
35336
35568
  url: '/api/core/rbac/roles/',
35337
35569
  query: {
35570
+ 'name': name,
35338
35571
  'page': page,
35339
35572
  'page_size': pageSize,
35340
35573
  'platform_key': platformKey
35574
+ },
35575
+ errors: {
35576
+ 403: `Permission denied - insufficient RBAC permissions`
35341
35577
  }
35342
35578
  });
35343
35579
  }
@@ -35356,7 +35592,8 @@
35356
35592
  body: requestBody,
35357
35593
  mediaType: 'application/json',
35358
35594
  errors: {
35359
- 400: `Invalid input data`
35595
+ 400: `Invalid input data`,
35596
+ 403: `Permission denied - insufficient RBAC permissions`
35360
35597
  }
35361
35598
  });
35362
35599
  }
@@ -35376,6 +35613,7 @@
35376
35613
  'id': id
35377
35614
  },
35378
35615
  errors: {
35616
+ 403: `Permission denied - insufficient RBAC permissions`,
35379
35617
  404: `Role not found`
35380
35618
  }
35381
35619
  });
@@ -35400,6 +35638,7 @@
35400
35638
  mediaType: 'application/json',
35401
35639
  errors: {
35402
35640
  400: `Invalid input data`,
35641
+ 403: `Permission denied - insufficient RBAC permissions`,
35403
35642
  404: `Role not found`
35404
35643
  }
35405
35644
  });
@@ -35424,13 +35663,14 @@
35424
35663
  mediaType: 'application/json',
35425
35664
  errors: {
35426
35665
  400: `Invalid input data`,
35666
+ 403: `Permission denied - insufficient RBAC permissions`,
35427
35667
  404: `Role not found`
35428
35668
  }
35429
35669
  });
35430
35670
  }
35431
35671
  /**
35432
35672
  * Delete RBAC role
35433
- * Delete an RBAC role.
35673
+ * Delete an RBAC role. WARNING: Deleting a role will remove all policies referencing it.
35434
35674
  * @returns void
35435
35675
  * @throws ApiError
35436
35676
  */
@@ -35448,6 +35688,7 @@
35448
35688
  'platform_key': platformKey
35449
35689
  },
35450
35690
  errors: {
35691
+ 403: `Permission denied - insufficient RBAC permissions`,
35451
35692
  404: `Role not found`
35452
35693
  }
35453
35694
  });