@iblai/iblai-api 3.47.2-core → 3.48.0-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.
Files changed (52) hide show
  1. package/dist/index.cjs.js +512 -72
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +512 -72
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +512 -72
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +17 -3
  8. package/dist/types/models/PaginatedRbacGroupList.d.ts +7 -0
  9. package/dist/types/models/PaginatedRbacGroupRoleList.d.ts +7 -0
  10. package/dist/types/models/PaginatedRbacPolicyList.d.ts +7 -0
  11. package/dist/types/models/PaginatedRbacRoleList.d.ts +7 -0
  12. package/dist/types/models/PaginatedRbacUserRoleList.d.ts +7 -0
  13. package/dist/types/models/PatchedRbacGroup.d.ts +34 -0
  14. package/dist/types/models/PatchedRbacGroupRole.d.ts +13 -0
  15. package/dist/types/models/PatchedRbacPolicy.d.ts +28 -0
  16. package/dist/types/models/PatchedRbacRole.d.ts +20 -0
  17. package/dist/types/models/PatchedRbacUserRole.d.ts +28 -0
  18. package/dist/types/models/RbacGroup.d.ts +34 -0
  19. package/dist/types/models/RbacGroupRole.d.ts +13 -0
  20. package/dist/types/models/RbacPlatform.d.ts +14 -0
  21. package/dist/types/models/RbacPolicy.d.ts +28 -0
  22. package/dist/types/models/RbacRole.d.ts +20 -0
  23. package/dist/types/models/RbacUser.d.ts +13 -0
  24. package/dist/types/models/RbacUserRole.d.ts +28 -0
  25. package/dist/types/services/CoreService.d.ts +232 -43
  26. package/package.json +1 -1
  27. package/src/core/OpenAPI.ts +1 -1
  28. package/src/index.ts +17 -3
  29. package/src/models/PaginatedRbacGroupList.ts +12 -0
  30. package/src/models/PaginatedRbacGroupRoleList.ts +12 -0
  31. package/src/models/PaginatedRbacPolicyList.ts +12 -0
  32. package/src/models/PaginatedRbacRoleList.ts +12 -0
  33. package/src/models/PaginatedRbacUserRoleList.ts +12 -0
  34. package/src/models/PatchedRbacGroup.ts +39 -0
  35. package/src/models/PatchedRbacGroupRole.ts +18 -0
  36. package/src/models/PatchedRbacPolicy.ts +33 -0
  37. package/src/models/PatchedRbacRole.ts +25 -0
  38. package/src/models/PatchedRbacUserRole.ts +33 -0
  39. package/src/models/RbacGroup.ts +39 -0
  40. package/src/models/RbacGroupRole.ts +18 -0
  41. package/src/models/RbacPlatform.ts +19 -0
  42. package/src/models/RbacPolicy.ts +33 -0
  43. package/src/models/RbacRole.ts +25 -0
  44. package/src/models/RbacUser.ts +18 -0
  45. package/src/models/RbacUserRole.ts +33 -0
  46. package/src/services/CoreService.ts +610 -80
  47. package/dist/types/models/CheckPermissionRequest.d.ts +0 -22
  48. package/dist/types/models/RolePermissions.d.ts +0 -17
  49. package/dist/types/models/UserRole.d.ts +0 -25
  50. package/src/models/CheckPermissionRequest.ts +0 -27
  51. package/src/models/RolePermissions.ts +0 -22
  52. package/src/models/UserRole.ts +0 -30
@@ -1,22 +0,0 @@
1
- export type CheckPermissionRequest = {
2
- /**
3
- * ID of the user to check permissions for.
4
- */
5
- user_id: number;
6
- /**
7
- * Platform key.
8
- */
9
- platform_key: string;
10
- /**
11
- * Action to check permissions for.
12
- */
13
- action: string;
14
- /**
15
- * ID of the object to check permissions for.
16
- */
17
- object_id: number;
18
- /**
19
- * Type of the object (e.g., 'user', 'platform').
20
- */
21
- object_type: string;
22
- };
@@ -1,17 +0,0 @@
1
- /**
2
- * Serializer for role permissions.
3
- */
4
- export type RolePermissions = {
5
- /**
6
- * Role to check permissions for.
7
- */
8
- role: string;
9
- /**
10
- * Platform id (optional).
11
- */
12
- platform_key: string;
13
- /**
14
- * Action to check permissions for.
15
- */
16
- action: string;
17
- };
@@ -1,25 +0,0 @@
1
- /**
2
- * Serializer for adding a user to a role.
3
- */
4
- export type UserRole = {
5
- /**
6
- * ID of the user to add.
7
- */
8
- user_id: number;
9
- /**
10
- * Role to assign to the user.
11
- */
12
- role: string;
13
- /**
14
- * Platform id (optional).
15
- */
16
- platform_key: string;
17
- /**
18
- * object ID.
19
- */
20
- object_id: number;
21
- /**
22
- * Type of the object (e.g., 'user', platform, mentor).
23
- */
24
- object_type: string;
25
- };
@@ -1,27 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type CheckPermissionRequest = {
6
- /**
7
- * ID of the user to check permissions for.
8
- */
9
- user_id: number;
10
- /**
11
- * Platform key.
12
- */
13
- platform_key: string;
14
- /**
15
- * Action to check permissions for.
16
- */
17
- action: string;
18
- /**
19
- * ID of the object to check permissions for.
20
- */
21
- object_id: number;
22
- /**
23
- * Type of the object (e.g., 'user', 'platform').
24
- */
25
- object_type: string;
26
- };
27
-
@@ -1,22 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- /**
6
- * Serializer for role permissions.
7
- */
8
- export type RolePermissions = {
9
- /**
10
- * Role to check permissions for.
11
- */
12
- role: string;
13
- /**
14
- * Platform id (optional).
15
- */
16
- platform_key: string;
17
- /**
18
- * Action to check permissions for.
19
- */
20
- action: string;
21
- };
22
-
@@ -1,30 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- /**
6
- * Serializer for adding a user to a role.
7
- */
8
- export type UserRole = {
9
- /**
10
- * ID of the user to add.
11
- */
12
- user_id: number;
13
- /**
14
- * Role to assign to the user.
15
- */
16
- role: string;
17
- /**
18
- * Platform id (optional).
19
- */
20
- platform_key: string;
21
- /**
22
- * object ID.
23
- */
24
- object_id: number;
25
- /**
26
- * Type of the object (e.g., 'user', platform, mentor).
27
- */
28
- object_type: string;
29
- };
30
-