@iblai/iblai-api 2025.11.20-memory-pagination-fix-test-2-core → 2025.12.3-webhook-tool-dev-test-core

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.95.2-core
4
+ version: 4.102.0-core
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/analytics/content/:
@@ -17747,9 +17747,242 @@ paths:
17747
17747
  responses:
17748
17748
  '200':
17749
17749
  description: No response body
17750
- /api/core/user_groups/:
17750
+ /api/core/user-groups/:
17751
+ get:
17752
+ operationId: core_user_groups_list
17753
+ description: Retrieve a list of UserGroups. Can be filtered by platform_key,
17754
+ name, and include_users.
17755
+ summary: List UserGroups
17756
+ parameters:
17757
+ - in: query
17758
+ name: include_users
17759
+ schema:
17760
+ type: boolean
17761
+ default: false
17762
+ description: 'Include user information in response (default: false for performance)'
17763
+ - in: query
17764
+ name: name
17765
+ schema:
17766
+ type: string
17767
+ minLength: 1
17768
+ description: Fuzzy search by group name
17769
+ - name: page
17770
+ required: false
17771
+ in: query
17772
+ description: A page number within the paginated result set.
17773
+ schema:
17774
+ type: integer
17775
+ - name: page_size
17776
+ required: false
17777
+ in: query
17778
+ description: Number of results to return per page.
17779
+ schema:
17780
+ type: integer
17781
+ - in: query
17782
+ name: platform_key
17783
+ schema:
17784
+ type: string
17785
+ minLength: 1
17786
+ description: Filter groups by platform key
17787
+ - in: query
17788
+ name: with_permissions
17789
+ schema:
17790
+ type: boolean
17791
+ default: false
17792
+ description: Include object-level permissions in response
17793
+ tags:
17794
+ - core
17795
+ security:
17796
+ - PlatformApiKeyAuthentication: []
17797
+ responses:
17798
+ '200':
17799
+ content:
17800
+ application/json:
17801
+ schema:
17802
+ $ref: '#/components/schemas/PaginatedUserGroupList'
17803
+ description: ''
17804
+ post:
17805
+ operationId: core_user_groups_create
17806
+ description: Create a new UserGroup for a platform. Users can be assigned during
17807
+ creation.
17808
+ summary: Create UserGroup
17809
+ tags:
17810
+ - core
17811
+ requestBody:
17812
+ content:
17813
+ application/json:
17814
+ schema:
17815
+ $ref: '#/components/schemas/UserGroup'
17816
+ application/scim+json:
17817
+ schema:
17818
+ $ref: '#/components/schemas/UserGroup'
17819
+ application/x-www-form-urlencoded:
17820
+ schema:
17821
+ $ref: '#/components/schemas/UserGroup'
17822
+ multipart/form-data:
17823
+ schema:
17824
+ $ref: '#/components/schemas/UserGroup'
17825
+ '*/*':
17826
+ schema:
17827
+ $ref: '#/components/schemas/UserGroup'
17828
+ required: true
17829
+ security:
17830
+ - PlatformApiKeyAuthentication: []
17831
+ responses:
17832
+ '201':
17833
+ content:
17834
+ application/json:
17835
+ schema:
17836
+ $ref: '#/components/schemas/UserGroup'
17837
+ description: ''
17838
+ '400':
17839
+ description: |-
17840
+ Invalid input data. Common errors include:
17841
+ - Users do not belong to the specified platform
17842
+ - Invalid user IDs provided
17843
+ /api/core/user-groups/{id}/:
17751
17844
  get:
17752
17845
  operationId: core_user_groups_retrieve
17846
+ description: Retrieve details of a specific UserGroup including assigned users.
17847
+ summary: Retrieve UserGroup
17848
+ parameters:
17849
+ - in: path
17850
+ name: id
17851
+ schema:
17852
+ type: integer
17853
+ description: A unique integer value identifying this User Group.
17854
+ required: true
17855
+ tags:
17856
+ - core
17857
+ security:
17858
+ - PlatformApiKeyAuthentication: []
17859
+ responses:
17860
+ '200':
17861
+ content:
17862
+ application/json:
17863
+ schema:
17864
+ $ref: '#/components/schemas/UserGroup'
17865
+ description: ''
17866
+ '404':
17867
+ description: UserGroup not found
17868
+ put:
17869
+ operationId: core_user_groups_update
17870
+ description: Update an existing UserGroup. Platform validation applies for user
17871
+ assignments.
17872
+ summary: Update UserGroup
17873
+ parameters:
17874
+ - in: path
17875
+ name: id
17876
+ schema:
17877
+ type: integer
17878
+ description: A unique integer value identifying this User Group.
17879
+ required: true
17880
+ tags:
17881
+ - core
17882
+ requestBody:
17883
+ content:
17884
+ application/json:
17885
+ schema:
17886
+ $ref: '#/components/schemas/UserGroup'
17887
+ application/scim+json:
17888
+ schema:
17889
+ $ref: '#/components/schemas/UserGroup'
17890
+ application/x-www-form-urlencoded:
17891
+ schema:
17892
+ $ref: '#/components/schemas/UserGroup'
17893
+ multipart/form-data:
17894
+ schema:
17895
+ $ref: '#/components/schemas/UserGroup'
17896
+ '*/*':
17897
+ schema:
17898
+ $ref: '#/components/schemas/UserGroup'
17899
+ required: true
17900
+ security:
17901
+ - PlatformApiKeyAuthentication: []
17902
+ responses:
17903
+ '200':
17904
+ content:
17905
+ application/json:
17906
+ schema:
17907
+ $ref: '#/components/schemas/UserGroup'
17908
+ description: ''
17909
+ '400':
17910
+ description: |-
17911
+ Invalid input data. Common errors include:
17912
+ - Users do not belong to the specified platform
17913
+ - Invalid user IDs provided
17914
+ '404':
17915
+ description: UserGroup not found
17916
+ patch:
17917
+ operationId: core_user_groups_partial_update
17918
+ description: Partially update an existing UserGroup. Platform validation applies
17919
+ for user assignments.
17920
+ summary: Partially update UserGroup
17921
+ parameters:
17922
+ - in: path
17923
+ name: id
17924
+ schema:
17925
+ type: integer
17926
+ description: A unique integer value identifying this User Group.
17927
+ required: true
17928
+ tags:
17929
+ - core
17930
+ requestBody:
17931
+ content:
17932
+ application/json:
17933
+ schema:
17934
+ $ref: '#/components/schemas/PatchedUserGroup'
17935
+ application/scim+json:
17936
+ schema:
17937
+ $ref: '#/components/schemas/PatchedUserGroup'
17938
+ application/x-www-form-urlencoded:
17939
+ schema:
17940
+ $ref: '#/components/schemas/PatchedUserGroup'
17941
+ multipart/form-data:
17942
+ schema:
17943
+ $ref: '#/components/schemas/PatchedUserGroup'
17944
+ '*/*':
17945
+ schema:
17946
+ $ref: '#/components/schemas/PatchedUserGroup'
17947
+ security:
17948
+ - PlatformApiKeyAuthentication: []
17949
+ responses:
17950
+ '200':
17951
+ content:
17952
+ application/json:
17953
+ schema:
17954
+ $ref: '#/components/schemas/UserGroup'
17955
+ description: ''
17956
+ '400':
17957
+ description: |-
17958
+ Invalid input data. Common errors include:
17959
+ - Users do not belong to the specified platform
17960
+ - Invalid user IDs provided
17961
+ '404':
17962
+ description: UserGroup not found
17963
+ delete:
17964
+ operationId: core_user_groups_destroy
17965
+ description: Delete a UserGroup and all associated user group links.
17966
+ summary: Delete UserGroup
17967
+ parameters:
17968
+ - in: path
17969
+ name: id
17970
+ schema:
17971
+ type: integer
17972
+ description: A unique integer value identifying this User Group.
17973
+ required: true
17974
+ tags:
17975
+ - core
17976
+ security:
17977
+ - PlatformApiKeyAuthentication: []
17978
+ responses:
17979
+ '204':
17980
+ description: UserGroup deleted successfully
17981
+ '404':
17982
+ description: UserGroup not found
17983
+ /api/core/user_groups/:
17984
+ get:
17985
+ operationId: core_user_groups_retrieve_2
17753
17986
  description: Show (active) user groups associated with a platform
17754
17987
  tags:
17755
17988
  - core
@@ -17759,7 +17992,7 @@ paths:
17759
17992
  '200':
17760
17993
  description: No response body
17761
17994
  post:
17762
- operationId: core_user_groups_create
17995
+ operationId: core_user_groups_create_2
17763
17996
  description: Create/update a user group
17764
17997
  tags:
17765
17998
  - core
@@ -17769,7 +18002,7 @@ paths:
17769
18002
  '200':
17770
18003
  description: No response body
17771
18004
  delete:
17772
- operationId: core_user_groups_destroy
18005
+ operationId: core_user_groups_destroy_2
17773
18006
  description: Delete user group
17774
18007
  tags:
17775
18008
  - core
@@ -37234,6 +37467,29 @@ components:
37234
37467
  type: array
37235
37468
  items:
37236
37469
  $ref: '#/components/schemas/UserApp'
37470
+ PaginatedUserGroupList:
37471
+ type: object
37472
+ required:
37473
+ - count
37474
+ - results
37475
+ properties:
37476
+ count:
37477
+ type: integer
37478
+ example: 123
37479
+ next:
37480
+ type: string
37481
+ nullable: true
37482
+ format: uri
37483
+ example: http://api.example.org/accounts/?page=4
37484
+ previous:
37485
+ type: string
37486
+ nullable: true
37487
+ format: uri
37488
+ example: http://api.example.org/accounts/?page=2
37489
+ results:
37490
+ type: array
37491
+ items:
37492
+ $ref: '#/components/schemas/UserGroup'
37237
37493
  PaginatedUserLicense:
37238
37494
  type: object
37239
37495
  description: Response serializer for paginated user license list
@@ -37906,6 +38162,41 @@ components:
37906
38162
  platform:
37907
38163
  type: string
37908
38164
  description: The platform key
38165
+ PatchedUserGroup:
38166
+ type: object
38167
+ description: Serializer for UserGroups.
38168
+ properties:
38169
+ id:
38170
+ type: integer
38171
+ readOnly: true
38172
+ name:
38173
+ type: string
38174
+ nullable: true
38175
+ description: Group display name
38176
+ maxLength: 255
38177
+ platform:
38178
+ allOf:
38179
+ - $ref: '#/components/schemas/RbacPlatform'
38180
+ readOnly: true
38181
+ platform_key:
38182
+ type: string
38183
+ description: The platform key
38184
+ writeOnly: true
38185
+ description:
38186
+ type: string
38187
+ nullable: true
38188
+ description: Group description
38189
+ owner:
38190
+ allOf:
38191
+ - $ref: '#/components/schemas/RbacUser'
38192
+ readOnly: true
38193
+ users_to_set:
38194
+ type: array
38195
+ items:
38196
+ type: integer
38197
+ writeOnly: true
38198
+ description: List of user IDs to set in this group (replaces all existing
38199
+ users)
37909
38200
  Pathway:
37910
38201
  type: object
37911
38202
  properties:
@@ -43335,6 +43626,47 @@ components:
43335
43626
  type: string
43336
43627
  required:
43337
43628
  - message
43629
+ UserGroup:
43630
+ type: object
43631
+ description: Serializer for UserGroups.
43632
+ properties:
43633
+ id:
43634
+ type: integer
43635
+ readOnly: true
43636
+ name:
43637
+ type: string
43638
+ nullable: true
43639
+ description: Group display name
43640
+ maxLength: 255
43641
+ platform:
43642
+ allOf:
43643
+ - $ref: '#/components/schemas/RbacPlatform'
43644
+ readOnly: true
43645
+ platform_key:
43646
+ type: string
43647
+ description: The platform key
43648
+ writeOnly: true
43649
+ description:
43650
+ type: string
43651
+ nullable: true
43652
+ description: Group description
43653
+ owner:
43654
+ allOf:
43655
+ - $ref: '#/components/schemas/RbacUser'
43656
+ readOnly: true
43657
+ users_to_set:
43658
+ type: array
43659
+ items:
43660
+ type: integer
43661
+ writeOnly: true
43662
+ description: List of user IDs to set in this group (replaces all existing
43663
+ users)
43664
+ required:
43665
+ - id
43666
+ - name
43667
+ - owner
43668
+ - platform
43669
+ - platform_key
43338
43670
  UserGroupAccess:
43339
43671
  type: object
43340
43672
  description: ModelSerializer for user group access policies
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.95.2-core',
24
+ VERSION: '4.102.0-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -224,6 +224,7 @@ export type { PaginatedRbacPolicyList } from './models/PaginatedRbacPolicyList';
224
224
  export type { PaginatedRbacRoleList } from './models/PaginatedRbacRoleList';
225
225
  export type { PaginatedSkill } from './models/PaginatedSkill';
226
226
  export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
227
+ export type { PaginatedUserGroupList } from './models/PaginatedUserGroupList';
227
228
  export type { PaginatedUserLicense } from './models/PaginatedUserLicense';
228
229
  export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicenseAssignment';
229
230
  export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
@@ -240,6 +241,7 @@ export type { PatchedRbacRole } from './models/PatchedRbacRole';
240
241
  export type { PatchedSCIMGroup } from './models/PatchedSCIMGroup';
241
242
  export type { PatchedSCIMUserResponse } from './models/PatchedSCIMUserResponse';
242
243
  export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
244
+ export type { PatchedUserGroup } from './models/PatchedUserGroup';
243
245
  export type { Pathway } from './models/Pathway';
244
246
  export type { PathwayCompletion } from './models/PathwayCompletion';
245
247
  export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
@@ -437,6 +439,7 @@ export type { UserApp } from './models/UserApp';
437
439
  export type { UserDeleteAPIError } from './models/UserDeleteAPIError';
438
440
  export type { UserDeleteAPIRequest } from './models/UserDeleteAPIRequest';
439
441
  export type { UserDeleteAPIResponse } from './models/UserDeleteAPIResponse';
442
+ export type { UserGroup } from './models/UserGroup';
440
443
  export type { UserGroupAccess } from './models/UserGroupAccess';
441
444
  export type { UserGroupAccessInfo } from './models/UserGroupAccessInfo';
442
445
  export type { UserInfo } from './models/UserInfo';
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { UserGroup } from './UserGroup';
6
+ export type PaginatedUserGroupList = {
7
+ count: number;
8
+ next?: string | null;
9
+ previous?: string | null;
10
+ results: Array<UserGroup>;
11
+ };
12
+
@@ -0,0 +1,31 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { RbacPlatform } from './RbacPlatform';
6
+ import type { RbacUser } from './RbacUser';
7
+ /**
8
+ * Serializer for UserGroups.
9
+ */
10
+ export type PatchedUserGroup = {
11
+ readonly id?: number;
12
+ /**
13
+ * Group display name
14
+ */
15
+ name?: string | null;
16
+ readonly platform?: RbacPlatform;
17
+ /**
18
+ * The platform key
19
+ */
20
+ platform_key?: string;
21
+ /**
22
+ * Group description
23
+ */
24
+ description?: string | null;
25
+ readonly owner?: RbacUser;
26
+ /**
27
+ * List of user IDs to set in this group (replaces all existing users)
28
+ */
29
+ users_to_set?: Array<number>;
30
+ };
31
+
@@ -0,0 +1,31 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { RbacPlatform } from './RbacPlatform';
6
+ import type { RbacUser } from './RbacUser';
7
+ /**
8
+ * Serializer for UserGroups.
9
+ */
10
+ export type UserGroup = {
11
+ readonly id: number;
12
+ /**
13
+ * Group display name
14
+ */
15
+ name: string | null;
16
+ readonly platform: RbacPlatform;
17
+ /**
18
+ * The platform key
19
+ */
20
+ platform_key: string;
21
+ /**
22
+ * Group description
23
+ */
24
+ description?: string | null;
25
+ readonly owner: RbacUser;
26
+ /**
27
+ * List of user IDs to set in this group (replaces all existing users)
28
+ */
29
+ users_to_set?: Array<number>;
30
+ };
31
+