@frontegg/rest-api 3.0.139 → 3.0.140

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.d.ts CHANGED
@@ -21,6 +21,7 @@ import * as impersonate from "./impersonate";
21
21
  import * as groups from "./groups";
22
22
  import * as users from "./users";
23
23
  import * as entitlements from "./entitlements";
24
+ import * as securityCenter from "./security-center";
24
25
  import { ContextHolder, FronteggContext } from "./ContextHolder";
25
26
  export * from "./interfaces";
26
27
  export * from "./auth/interfaces";
@@ -46,6 +47,7 @@ export * from "./groups/interfaces";
46
47
  export * from "./groups/enums";
47
48
  export * from "./users/interfaces";
48
49
  export * from "./entitlements/interfaces";
50
+ export * from "./security-center/interfaces";
49
51
  declare const api: {
50
52
  auth: typeof auth;
51
53
  teams: typeof teams;
@@ -66,6 +68,7 @@ declare const api: {
66
68
  groups: typeof groups;
67
69
  users: typeof users;
68
70
  entitlements: typeof entitlements;
71
+ securityCenter: typeof securityCenter;
69
72
  };
70
73
  export { fetch, ContextHolder, FronteggContext, api, FronteggApiError, AuthStrategyEnum, SocialLoginProviders, ISubscriptionCancellationPolicy, ISubscriptionStatus, PaymentMethodType, ProviderType, MachineToMachineAuthStrategy, };
71
74
  declare const _default: {
@@ -98,6 +101,7 @@ declare const _default: {
98
101
  groups: typeof groups;
99
102
  users: typeof users;
100
103
  entitlements: typeof entitlements;
104
+ securityCenter: typeof securityCenter;
101
105
  };
102
106
  FronteggApiError: typeof FronteggApiError;
103
107
  AuthStrategyEnum: typeof auth.AuthStrategyEnum;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.0.139
1
+ /** @license Frontegg v3.0.140
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.
@@ -26,6 +26,7 @@ import * as impersonate from "./impersonate";
26
26
  import * as groups from "./groups";
27
27
  import * as users from "./users";
28
28
  import * as entitlements from "./entitlements";
29
+ import * as securityCenter from "./security-center";
29
30
  import { ContextHolder, FronteggContext } from "./ContextHolder";
30
31
  export * from "./interfaces";
31
32
  export * from "./auth/interfaces";
@@ -51,6 +52,7 @@ export * from "./groups/interfaces";
51
52
  export * from "./groups/enums";
52
53
  export * from "./users/interfaces";
53
54
  export * from "./entitlements/interfaces";
55
+ export * from "./security-center/interfaces";
54
56
  const api = {
55
57
  auth,
56
58
  teams,
@@ -70,7 +72,8 @@ const api = {
70
72
  impersonate,
71
73
  groups,
72
74
  users,
73
- entitlements
75
+ entitlements,
76
+ securityCenter
74
77
  };
75
78
  export { fetch, ContextHolder, FronteggContext, api, FronteggApiError, AuthStrategyEnum, SocialLoginProviders, ISubscriptionCancellationPolicy, ISubscriptionStatus, PaymentMethodType, ProviderType, MachineToMachineAuthStrategy };
76
79
  export default {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.0.139
1
+ /** @license Frontegg v3.0.140
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.
@@ -128,6 +128,8 @@ var users = _interopRequireWildcard(require("./users"));
128
128
 
129
129
  var entitlements = _interopRequireWildcard(require("./entitlements"));
130
130
 
131
+ var securityCenter = _interopRequireWildcard(require("./security-center"));
132
+
131
133
  var _ContextHolder = require("./ContextHolder");
132
134
 
133
135
  var _interfaces = require("./interfaces");
@@ -466,6 +468,20 @@ Object.keys(_interfaces20).forEach(function (key) {
466
468
  });
467
469
  });
468
470
 
471
+ var _interfaces21 = require("./security-center/interfaces");
472
+
473
+ Object.keys(_interfaces21).forEach(function (key) {
474
+ if (key === "default" || key === "__esModule") return;
475
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
476
+ if (key in exports && exports[key] === _interfaces21[key]) return;
477
+ Object.defineProperty(exports, key, {
478
+ enumerable: true,
479
+ get: function () {
480
+ return _interfaces21[key];
481
+ }
482
+ });
483
+ });
484
+
469
485
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
470
486
 
471
487
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -489,7 +505,8 @@ const api = {
489
505
  impersonate,
490
506
  groups,
491
507
  users,
492
- entitlements
508
+ entitlements,
509
+ securityCenter
493
510
  };
494
511
  exports.api = api;
495
512
  var _default = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "3.0.139",
3
+ "version": "3.0.140",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {