@frontegg/rest-api 3.1.61 → 3.1.63

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.61
1
+ /** @license Frontegg v3.1.63
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.61
1
+ /** @license Frontegg v3.1.63
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "3.1.61",
3
+ "version": "3.1.63",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -8,7 +8,7 @@ export declare type IRole = {
8
8
  key: string;
9
9
  isDefault: boolean;
10
10
  name: string;
11
- description?: null;
11
+ description?: string | null;
12
12
  permissions: string[];
13
13
  tenantId?: string;
14
14
  vendorId: string;
@@ -42,10 +42,15 @@ export declare type IAddRoleBase = {
42
42
  description: string;
43
43
  isDefault: boolean;
44
44
  level: number;
45
+ };
46
+ export declare type IPermissions = {
45
47
  permissions: string[];
46
48
  };
47
- export declare type IAddRole = IAddRoleBase;
48
- export declare type IAddRoleV2 = IAddRoleBase & {
49
+ export declare type IPermissionIds = {
50
+ permissionIds: string[];
51
+ };
52
+ export declare type IAddRole = IAddRoleBase & IPermissions;
53
+ export declare type IAddRoleV2 = IAddRoleBase & IPermissionIds & {
49
54
  baseRoleId: string;
50
55
  };
51
56
  export declare type IUpdateRole = {