@flipdish/authorization 0.0.2-rc.1756733622 → 0.0.2
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/.openapi-generator/FILES +0 -1
- package/README.md +111 -1
- package/api.ts +64 -215
- package/configuration.ts +1 -1
- package/dist/api.d.ts +46 -183
- package/dist/api.js +66 -62
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/configuration.js +1 -1
- package/package.json +2 -3
package/dist/api.d.ts
CHANGED
|
@@ -1380,25 +1380,12 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Authenticate and authorize a user to perform an action
|
|
1382
1382
|
* @summary Authenticate and authorize Request
|
|
1383
|
-
* @param {
|
|
1383
|
+
* @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
|
|
1384
1384
|
* @param {*} [options] Override http request option.
|
|
1385
1385
|
* @throws {RequiredError}
|
|
1386
1386
|
*/
|
|
1387
|
-
authenticateAndAuthorize(
|
|
1387
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest?: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticateAndAuthorizeResponse>;
|
|
1388
1388
|
};
|
|
1389
|
-
/**
|
|
1390
|
-
* Request parameters for authenticateAndAuthorize operation in AuthenticationApi.
|
|
1391
|
-
* @export
|
|
1392
|
-
* @interface AuthenticationApiAuthenticateAndAuthorizeRequest
|
|
1393
|
-
*/
|
|
1394
|
-
export interface AuthenticationApiAuthenticateAndAuthorizeRequest {
|
|
1395
|
-
/**
|
|
1396
|
-
*
|
|
1397
|
-
* @type {AuthenticateAndAuthorizeRequest}
|
|
1398
|
-
* @memberof AuthenticationApiAuthenticateAndAuthorize
|
|
1399
|
-
*/
|
|
1400
|
-
readonly authenticateAndAuthorizeRequest?: AuthenticateAndAuthorizeRequest;
|
|
1401
|
-
}
|
|
1402
1389
|
/**
|
|
1403
1390
|
* AuthenticationApi - object-oriented interface
|
|
1404
1391
|
* @export
|
|
@@ -1409,12 +1396,12 @@ export declare class AuthenticationApi extends BaseAPI {
|
|
|
1409
1396
|
/**
|
|
1410
1397
|
* Authenticate and authorize a user to perform an action
|
|
1411
1398
|
* @summary Authenticate and authorize Request
|
|
1412
|
-
* @param {
|
|
1399
|
+
* @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
|
|
1413
1400
|
* @param {*} [options] Override http request option.
|
|
1414
1401
|
* @throws {RequiredError}
|
|
1415
1402
|
* @memberof AuthenticationApi
|
|
1416
1403
|
*/
|
|
1417
|
-
authenticateAndAuthorize(
|
|
1404
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest?: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any>>;
|
|
1418
1405
|
}
|
|
1419
1406
|
/**
|
|
1420
1407
|
* AuthorizationApi - axios parameter creator
|
|
@@ -1468,46 +1455,20 @@ export declare const AuthorizationApiFactory: (configuration?: Configuration, ba
|
|
|
1468
1455
|
/**
|
|
1469
1456
|
* Authenticate and authorize a user to perform an action
|
|
1470
1457
|
* @summary Authenticate and authorize Request
|
|
1471
|
-
* @param {
|
|
1458
|
+
* @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
|
|
1472
1459
|
* @param {*} [options] Override http request option.
|
|
1473
1460
|
* @throws {RequiredError}
|
|
1474
1461
|
*/
|
|
1475
|
-
authenticateAndAuthorize(
|
|
1462
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest?: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticateAndAuthorizeResponse>;
|
|
1476
1463
|
/**
|
|
1477
1464
|
* Check if a user is authorized to perform an action
|
|
1478
1465
|
* @summary Authorize Request
|
|
1479
|
-
* @param {
|
|
1466
|
+
* @param {AuthorizationRequest} [authorizationRequest]
|
|
1480
1467
|
* @param {*} [options] Override http request option.
|
|
1481
1468
|
* @throws {RequiredError}
|
|
1482
1469
|
*/
|
|
1483
|
-
authorize(
|
|
1470
|
+
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizationResponse>;
|
|
1484
1471
|
};
|
|
1485
|
-
/**
|
|
1486
|
-
* Request parameters for authenticateAndAuthorize operation in AuthorizationApi.
|
|
1487
|
-
* @export
|
|
1488
|
-
* @interface AuthorizationApiAuthenticateAndAuthorizeRequest
|
|
1489
|
-
*/
|
|
1490
|
-
export interface AuthorizationApiAuthenticateAndAuthorizeRequest {
|
|
1491
|
-
/**
|
|
1492
|
-
*
|
|
1493
|
-
* @type {AuthenticateAndAuthorizeRequest}
|
|
1494
|
-
* @memberof AuthorizationApiAuthenticateAndAuthorize
|
|
1495
|
-
*/
|
|
1496
|
-
readonly authenticateAndAuthorizeRequest?: AuthenticateAndAuthorizeRequest;
|
|
1497
|
-
}
|
|
1498
|
-
/**
|
|
1499
|
-
* Request parameters for authorize operation in AuthorizationApi.
|
|
1500
|
-
* @export
|
|
1501
|
-
* @interface AuthorizationApiAuthorizeRequest
|
|
1502
|
-
*/
|
|
1503
|
-
export interface AuthorizationApiAuthorizeRequest {
|
|
1504
|
-
/**
|
|
1505
|
-
*
|
|
1506
|
-
* @type {AuthorizationRequest}
|
|
1507
|
-
* @memberof AuthorizationApiAuthorize
|
|
1508
|
-
*/
|
|
1509
|
-
readonly authorizationRequest?: AuthorizationRequest;
|
|
1510
|
-
}
|
|
1511
1472
|
/**
|
|
1512
1473
|
* AuthorizationApi - object-oriented interface
|
|
1513
1474
|
* @export
|
|
@@ -1518,21 +1479,21 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1518
1479
|
/**
|
|
1519
1480
|
* Authenticate and authorize a user to perform an action
|
|
1520
1481
|
* @summary Authenticate and authorize Request
|
|
1521
|
-
* @param {
|
|
1482
|
+
* @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
|
|
1522
1483
|
* @param {*} [options] Override http request option.
|
|
1523
1484
|
* @throws {RequiredError}
|
|
1524
1485
|
* @memberof AuthorizationApi
|
|
1525
1486
|
*/
|
|
1526
|
-
authenticateAndAuthorize(
|
|
1487
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest?: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any>>;
|
|
1527
1488
|
/**
|
|
1528
1489
|
* Check if a user is authorized to perform an action
|
|
1529
1490
|
* @summary Authorize Request
|
|
1530
|
-
* @param {
|
|
1491
|
+
* @param {AuthorizationRequest} [authorizationRequest]
|
|
1531
1492
|
* @param {*} [options] Override http request option.
|
|
1532
1493
|
* @throws {RequiredError}
|
|
1533
1494
|
* @memberof AuthorizationApi
|
|
1534
1495
|
*/
|
|
1535
|
-
authorize(
|
|
1496
|
+
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationResponse, any>>;
|
|
1536
1497
|
}
|
|
1537
1498
|
/**
|
|
1538
1499
|
* PermissionsApi - axios parameter creator
|
|
@@ -1681,112 +1642,40 @@ export declare const RoleAssignmentApiFactory: (configuration?: Configuration, b
|
|
|
1681
1642
|
/**
|
|
1682
1643
|
* Assigns a specified role to a given principal (user, group, etc.)
|
|
1683
1644
|
* @summary Assign Role to Principal
|
|
1684
|
-
* @param {
|
|
1645
|
+
* @param {string} orgId
|
|
1646
|
+
* @param {AssignRoleRequestBody} [assignRoleRequestBody]
|
|
1685
1647
|
* @param {*} [options] Override http request option.
|
|
1686
1648
|
* @throws {RequiredError}
|
|
1687
1649
|
*/
|
|
1688
|
-
assignRoleToPrincipal(
|
|
1650
|
+
assignRoleToPrincipal(orgId: string, assignRoleRequestBody?: AssignRoleRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<AssignRoleSuccessResponse>;
|
|
1689
1651
|
/**
|
|
1690
1652
|
* Get the active roles for a given principal
|
|
1691
1653
|
* @summary Get Principal Roles
|
|
1692
|
-
* @param {
|
|
1654
|
+
* @param {string} orgId
|
|
1655
|
+
* @param {GetPrincipalRolesRequestBody} [getPrincipalRolesRequestBody]
|
|
1693
1656
|
* @param {*} [options] Override http request option.
|
|
1694
1657
|
* @throws {RequiredError}
|
|
1695
1658
|
*/
|
|
1696
|
-
getPrincipalRoles(
|
|
1659
|
+
getPrincipalRoles(orgId: string, getPrincipalRolesRequestBody?: GetPrincipalRolesRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<GetPrincipalRolesSuccessResponse>;
|
|
1697
1660
|
/**
|
|
1698
1661
|
* Revokes a forbidden role from a given principal (user, group, etc.)
|
|
1699
1662
|
* @summary Revoke Forbidden Role from Principal
|
|
1700
|
-
* @param {
|
|
1663
|
+
* @param {string} orgId
|
|
1664
|
+
* @param {RevokeForbiddenRoleRequestBody} [revokeForbiddenRoleRequestBody]
|
|
1701
1665
|
* @param {*} [options] Override http request option.
|
|
1702
1666
|
* @throws {RequiredError}
|
|
1703
1667
|
*/
|
|
1704
|
-
revokeForbiddenRoleFromPrincipal(
|
|
1668
|
+
revokeForbiddenRoleFromPrincipal(orgId: string, revokeForbiddenRoleRequestBody?: RevokeForbiddenRoleRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<RevokeRoleSuccessResponse>;
|
|
1705
1669
|
/**
|
|
1706
1670
|
* Revokes a specified role from a given principal (user, group, etc.)
|
|
1707
1671
|
* @summary Revoke Role from Principal
|
|
1708
|
-
* @param {
|
|
1672
|
+
* @param {string} orgId
|
|
1673
|
+
* @param {RevokeRoleRequestBody} [revokeRoleRequestBody]
|
|
1709
1674
|
* @param {*} [options] Override http request option.
|
|
1710
1675
|
* @throws {RequiredError}
|
|
1711
1676
|
*/
|
|
1712
|
-
revokeRoleFromPrincipal(
|
|
1677
|
+
revokeRoleFromPrincipal(orgId: string, revokeRoleRequestBody?: RevokeRoleRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<RevokeRoleSuccessResponse>;
|
|
1713
1678
|
};
|
|
1714
|
-
/**
|
|
1715
|
-
* Request parameters for assignRoleToPrincipal operation in RoleAssignmentApi.
|
|
1716
|
-
* @export
|
|
1717
|
-
* @interface RoleAssignmentApiAssignRoleToPrincipalRequest
|
|
1718
|
-
*/
|
|
1719
|
-
export interface RoleAssignmentApiAssignRoleToPrincipalRequest {
|
|
1720
|
-
/**
|
|
1721
|
-
*
|
|
1722
|
-
* @type {string}
|
|
1723
|
-
* @memberof RoleAssignmentApiAssignRoleToPrincipal
|
|
1724
|
-
*/
|
|
1725
|
-
readonly orgId: string;
|
|
1726
|
-
/**
|
|
1727
|
-
*
|
|
1728
|
-
* @type {AssignRoleRequestBody}
|
|
1729
|
-
* @memberof RoleAssignmentApiAssignRoleToPrincipal
|
|
1730
|
-
*/
|
|
1731
|
-
readonly assignRoleRequestBody?: AssignRoleRequestBody;
|
|
1732
|
-
}
|
|
1733
|
-
/**
|
|
1734
|
-
* Request parameters for getPrincipalRoles operation in RoleAssignmentApi.
|
|
1735
|
-
* @export
|
|
1736
|
-
* @interface RoleAssignmentApiGetPrincipalRolesRequest
|
|
1737
|
-
*/
|
|
1738
|
-
export interface RoleAssignmentApiGetPrincipalRolesRequest {
|
|
1739
|
-
/**
|
|
1740
|
-
*
|
|
1741
|
-
* @type {string}
|
|
1742
|
-
* @memberof RoleAssignmentApiGetPrincipalRoles
|
|
1743
|
-
*/
|
|
1744
|
-
readonly orgId: string;
|
|
1745
|
-
/**
|
|
1746
|
-
*
|
|
1747
|
-
* @type {GetPrincipalRolesRequestBody}
|
|
1748
|
-
* @memberof RoleAssignmentApiGetPrincipalRoles
|
|
1749
|
-
*/
|
|
1750
|
-
readonly getPrincipalRolesRequestBody?: GetPrincipalRolesRequestBody;
|
|
1751
|
-
}
|
|
1752
|
-
/**
|
|
1753
|
-
* Request parameters for revokeForbiddenRoleFromPrincipal operation in RoleAssignmentApi.
|
|
1754
|
-
* @export
|
|
1755
|
-
* @interface RoleAssignmentApiRevokeForbiddenRoleFromPrincipalRequest
|
|
1756
|
-
*/
|
|
1757
|
-
export interface RoleAssignmentApiRevokeForbiddenRoleFromPrincipalRequest {
|
|
1758
|
-
/**
|
|
1759
|
-
*
|
|
1760
|
-
* @type {string}
|
|
1761
|
-
* @memberof RoleAssignmentApiRevokeForbiddenRoleFromPrincipal
|
|
1762
|
-
*/
|
|
1763
|
-
readonly orgId: string;
|
|
1764
|
-
/**
|
|
1765
|
-
*
|
|
1766
|
-
* @type {RevokeForbiddenRoleRequestBody}
|
|
1767
|
-
* @memberof RoleAssignmentApiRevokeForbiddenRoleFromPrincipal
|
|
1768
|
-
*/
|
|
1769
|
-
readonly revokeForbiddenRoleRequestBody?: RevokeForbiddenRoleRequestBody;
|
|
1770
|
-
}
|
|
1771
|
-
/**
|
|
1772
|
-
* Request parameters for revokeRoleFromPrincipal operation in RoleAssignmentApi.
|
|
1773
|
-
* @export
|
|
1774
|
-
* @interface RoleAssignmentApiRevokeRoleFromPrincipalRequest
|
|
1775
|
-
*/
|
|
1776
|
-
export interface RoleAssignmentApiRevokeRoleFromPrincipalRequest {
|
|
1777
|
-
/**
|
|
1778
|
-
*
|
|
1779
|
-
* @type {string}
|
|
1780
|
-
* @memberof RoleAssignmentApiRevokeRoleFromPrincipal
|
|
1781
|
-
*/
|
|
1782
|
-
readonly orgId: string;
|
|
1783
|
-
/**
|
|
1784
|
-
*
|
|
1785
|
-
* @type {RevokeRoleRequestBody}
|
|
1786
|
-
* @memberof RoleAssignmentApiRevokeRoleFromPrincipal
|
|
1787
|
-
*/
|
|
1788
|
-
readonly revokeRoleRequestBody?: RevokeRoleRequestBody;
|
|
1789
|
-
}
|
|
1790
1679
|
/**
|
|
1791
1680
|
* RoleAssignmentApi - object-oriented interface
|
|
1792
1681
|
* @export
|
|
@@ -1797,39 +1686,43 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
1797
1686
|
/**
|
|
1798
1687
|
* Assigns a specified role to a given principal (user, group, etc.)
|
|
1799
1688
|
* @summary Assign Role to Principal
|
|
1800
|
-
* @param {
|
|
1689
|
+
* @param {string} orgId
|
|
1690
|
+
* @param {AssignRoleRequestBody} [assignRoleRequestBody]
|
|
1801
1691
|
* @param {*} [options] Override http request option.
|
|
1802
1692
|
* @throws {RequiredError}
|
|
1803
1693
|
* @memberof RoleAssignmentApi
|
|
1804
1694
|
*/
|
|
1805
|
-
assignRoleToPrincipal(
|
|
1695
|
+
assignRoleToPrincipal(orgId: string, assignRoleRequestBody?: AssignRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignRoleSuccessResponse, any>>;
|
|
1806
1696
|
/**
|
|
1807
1697
|
* Get the active roles for a given principal
|
|
1808
1698
|
* @summary Get Principal Roles
|
|
1809
|
-
* @param {
|
|
1699
|
+
* @param {string} orgId
|
|
1700
|
+
* @param {GetPrincipalRolesRequestBody} [getPrincipalRolesRequestBody]
|
|
1810
1701
|
* @param {*} [options] Override http request option.
|
|
1811
1702
|
* @throws {RequiredError}
|
|
1812
1703
|
* @memberof RoleAssignmentApi
|
|
1813
1704
|
*/
|
|
1814
|
-
getPrincipalRoles(
|
|
1705
|
+
getPrincipalRoles(orgId: string, getPrincipalRolesRequestBody?: GetPrincipalRolesRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPrincipalRolesSuccessResponse, any>>;
|
|
1815
1706
|
/**
|
|
1816
1707
|
* Revokes a forbidden role from a given principal (user, group, etc.)
|
|
1817
1708
|
* @summary Revoke Forbidden Role from Principal
|
|
1818
|
-
* @param {
|
|
1709
|
+
* @param {string} orgId
|
|
1710
|
+
* @param {RevokeForbiddenRoleRequestBody} [revokeForbiddenRoleRequestBody]
|
|
1819
1711
|
* @param {*} [options] Override http request option.
|
|
1820
1712
|
* @throws {RequiredError}
|
|
1821
1713
|
* @memberof RoleAssignmentApi
|
|
1822
1714
|
*/
|
|
1823
|
-
revokeForbiddenRoleFromPrincipal(
|
|
1715
|
+
revokeForbiddenRoleFromPrincipal(orgId: string, revokeForbiddenRoleRequestBody?: RevokeForbiddenRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeRoleSuccessResponse, any>>;
|
|
1824
1716
|
/**
|
|
1825
1717
|
* Revokes a specified role from a given principal (user, group, etc.)
|
|
1826
1718
|
* @summary Revoke Role from Principal
|
|
1827
|
-
* @param {
|
|
1719
|
+
* @param {string} orgId
|
|
1720
|
+
* @param {RevokeRoleRequestBody} [revokeRoleRequestBody]
|
|
1828
1721
|
* @param {*} [options] Override http request option.
|
|
1829
1722
|
* @throws {RequiredError}
|
|
1830
1723
|
* @memberof RoleAssignmentApi
|
|
1831
1724
|
*/
|
|
1832
|
-
revokeRoleFromPrincipal(
|
|
1725
|
+
revokeRoleFromPrincipal(orgId: string, revokeRoleRequestBody?: RevokeRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeRoleSuccessResponse, any>>;
|
|
1833
1726
|
}
|
|
1834
1727
|
/**
|
|
1835
1728
|
* UserPermissionsApi - axios parameter creator
|
|
@@ -1885,52 +1778,21 @@ export declare const UserPermissionsApiFactory: (configuration?: Configuration,
|
|
|
1885
1778
|
/**
|
|
1886
1779
|
* List the available permissions for the current user
|
|
1887
1780
|
* @summary List Own Permissions
|
|
1888
|
-
* @param {
|
|
1781
|
+
* @param {string} orgId
|
|
1889
1782
|
* @param {*} [options] Override http request option.
|
|
1890
1783
|
* @throws {RequiredError}
|
|
1891
1784
|
*/
|
|
1892
|
-
listOwnPermissions(
|
|
1785
|
+
listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPermissionsSuccessResponse>;
|
|
1893
1786
|
/**
|
|
1894
1787
|
* List the available permissions for a given user
|
|
1895
1788
|
* @summary List User Permissions
|
|
1896
|
-
* @param {
|
|
1789
|
+
* @param {string} orgId
|
|
1790
|
+
* @param {string} userId
|
|
1897
1791
|
* @param {*} [options] Override http request option.
|
|
1898
1792
|
* @throws {RequiredError}
|
|
1899
1793
|
*/
|
|
1900
|
-
listUserPermissions(
|
|
1794
|
+
listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPermissionsSuccessResponse>;
|
|
1901
1795
|
};
|
|
1902
|
-
/**
|
|
1903
|
-
* Request parameters for listOwnPermissions operation in UserPermissionsApi.
|
|
1904
|
-
* @export
|
|
1905
|
-
* @interface UserPermissionsApiListOwnPermissionsRequest
|
|
1906
|
-
*/
|
|
1907
|
-
export interface UserPermissionsApiListOwnPermissionsRequest {
|
|
1908
|
-
/**
|
|
1909
|
-
*
|
|
1910
|
-
* @type {string}
|
|
1911
|
-
* @memberof UserPermissionsApiListOwnPermissions
|
|
1912
|
-
*/
|
|
1913
|
-
readonly orgId: string;
|
|
1914
|
-
}
|
|
1915
|
-
/**
|
|
1916
|
-
* Request parameters for listUserPermissions operation in UserPermissionsApi.
|
|
1917
|
-
* @export
|
|
1918
|
-
* @interface UserPermissionsApiListUserPermissionsRequest
|
|
1919
|
-
*/
|
|
1920
|
-
export interface UserPermissionsApiListUserPermissionsRequest {
|
|
1921
|
-
/**
|
|
1922
|
-
*
|
|
1923
|
-
* @type {string}
|
|
1924
|
-
* @memberof UserPermissionsApiListUserPermissions
|
|
1925
|
-
*/
|
|
1926
|
-
readonly orgId: string;
|
|
1927
|
-
/**
|
|
1928
|
-
*
|
|
1929
|
-
* @type {string}
|
|
1930
|
-
* @memberof UserPermissionsApiListUserPermissions
|
|
1931
|
-
*/
|
|
1932
|
-
readonly userId: string;
|
|
1933
|
-
}
|
|
1934
1796
|
/**
|
|
1935
1797
|
* UserPermissionsApi - object-oriented interface
|
|
1936
1798
|
* @export
|
|
@@ -1941,19 +1803,20 @@ export declare class UserPermissionsApi extends BaseAPI {
|
|
|
1941
1803
|
/**
|
|
1942
1804
|
* List the available permissions for the current user
|
|
1943
1805
|
* @summary List Own Permissions
|
|
1944
|
-
* @param {
|
|
1806
|
+
* @param {string} orgId
|
|
1945
1807
|
* @param {*} [options] Override http request option.
|
|
1946
1808
|
* @throws {RequiredError}
|
|
1947
1809
|
* @memberof UserPermissionsApi
|
|
1948
1810
|
*/
|
|
1949
|
-
listOwnPermissions(
|
|
1811
|
+
listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any>>;
|
|
1950
1812
|
/**
|
|
1951
1813
|
* List the available permissions for a given user
|
|
1952
1814
|
* @summary List User Permissions
|
|
1953
|
-
* @param {
|
|
1815
|
+
* @param {string} orgId
|
|
1816
|
+
* @param {string} userId
|
|
1954
1817
|
* @param {*} [options] Override http request option.
|
|
1955
1818
|
* @throws {RequiredError}
|
|
1956
1819
|
* @memberof UserPermissionsApi
|
|
1957
1820
|
*/
|
|
1958
|
-
listUserPermissions(
|
|
1821
|
+
listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any>>;
|
|
1959
1822
|
}
|