@frontegg/rest-api 3.0.14 → 3.0.17

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.
@@ -101,6 +101,13 @@ export interface CreateIpRestriction {
101
101
  isActive: boolean;
102
102
  description?: string;
103
103
  }
104
+ export interface UpdateIpRestriction {
105
+ id: string;
106
+ ip: string;
107
+ strategy: RestrictionType;
108
+ isActive?: boolean;
109
+ description?: string;
110
+ }
104
111
  export interface BulkCreateIpRestriction {
105
112
  ips: CreateIpRestriction[];
106
113
  }
package/constants.js CHANGED
@@ -37,7 +37,7 @@ export const urls = {
37
37
  v1: "/identity/resources/configurations/restrictions/v1/email-domain"
38
38
  },
39
39
  ip: {
40
- v1: "/identity/resources/configurations/restrictions/v1/email-domain"
40
+ v1: "/identity/resources/configurations/v1/restrictions/ip"
41
41
  }
42
42
  },
43
43
  sso: {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.0.14
1
+ /** @license Frontegg v3.0.17
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/constants.js CHANGED
@@ -43,7 +43,7 @@ const urls = {
43
43
  v1: "/identity/resources/configurations/restrictions/v1/email-domain"
44
44
  },
45
45
  ip: {
46
- v1: "/identity/resources/configurations/restrictions/v1/email-domain"
46
+ v1: "/identity/resources/configurations/v1/restrictions/ip"
47
47
  }
48
48
  },
49
49
  sso: {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.0.14
1
+ /** @license Frontegg v3.0.17
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.0.14",
3
+ "version": "3.0.17",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {