@iblai/iblai-api 2025.11.6-teams-bot-renovation-3-core → 2025.11.7-google-a2a-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/dist/index.cjs.js +15 -59
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -59
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +15 -59
- package/dist/index.umd.js.map +1 -1
- package/dist/types/models/PatchedRbacGroup.d.ts +0 -4
- package/dist/types/models/PatchedRbacPolicy.d.ts +0 -4
- package/dist/types/models/PatchedRbacRole.d.ts +0 -4
- package/dist/types/models/RbacGroup.d.ts +0 -4
- package/dist/types/models/RbacPolicy.d.ts +0 -4
- package/dist/types/models/RbacRole.d.ts +0 -4
- package/dist/types/models/RbacUser.d.ts +0 -4
- package/dist/types/services/CoreService.d.ts +11 -51
- package/package.json +1 -1
- package/sdk_schema.yml +9 -154
- package/src/core/OpenAPI.ts +1 -1
- package/src/models/PatchedRbacGroup.ts +0 -4
- package/src/models/PatchedRbacPolicy.ts +0 -4
- package/src/models/PatchedRbacRole.ts +0 -4
- package/src/models/RbacGroup.ts +0 -4
- package/src/models/RbacPolicy.ts +0 -4
- package/src/models/RbacRole.ts +0 -4
- package/src/models/RbacUser.ts +0 -4
- package/src/services/CoreService.ts +8 -92
|
@@ -1406,32 +1406,21 @@ export class CoreService {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
/**
|
|
1408
1408
|
* List RBAC groups
|
|
1409
|
-
* Retrieve a list of RBAC groups. Can be filtered by platform_key
|
|
1409
|
+
* Retrieve a list of RBAC groups. Can be filtered by platform_key.
|
|
1410
1410
|
* @returns PaginatedRbacGroupList
|
|
1411
1411
|
* @throws ApiError
|
|
1412
1412
|
*/
|
|
1413
1413
|
public static coreRbacGroupsList({
|
|
1414
|
-
email,
|
|
1415
1414
|
includeUsers = true,
|
|
1416
|
-
name,
|
|
1417
1415
|
owner,
|
|
1418
1416
|
page,
|
|
1419
1417
|
pageSize,
|
|
1420
1418
|
platformKey,
|
|
1421
|
-
username,
|
|
1422
1419
|
}: {
|
|
1423
1420
|
/**
|
|
1424
|
-
*
|
|
1425
|
-
*/
|
|
1426
|
-
email?: string,
|
|
1427
|
-
/**
|
|
1428
|
-
* Include user information in response (default: true)
|
|
1421
|
+
* Include user information in response (default: false for performance)
|
|
1429
1422
|
*/
|
|
1430
1423
|
includeUsers?: boolean,
|
|
1431
|
-
/**
|
|
1432
|
-
* Filter groups by name (case-insensitive partial match)
|
|
1433
|
-
*/
|
|
1434
|
-
name?: string,
|
|
1435
1424
|
/**
|
|
1436
1425
|
* Filter groups by owner username
|
|
1437
1426
|
*/
|
|
@@ -1448,26 +1437,16 @@ export class CoreService {
|
|
|
1448
1437
|
* Filter groups by platform key
|
|
1449
1438
|
*/
|
|
1450
1439
|
platformKey?: string,
|
|
1451
|
-
/**
|
|
1452
|
-
* Filter groups by username (exact match, case-insensitive)
|
|
1453
|
-
*/
|
|
1454
|
-
username?: string,
|
|
1455
1440
|
}): CancelablePromise<PaginatedRbacGroupList> {
|
|
1456
1441
|
return __request(OpenAPI, {
|
|
1457
1442
|
method: 'GET',
|
|
1458
1443
|
url: '/api/core/rbac/groups/',
|
|
1459
1444
|
query: {
|
|
1460
|
-
'email': email,
|
|
1461
1445
|
'include_users': includeUsers,
|
|
1462
|
-
'name': name,
|
|
1463
1446
|
'owner': owner,
|
|
1464
1447
|
'page': page,
|
|
1465
1448
|
'page_size': pageSize,
|
|
1466
1449
|
'platform_key': platformKey,
|
|
1467
|
-
'username': username,
|
|
1468
|
-
},
|
|
1469
|
-
errors: {
|
|
1470
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1471
1450
|
},
|
|
1472
1451
|
});
|
|
1473
1452
|
}
|
|
@@ -1491,7 +1470,6 @@ export class CoreService {
|
|
|
1491
1470
|
400: `Invalid input data. Common errors include:
|
|
1492
1471
|
- Users do not belong to the specified platform
|
|
1493
1472
|
- Invalid user IDs provided`,
|
|
1494
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1495
1473
|
},
|
|
1496
1474
|
});
|
|
1497
1475
|
}
|
|
@@ -1516,14 +1494,13 @@ export class CoreService {
|
|
|
1516
1494
|
'id': id,
|
|
1517
1495
|
},
|
|
1518
1496
|
errors: {
|
|
1519
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1520
1497
|
404: `Group not found`,
|
|
1521
1498
|
},
|
|
1522
1499
|
});
|
|
1523
1500
|
}
|
|
1524
1501
|
/**
|
|
1525
1502
|
* Update RBAC group
|
|
1526
|
-
* Update an existing RBAC group. Platform validation applies for user assignments.
|
|
1503
|
+
* Update an existing RBAC group. Platform validation applies for user assignments.
|
|
1527
1504
|
* @returns RbacGroup
|
|
1528
1505
|
* @throws ApiError
|
|
1529
1506
|
*/
|
|
@@ -1549,14 +1526,13 @@ export class CoreService {
|
|
|
1549
1526
|
400: `Invalid input data. Common errors include:
|
|
1550
1527
|
- Users do not belong to the specified platform
|
|
1551
1528
|
- Invalid user IDs provided`,
|
|
1552
|
-
403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
|
|
1553
1529
|
404: `Group not found`,
|
|
1554
1530
|
},
|
|
1555
1531
|
});
|
|
1556
1532
|
}
|
|
1557
1533
|
/**
|
|
1558
1534
|
* Partially update RBAC group
|
|
1559
|
-
* Partially update an existing RBAC group. Platform validation applies for user assignments.
|
|
1535
|
+
* Partially update an existing RBAC group. Platform validation applies for user assignments.
|
|
1560
1536
|
* @returns RbacGroup
|
|
1561
1537
|
* @throws ApiError
|
|
1562
1538
|
*/
|
|
@@ -1582,14 +1558,13 @@ export class CoreService {
|
|
|
1582
1558
|
400: `Invalid input data. Common errors include:
|
|
1583
1559
|
- Users do not belong to the specified platform
|
|
1584
1560
|
- Invalid user IDs provided`,
|
|
1585
|
-
403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
|
|
1586
1561
|
404: `Group not found`,
|
|
1587
1562
|
},
|
|
1588
1563
|
});
|
|
1589
1564
|
}
|
|
1590
1565
|
/**
|
|
1591
1566
|
* Delete RBAC group
|
|
1592
|
-
* Delete an RBAC group and all associated group role assignments.
|
|
1567
|
+
* Delete an RBAC group and all associated group role assignments.
|
|
1593
1568
|
* @returns void
|
|
1594
1569
|
* @throws ApiError
|
|
1595
1570
|
*/
|
|
@@ -1616,7 +1591,6 @@ export class CoreService {
|
|
|
1616
1591
|
'platform_key': platformKey,
|
|
1617
1592
|
},
|
|
1618
1593
|
errors: {
|
|
1619
|
-
403: `Permission denied - insufficient RBAC permissions or attempting to delete internal system group`,
|
|
1620
1594
|
404: `Group not found`,
|
|
1621
1595
|
},
|
|
1622
1596
|
});
|
|
@@ -1703,42 +1677,16 @@ export class CoreService {
|
|
|
1703
1677
|
}
|
|
1704
1678
|
/**
|
|
1705
1679
|
* List RBAC policies
|
|
1706
|
-
* Retrieve a list of RBAC policies. Can be filtered by platform_key
|
|
1680
|
+
* Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
|
|
1707
1681
|
* @returns PaginatedRbacPolicyList
|
|
1708
1682
|
* @throws ApiError
|
|
1709
1683
|
*/
|
|
1710
1684
|
public static coreRbacPoliciesList({
|
|
1711
|
-
email,
|
|
1712
|
-
group,
|
|
1713
|
-
includeGroups = true,
|
|
1714
|
-
includeUsers = true,
|
|
1715
|
-
name,
|
|
1716
1685
|
page,
|
|
1717
1686
|
pageSize,
|
|
1718
1687
|
platformKey,
|
|
1719
1688
|
roleId,
|
|
1720
|
-
username,
|
|
1721
1689
|
}: {
|
|
1722
|
-
/**
|
|
1723
|
-
* Filter policies by email (exact match, case-insensitive) - includes users in policy or in policy's groups
|
|
1724
|
-
*/
|
|
1725
|
-
email?: string,
|
|
1726
|
-
/**
|
|
1727
|
-
* Filter policies by group name (exact match, case-insensitive)
|
|
1728
|
-
*/
|
|
1729
|
-
group?: string,
|
|
1730
|
-
/**
|
|
1731
|
-
* Include group information in response (default: true)
|
|
1732
|
-
*/
|
|
1733
|
-
includeGroups?: boolean,
|
|
1734
|
-
/**
|
|
1735
|
-
* Include user information in response (default: true)
|
|
1736
|
-
*/
|
|
1737
|
-
includeUsers?: boolean,
|
|
1738
|
-
/**
|
|
1739
|
-
* Filter policies by name (case-insensitive partial match)
|
|
1740
|
-
*/
|
|
1741
|
-
name?: string,
|
|
1742
1690
|
/**
|
|
1743
1691
|
* A page number within the paginated result set.
|
|
1744
1692
|
*/
|
|
@@ -1755,28 +1703,15 @@ export class CoreService {
|
|
|
1755
1703
|
* Filter policies by role ID
|
|
1756
1704
|
*/
|
|
1757
1705
|
roleId?: number,
|
|
1758
|
-
/**
|
|
1759
|
-
* Filter policies by username (exact match, case-insensitive) - includes users in policy or in policy's groups
|
|
1760
|
-
*/
|
|
1761
|
-
username?: string,
|
|
1762
1706
|
}): CancelablePromise<PaginatedRbacPolicyList> {
|
|
1763
1707
|
return __request(OpenAPI, {
|
|
1764
1708
|
method: 'GET',
|
|
1765
1709
|
url: '/api/core/rbac/policies/',
|
|
1766
1710
|
query: {
|
|
1767
|
-
'email': email,
|
|
1768
|
-
'group': group,
|
|
1769
|
-
'include_groups': includeGroups,
|
|
1770
|
-
'include_users': includeUsers,
|
|
1771
|
-
'name': name,
|
|
1772
1711
|
'page': page,
|
|
1773
1712
|
'page_size': pageSize,
|
|
1774
1713
|
'platform_key': platformKey,
|
|
1775
1714
|
'role_id': roleId,
|
|
1776
|
-
'username': username,
|
|
1777
|
-
},
|
|
1778
|
-
errors: {
|
|
1779
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1780
1715
|
},
|
|
1781
1716
|
});
|
|
1782
1717
|
}
|
|
@@ -1798,7 +1733,6 @@ export class CoreService {
|
|
|
1798
1733
|
mediaType: 'application/json',
|
|
1799
1734
|
errors: {
|
|
1800
1735
|
400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
|
|
1801
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1802
1736
|
},
|
|
1803
1737
|
});
|
|
1804
1738
|
}
|
|
@@ -1823,7 +1757,6 @@ export class CoreService {
|
|
|
1823
1757
|
'id': id,
|
|
1824
1758
|
},
|
|
1825
1759
|
errors: {
|
|
1826
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1827
1760
|
404: `Policy not found`,
|
|
1828
1761
|
},
|
|
1829
1762
|
});
|
|
@@ -1854,7 +1787,6 @@ export class CoreService {
|
|
|
1854
1787
|
mediaType: 'application/json',
|
|
1855
1788
|
errors: {
|
|
1856
1789
|
400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
|
|
1857
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1858
1790
|
404: `Policy not found`,
|
|
1859
1791
|
},
|
|
1860
1792
|
});
|
|
@@ -1885,7 +1817,6 @@ export class CoreService {
|
|
|
1885
1817
|
mediaType: 'application/json',
|
|
1886
1818
|
errors: {
|
|
1887
1819
|
400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
|
|
1888
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1889
1820
|
404: `Policy not found`,
|
|
1890
1821
|
},
|
|
1891
1822
|
});
|
|
@@ -1919,27 +1850,21 @@ export class CoreService {
|
|
|
1919
1850
|
'platform_key': platformKey,
|
|
1920
1851
|
},
|
|
1921
1852
|
errors: {
|
|
1922
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1923
1853
|
404: `Policy not found`,
|
|
1924
1854
|
},
|
|
1925
1855
|
});
|
|
1926
1856
|
}
|
|
1927
1857
|
/**
|
|
1928
1858
|
* List RBAC roles
|
|
1929
|
-
* Retrieve a list of RBAC roles. Can be filtered by platform_key
|
|
1859
|
+
* Retrieve a list of RBAC roles. Can be filtered by platform_key.
|
|
1930
1860
|
* @returns PaginatedRbacRoleList
|
|
1931
1861
|
* @throws ApiError
|
|
1932
1862
|
*/
|
|
1933
1863
|
public static coreRbacRolesList({
|
|
1934
|
-
name,
|
|
1935
1864
|
page,
|
|
1936
1865
|
pageSize,
|
|
1937
1866
|
platformKey,
|
|
1938
1867
|
}: {
|
|
1939
|
-
/**
|
|
1940
|
-
* Filter roles by name (case-insensitive partial match)
|
|
1941
|
-
*/
|
|
1942
|
-
name?: string,
|
|
1943
1868
|
/**
|
|
1944
1869
|
* A page number within the paginated result set.
|
|
1945
1870
|
*/
|
|
@@ -1957,14 +1882,10 @@ export class CoreService {
|
|
|
1957
1882
|
method: 'GET',
|
|
1958
1883
|
url: '/api/core/rbac/roles/',
|
|
1959
1884
|
query: {
|
|
1960
|
-
'name': name,
|
|
1961
1885
|
'page': page,
|
|
1962
1886
|
'page_size': pageSize,
|
|
1963
1887
|
'platform_key': platformKey,
|
|
1964
1888
|
},
|
|
1965
|
-
errors: {
|
|
1966
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1967
|
-
},
|
|
1968
1889
|
});
|
|
1969
1890
|
}
|
|
1970
1891
|
/**
|
|
@@ -1985,7 +1906,6 @@ export class CoreService {
|
|
|
1985
1906
|
mediaType: 'application/json',
|
|
1986
1907
|
errors: {
|
|
1987
1908
|
400: `Invalid input data`,
|
|
1988
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
1989
1909
|
},
|
|
1990
1910
|
});
|
|
1991
1911
|
}
|
|
@@ -2010,7 +1930,6 @@ export class CoreService {
|
|
|
2010
1930
|
'id': id,
|
|
2011
1931
|
},
|
|
2012
1932
|
errors: {
|
|
2013
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
2014
1933
|
404: `Role not found`,
|
|
2015
1934
|
},
|
|
2016
1935
|
});
|
|
@@ -2041,7 +1960,6 @@ export class CoreService {
|
|
|
2041
1960
|
mediaType: 'application/json',
|
|
2042
1961
|
errors: {
|
|
2043
1962
|
400: `Invalid input data`,
|
|
2044
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
2045
1963
|
404: `Role not found`,
|
|
2046
1964
|
},
|
|
2047
1965
|
});
|
|
@@ -2072,14 +1990,13 @@ export class CoreService {
|
|
|
2072
1990
|
mediaType: 'application/json',
|
|
2073
1991
|
errors: {
|
|
2074
1992
|
400: `Invalid input data`,
|
|
2075
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
2076
1993
|
404: `Role not found`,
|
|
2077
1994
|
},
|
|
2078
1995
|
});
|
|
2079
1996
|
}
|
|
2080
1997
|
/**
|
|
2081
1998
|
* Delete RBAC role
|
|
2082
|
-
* Delete an RBAC role.
|
|
1999
|
+
* Delete an RBAC role.
|
|
2083
2000
|
* @returns void
|
|
2084
2001
|
* @throws ApiError
|
|
2085
2002
|
*/
|
|
@@ -2106,7 +2023,6 @@ export class CoreService {
|
|
|
2106
2023
|
'platform_key': platformKey,
|
|
2107
2024
|
},
|
|
2108
2025
|
errors: {
|
|
2109
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
2110
2026
|
404: `Role not found`,
|
|
2111
2027
|
},
|
|
2112
2028
|
});
|