@frontegg/js 7.40.0-alpha.2 → 7.40.0

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 v7.40.0-alpha.2
1
+ /** @license Frontegg v7.40.0
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 v7.40.0-alpha.2
1
+ /** @license Frontegg v7.40.0
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/version.js CHANGED
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- cdnVersion: '7.40.0-alpha.2'
8
+ cdnVersion: '7.40.0'
9
9
  };
10
10
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "7.40.0-alpha.2",
3
+ "version": "7.40.0",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/types": "7.40.0-alpha.2"
9
+ "@frontegg/types": "7.40.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1619,7 +1619,7 @@ __webpack_require__.r(__webpack_exports__);
1619
1619
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1620
1620
  /* harmony export */ });
1621
1621
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1622
- cdnVersion: '7.40.0-alpha.2'
1622
+ cdnVersion: '7.40.0'
1623
1623
  });
1624
1624
 
1625
1625
  /***/ }),
@@ -17222,6 +17222,7 @@ __webpack_require__.r(__webpack_exports__);
17222
17222
  /* harmony export */ isFronteggApiError: () => (/* binding */ isFronteggApiError)
17223
17223
  /* harmony export */ });
17224
17224
  /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/error.js");
17225
+ /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/constants.js");
17225
17226
 
17226
17227
  const isFronteggApiError = error => Boolean(error == null ? void 0 : error.statusCode);
17227
17228
  const isError = error => {
@@ -17232,7 +17233,6 @@ const isError = error => {
17232
17233
  //using 'instanceof Error' wont work if the error is thrown in different window/frame/iframe than where the check is happening https://stackoverflow.com/a/30469297
17233
17234
  return (error == null ? void 0 : error.message) && (error == null ? void 0 : error.stack) && (error == null ? void 0 : error.name) === 'Error';
17234
17235
  };
17235
- const GENERIC_ERROR_MESSAGE = `We're facing some difficulties, Please try again`;
17236
17236
  const errorHandler = (error, fallback) => {
17237
17237
  if (!error) {
17238
17238
  return fallback;
@@ -17246,7 +17246,7 @@ const errorHandler = (error, fallback) => {
17246
17246
  } else if (typeof error === 'string') {
17247
17247
  console.error(error);
17248
17248
  }
17249
- return fallback != null ? fallback : new _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.FronteggApiError(GENERIC_ERROR_MESSAGE, 500, null);
17249
+ return fallback != null ? fallback : new _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.FronteggApiError(_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.GENERIC_ERROR_MESSAGE, 500, null, _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.GENERIC_ERROR_CODE);
17250
17250
  };
17251
17251
 
17252
17252
  /***/ }),
@@ -17913,7 +17913,7 @@ __webpack_require__.r(__webpack_exports__);
17913
17913
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
17914
17914
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
17915
17915
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
17916
- /** @license Frontegg v7.40.0-alpha.2
17916
+ /** @license Frontegg v7.40.0
17917
17917
  *
17918
17918
  * This source code is licensed under the MIT license found in the
17919
17919
  * LICENSE file in the root directory of this source tree.
@@ -25522,7 +25522,7 @@ class FetchClient {
25522
25522
  return new Promise(() => {});
25523
25523
  }
25524
25524
  if (!response.ok) {
25525
- var _errorMessage, _errorMessage2, _context$logLevel, _context$logLevel2;
25525
+ var _errorMessage, _errorMessage2, _context$logLevel, _context$logLevel2, _errorCode;
25526
25526
  if (response.status === 413) {
25527
25527
  throw new _error__WEBPACK_IMPORTED_MODULE_4__.FronteggApiError('Error request is too large', response.status, this.getResponseTraceId(response), undefined);
25528
25528
  }
@@ -25548,7 +25548,7 @@ class FetchClient {
25548
25548
  errorMessage = `Error ${response.status} - ${response.statusText}`;
25549
25549
  }
25550
25550
  if (response.status >= 400 && response.status < 500 && ['warn'].includes((_context$logLevel = context.logLevel) != null ? _context$logLevel : '')) console.warn(errorMessage);else if (response.status === 500 && ['warn', 'error'].includes((_context$logLevel2 = context.logLevel) != null ? _context$logLevel2 : '')) console.error(errorMessage);
25551
- throw new _error__WEBPACK_IMPORTED_MODULE_4__.FronteggApiError(isJsonResponse ? errorMessage : _constants__WEBPACK_IMPORTED_MODULE_3__.GENERIC_ERROR_MESSAGE, response.status, this.getResponseTraceId(response), errorCode, errorContext);
25551
+ throw new _error__WEBPACK_IMPORTED_MODULE_4__.FronteggApiError(isJsonResponse ? errorMessage : _constants__WEBPACK_IMPORTED_MODULE_3__.GENERIC_ERROR_MESSAGE, response.status, this.getResponseTraceId(response), (_errorCode = errorCode) != null ? _errorCode : _constants__WEBPACK_IMPORTED_MODULE_3__.GENERIC_ERROR_CODE, errorContext);
25552
25552
  }
25553
25553
  if (opts.responseType === 'stream') {
25554
25554
  return response.body;
@@ -27130,6 +27130,7 @@ class ConnectivityApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_1__.BaseAp
27130
27130
  __webpack_require__.r(__webpack_exports__);
27131
27131
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27132
27132
  /* harmony export */ FRONTEGG_TRACE_ID: () => (/* binding */ FRONTEGG_TRACE_ID),
27133
+ /* harmony export */ GENERIC_ERROR_CODE: () => (/* binding */ GENERIC_ERROR_CODE),
27133
27134
  /* harmony export */ GENERIC_ERROR_MESSAGE: () => (/* binding */ GENERIC_ERROR_MESSAGE),
27134
27135
  /* harmony export */ urls: () => (/* binding */ urls)
27135
27136
  /* harmony export */ });
@@ -27417,6 +27418,7 @@ const urls = {
27417
27418
  }
27418
27419
  };
27419
27420
  const GENERIC_ERROR_MESSAGE = `We're facing some difficulties, Please try again`;
27421
+ const GENERIC_ERROR_CODE = 'ER-ADMIN-PORTAL-GENERIC-ERROR';
27420
27422
  const FRONTEGG_TRACE_ID = 'frontegg-trace-id';
27421
27423
 
27422
27424
  /***/ }),
@@ -27805,30 +27807,32 @@ class ImpersonateApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_0__.BaseApi
27805
27807
  __webpack_require__.r(__webpack_exports__);
27806
27808
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
27807
27809
  /* harmony export */ ApplicationAccessType: () => (/* reexport safe */ _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__.ApplicationAccessType),
27808
- /* harmony export */ AuthStrategyEnum: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_42__.AuthStrategyEnum),
27809
- /* harmony export */ ContextHolder: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_40__.ContextHolder),
27810
+ /* harmony export */ AuthStrategyEnum: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_43__.AuthStrategyEnum),
27811
+ /* harmony export */ ContextHolder: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_41__.ContextHolder),
27810
27812
  /* harmony export */ DirectoryApi: () => (/* reexport safe */ _directory_index__WEBPACK_IMPORTED_MODULE_10__.DirectoryApi),
27811
27813
  /* harmony export */ FRONTEGG_SEPARATE_TABS_BY_TENANT: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_3__.FRONTEGG_SEPARATE_TABS_BY_TENANT),
27812
27814
  /* harmony export */ FeatureFlags: () => (/* reexport safe */ _feature_flags_index__WEBPACK_IMPORTED_MODULE_9__.FeatureFlags),
27813
27815
  /* harmony export */ FeatureFlagsApi: () => (/* reexport safe */ _feature_flags_index__WEBPACK_IMPORTED_MODULE_9__.FeatureFlagsApi),
27814
- /* harmony export */ FetchClient: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_39__.FetchClient),
27815
- /* harmony export */ FronteggApiError: () => (/* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_41__.FronteggApiError),
27816
- /* harmony export */ FronteggContext: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_40__.FronteggContext),
27816
+ /* harmony export */ FetchClient: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_40__.FetchClient),
27817
+ /* harmony export */ FronteggApiError: () => (/* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_42__.FronteggApiError),
27818
+ /* harmony export */ FronteggContext: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_41__.FronteggContext),
27817
27819
  /* harmony export */ FronteggFrameworks: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.FronteggFrameworks),
27820
+ /* harmony export */ GENERIC_ERROR_CODE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_17__.GENERIC_ERROR_CODE),
27821
+ /* harmony export */ GENERIC_ERROR_MESSAGE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_17__.GENERIC_ERROR_MESSAGE),
27818
27822
  /* harmony export */ GetUsersFilterPreset: () => (/* reexport safe */ _users_interfaces__WEBPACK_IMPORTED_MODULE_13__.GetUsersFilterPreset),
27819
27823
  /* harmony export */ GroupManagedByEnum: () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_12__.GroupManagedByEnum),
27820
27824
  /* harmony export */ GroupRelations: () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_12__.GroupRelations),
27821
- /* harmony export */ ISubscriptionCancellationPolicy: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_43__.ISubscriptionCancellationPolicy),
27822
- /* harmony export */ ISubscriptionStatus: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_43__.ISubscriptionStatus),
27825
+ /* harmony export */ ISubscriptionCancellationPolicy: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionCancellationPolicy),
27826
+ /* harmony export */ ISubscriptionStatus: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionStatus),
27823
27827
  /* harmony export */ InsightCode: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__.InsightCode),
27824
27828
  /* harmony export */ LOAD_AUTHORIZATION_FF: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.LOAD_AUTHORIZATION_FF),
27825
27829
  /* harmony export */ MFAStrategyEnum: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStrategyEnum),
27826
- /* harmony export */ MachineToMachineAuthStrategy: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_42__.MachineToMachineAuthStrategy),
27830
+ /* harmony export */ MachineToMachineAuthStrategy: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_43__.MachineToMachineAuthStrategy),
27827
27831
  /* harmony export */ NotEntitledJustification: () => (/* reexport safe */ _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_14__.NotEntitledJustification),
27828
27832
  /* harmony export */ PaginationOrderEnum: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.PaginationOrderEnum),
27829
- /* harmony export */ PaymentMethodType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_43__.PaymentMethodType),
27833
+ /* harmony export */ PaymentMethodType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.PaymentMethodType),
27830
27834
  /* harmony export */ PermissionAssignmentTypeEnum: () => (/* reexport safe */ _roles_interfaces__WEBPACK_IMPORTED_MODULE_6__.PermissionAssignmentTypeEnum),
27831
- /* harmony export */ ProviderType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_43__.ProviderType),
27835
+ /* harmony export */ ProviderType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ProviderType),
27832
27836
  /* harmony export */ RecommendationActionKey: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__.RecommendationActionKey),
27833
27837
  /* harmony export */ RecommendationCode: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__.RecommendationCode),
27834
27838
  /* harmony export */ RecommendationSeverity: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__.RecommendationSeverity),
@@ -27837,7 +27841,7 @@ __webpack_require__.r(__webpack_exports__);
27837
27841
  /* harmony export */ ScimConnectionSource: () => (/* reexport safe */ _directory_interfaces__WEBPACK_IMPORTED_MODULE_11__.ScimConnectionSource),
27838
27842
  /* harmony export */ SecondaryAuthStrategy: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.SecondaryAuthStrategy),
27839
27843
  /* harmony export */ SecurityCategory: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__.SecurityCategory),
27840
- /* harmony export */ SocialLoginProviders: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_42__.SocialLoginProviders),
27844
+ /* harmony export */ SocialLoginProviders: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_43__.SocialLoginProviders),
27841
27845
  /* harmony export */ SortByEnum: () => (/* reexport safe */ _users_interfaces__WEBPACK_IMPORTED_MODULE_13__.SortByEnum),
27842
27846
  /* harmony export */ SubAccountAccessTypeEnum: () => (/* reexport safe */ _sub_tenants_interfaces__WEBPACK_IMPORTED_MODULE_7__.SubAccountAccessTypeEnum),
27843
27847
  /* harmony export */ TenantSortByEnum: () => (/* reexport safe */ _tenants_interfaces__WEBPACK_IMPORTED_MODULE_5__.TenantSortByEnum),
@@ -27847,7 +27851,7 @@ __webpack_require__.r(__webpack_exports__);
27847
27851
  /* harmony export */ api: () => (/* binding */ api),
27848
27852
  /* harmony export */ createApiClient: () => (/* binding */ createApiClient),
27849
27853
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
27850
- /* harmony export */ fetch: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_39__["default"]),
27854
+ /* harmony export */ fetch: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_40__["default"]),
27851
27855
  /* harmony export */ fronteggAuthApiRoutesRegex: () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_8__.fronteggAuthApiRoutesRegex),
27852
27856
  /* harmony export */ fronteggEntitlementsV2Url: () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_8__.fronteggEntitlementsV2Url),
27853
27857
  /* harmony export */ fronteggHeaders: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.fronteggHeaders),
@@ -27862,35 +27866,35 @@ __webpack_require__.r(__webpack_exports__);
27862
27866
  /* harmony export */ removeTabTenantFromSessionStorage: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.removeTabTenantFromSessionStorage),
27863
27867
  /* harmony export */ setTabTenantInSessionStorage: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.setTabTenantInSessionStorage)
27864
27868
  /* harmony export */ });
27865
- /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/enums.js");
27866
- /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./subscriptions */ "../../dist/@frontegg/rest-api/subscriptions/enums.js");
27867
- /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./error */ "../../dist/@frontegg/rest-api/error.js");
27868
- /* harmony import */ var _FetchClient__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./FetchClient */ "../../dist/@frontegg/rest-api/FetchClient.js");
27869
- /* harmony import */ var _ContextHolder__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ContextHolder */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
27870
- /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/index.js");
27871
- /* harmony import */ var _auth_secutiry_poilicy__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./auth/secutiry-poilicy */ "../../dist/@frontegg/rest-api/auth/secutiry-poilicy/index.js");
27872
- /* harmony import */ var _users__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./users */ "../../dist/@frontegg/rest-api/users/index.js");
27873
- /* harmony import */ var _teams__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./teams */ "../../dist/@frontegg/rest-api/teams/index.js");
27874
- /* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./metadata */ "../../dist/@frontegg/rest-api/metadata/index.js");
27875
- /* harmony import */ var _reports__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./reports */ "../../dist/@frontegg/rest-api/reports/index.js");
27876
- /* harmony import */ var _connectivity__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./connectivity */ "../../dist/@frontegg/rest-api/connectivity/index.js");
27877
- /* harmony import */ var _notifications__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./notifications */ "../../dist/@frontegg/rest-api/notifications/index.js");
27878
- /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/rest-api/audits/index.js");
27879
- /* harmony import */ var _tenants__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./tenants */ "../../dist/@frontegg/rest-api/tenants/index.js");
27880
- /* harmony import */ var _account_settings__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./account-settings */ "../../dist/@frontegg/rest-api/account-settings/index.js");
27881
- /* harmony import */ var _roles__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./roles */ "../../dist/@frontegg/rest-api/roles/index.js");
27882
- /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./subscriptions */ "../../dist/@frontegg/rest-api/subscriptions/index.js");
27883
- /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/rest-api/vendor/index.js");
27884
- /* harmony import */ var _sub_tenants__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./sub-tenants */ "../../dist/@frontegg/rest-api/sub-tenants/index.js");
27869
+ /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/enums.js");
27870
+ /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./subscriptions */ "../../dist/@frontegg/rest-api/subscriptions/enums.js");
27871
+ /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./error */ "../../dist/@frontegg/rest-api/error.js");
27872
+ /* harmony import */ var _FetchClient__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./FetchClient */ "../../dist/@frontegg/rest-api/FetchClient.js");
27873
+ /* harmony import */ var _ContextHolder__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./ContextHolder */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
27874
+ /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/index.js");
27875
+ /* harmony import */ var _auth_secutiry_poilicy__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./auth/secutiry-poilicy */ "../../dist/@frontegg/rest-api/auth/secutiry-poilicy/index.js");
27876
+ /* harmony import */ var _users__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./users */ "../../dist/@frontegg/rest-api/users/index.js");
27877
+ /* harmony import */ var _teams__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./teams */ "../../dist/@frontegg/rest-api/teams/index.js");
27878
+ /* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./metadata */ "../../dist/@frontegg/rest-api/metadata/index.js");
27879
+ /* harmony import */ var _reports__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./reports */ "../../dist/@frontegg/rest-api/reports/index.js");
27880
+ /* harmony import */ var _connectivity__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./connectivity */ "../../dist/@frontegg/rest-api/connectivity/index.js");
27881
+ /* harmony import */ var _notifications__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./notifications */ "../../dist/@frontegg/rest-api/notifications/index.js");
27882
+ /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/rest-api/audits/index.js");
27883
+ /* harmony import */ var _tenants__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./tenants */ "../../dist/@frontegg/rest-api/tenants/index.js");
27884
+ /* harmony import */ var _account_settings__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./account-settings */ "../../dist/@frontegg/rest-api/account-settings/index.js");
27885
+ /* harmony import */ var _roles__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./roles */ "../../dist/@frontegg/rest-api/roles/index.js");
27886
+ /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./subscriptions */ "../../dist/@frontegg/rest-api/subscriptions/index.js");
27887
+ /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/rest-api/vendor/index.js");
27888
+ /* harmony import */ var _sub_tenants__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./sub-tenants */ "../../dist/@frontegg/rest-api/sub-tenants/index.js");
27885
27889
  /* harmony import */ var _feature_flags_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./feature-flags/index */ "../../dist/@frontegg/rest-api/feature-flags/index.js");
27886
27890
  /* harmony import */ var _directory_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./directory/index */ "../../dist/@frontegg/rest-api/directory/index.js");
27887
- /* harmony import */ var _impersonate__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./impersonate */ "../../dist/@frontegg/rest-api/impersonate/index.js");
27888
- /* harmony import */ var _groups__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./groups */ "../../dist/@frontegg/rest-api/groups/index.js");
27889
- /* harmony import */ var _entitlements__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./entitlements */ "../../dist/@frontegg/rest-api/entitlements/index.js");
27890
- /* harmony import */ var _security_center__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./security-center */ "../../dist/@frontegg/rest-api/security-center/index.js");
27891
- /* harmony import */ var _user_phone_numbers__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./user-phone-numbers */ "../../dist/@frontegg/rest-api/user-phone-numbers/index.js");
27892
- /* harmony import */ var _applications__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./applications */ "../../dist/@frontegg/rest-api/applications/index.js");
27893
- /* harmony import */ var _velo__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./velo */ "../../dist/@frontegg/rest-api/velo/index.js");
27891
+ /* harmony import */ var _impersonate__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./impersonate */ "../../dist/@frontegg/rest-api/impersonate/index.js");
27892
+ /* harmony import */ var _groups__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./groups */ "../../dist/@frontegg/rest-api/groups/index.js");
27893
+ /* harmony import */ var _entitlements__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./entitlements */ "../../dist/@frontegg/rest-api/entitlements/index.js");
27894
+ /* harmony import */ var _security_center__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./security-center */ "../../dist/@frontegg/rest-api/security-center/index.js");
27895
+ /* harmony import */ var _user_phone_numbers__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./user-phone-numbers */ "../../dist/@frontegg/rest-api/user-phone-numbers/index.js");
27896
+ /* harmony import */ var _applications__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./applications */ "../../dist/@frontegg/rest-api/applications/index.js");
27897
+ /* harmony import */ var _velo__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./velo */ "../../dist/@frontegg/rest-api/velo/index.js");
27894
27898
  /* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/rest-api/interfaces.js");
27895
27899
  /* harmony import */ var _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./auth/interfaces */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
27896
27900
  /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/utils.js");
@@ -27906,7 +27910,8 @@ __webpack_require__.r(__webpack_exports__);
27906
27910
  /* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../dist/@frontegg/rest-api/entitlements/interfaces.js");
27907
27911
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
27908
27912
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
27909
- /** @license Frontegg v7.40.0-alpha.2
27913
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
27914
+ /** @license Frontegg v7.40.0
27910
27915
  *
27911
27916
  * This source code is licensed under the MIT license found in the
27912
27917
  * LICENSE file in the root directory of this source tree.
@@ -27977,73 +27982,73 @@ __webpack_require__.r(__webpack_exports__);
27977
27982
  * @deprecated use createApiClient instead
27978
27983
  */
27979
27984
  const api = {
27980
- auth: _auth__WEBPACK_IMPORTED_MODULE_17__["default"],
27981
- securityPolicy: _auth_secutiry_poilicy__WEBPACK_IMPORTED_MODULE_18__["default"],
27982
- teams: _teams__WEBPACK_IMPORTED_MODULE_19__["default"],
27983
- metadata: _metadata__WEBPACK_IMPORTED_MODULE_20__["default"],
27984
- reports: _reports__WEBPACK_IMPORTED_MODULE_21__["default"],
27985
- connectivity: _connectivity__WEBPACK_IMPORTED_MODULE_22__["default"],
27986
- notifications: _notifications__WEBPACK_IMPORTED_MODULE_23__["default"],
27987
- audits: _audits__WEBPACK_IMPORTED_MODULE_24__["default"],
27988
- tenants: _tenants__WEBPACK_IMPORTED_MODULE_25__["default"],
27989
- accountSettings: _account_settings__WEBPACK_IMPORTED_MODULE_26__["default"],
27990
- roles: _roles__WEBPACK_IMPORTED_MODULE_27__["default"],
27991
- subscriptions: _subscriptions__WEBPACK_IMPORTED_MODULE_28__["default"],
27992
- vendor: _vendor__WEBPACK_IMPORTED_MODULE_29__["default"],
27993
- subTenants: _sub_tenants__WEBPACK_IMPORTED_MODULE_30__["default"],
27985
+ auth: _auth__WEBPACK_IMPORTED_MODULE_18__["default"],
27986
+ securityPolicy: _auth_secutiry_poilicy__WEBPACK_IMPORTED_MODULE_19__["default"],
27987
+ teams: _teams__WEBPACK_IMPORTED_MODULE_20__["default"],
27988
+ metadata: _metadata__WEBPACK_IMPORTED_MODULE_21__["default"],
27989
+ reports: _reports__WEBPACK_IMPORTED_MODULE_22__["default"],
27990
+ connectivity: _connectivity__WEBPACK_IMPORTED_MODULE_23__["default"],
27991
+ notifications: _notifications__WEBPACK_IMPORTED_MODULE_24__["default"],
27992
+ audits: _audits__WEBPACK_IMPORTED_MODULE_25__["default"],
27993
+ tenants: _tenants__WEBPACK_IMPORTED_MODULE_26__["default"],
27994
+ accountSettings: _account_settings__WEBPACK_IMPORTED_MODULE_27__["default"],
27995
+ roles: _roles__WEBPACK_IMPORTED_MODULE_28__["default"],
27996
+ subscriptions: _subscriptions__WEBPACK_IMPORTED_MODULE_29__["default"],
27997
+ vendor: _vendor__WEBPACK_IMPORTED_MODULE_30__["default"],
27998
+ subTenants: _sub_tenants__WEBPACK_IMPORTED_MODULE_31__["default"],
27994
27999
  featureFlags: _feature_flags_index__WEBPACK_IMPORTED_MODULE_9__["default"],
27995
28000
  directory: _directory_index__WEBPACK_IMPORTED_MODULE_10__["default"],
27996
- impersonate: _impersonate__WEBPACK_IMPORTED_MODULE_31__["default"],
27997
- groups: _groups__WEBPACK_IMPORTED_MODULE_32__["default"],
27998
- users: _users__WEBPACK_IMPORTED_MODULE_33__["default"],
27999
- entitlements: _entitlements__WEBPACK_IMPORTED_MODULE_34__["default"],
28000
- securityCenter: _security_center__WEBPACK_IMPORTED_MODULE_35__["default"],
28001
- userPhoneNumbers: _user_phone_numbers__WEBPACK_IMPORTED_MODULE_36__["default"],
28002
- applications: _applications__WEBPACK_IMPORTED_MODULE_37__["default"],
28003
- velo: _velo__WEBPACK_IMPORTED_MODULE_38__["default"]
28001
+ impersonate: _impersonate__WEBPACK_IMPORTED_MODULE_32__["default"],
28002
+ groups: _groups__WEBPACK_IMPORTED_MODULE_33__["default"],
28003
+ users: _users__WEBPACK_IMPORTED_MODULE_34__["default"],
28004
+ entitlements: _entitlements__WEBPACK_IMPORTED_MODULE_35__["default"],
28005
+ securityCenter: _security_center__WEBPACK_IMPORTED_MODULE_36__["default"],
28006
+ userPhoneNumbers: _user_phone_numbers__WEBPACK_IMPORTED_MODULE_37__["default"],
28007
+ applications: _applications__WEBPACK_IMPORTED_MODULE_38__["default"],
28008
+ velo: _velo__WEBPACK_IMPORTED_MODULE_39__["default"]
28004
28009
  };
28005
28010
  const createApiClient = appName => ({
28006
- auth: new _auth__WEBPACK_IMPORTED_MODULE_17__.AuthenticationApi(appName),
28007
- securityPolicy: new _auth_secutiry_poilicy__WEBPACK_IMPORTED_MODULE_18__.SecurityPolicyApi(appName),
28008
- teams: new _teams__WEBPACK_IMPORTED_MODULE_19__.TeamsApi(appName),
28009
- metadata: new _metadata__WEBPACK_IMPORTED_MODULE_20__.MetadataApi(appName),
28010
- reports: new _reports__WEBPACK_IMPORTED_MODULE_21__.ReportsApi(appName),
28011
- connectivity: new _connectivity__WEBPACK_IMPORTED_MODULE_22__.ConnectivityApi(appName),
28012
- notifications: new _notifications__WEBPACK_IMPORTED_MODULE_23__.NotificationsApi(appName),
28013
- audits: new _audits__WEBPACK_IMPORTED_MODULE_24__.AuditsApi(appName),
28014
- tenants: new _tenants__WEBPACK_IMPORTED_MODULE_25__.TenantsApi(appName),
28015
- accountSettings: new _account_settings__WEBPACK_IMPORTED_MODULE_26__.AccountSettingsApi(appName),
28016
- roles: new _roles__WEBPACK_IMPORTED_MODULE_27__.RolesApi(appName),
28017
- subscriptions: new _subscriptions__WEBPACK_IMPORTED_MODULE_28__.SubscriptionsApi(appName),
28018
- vendor: new _vendor__WEBPACK_IMPORTED_MODULE_29__.VendorApi(appName),
28019
- subTenants: new _sub_tenants__WEBPACK_IMPORTED_MODULE_30__.SubTenantsApi(appName),
28011
+ auth: new _auth__WEBPACK_IMPORTED_MODULE_18__.AuthenticationApi(appName),
28012
+ securityPolicy: new _auth_secutiry_poilicy__WEBPACK_IMPORTED_MODULE_19__.SecurityPolicyApi(appName),
28013
+ teams: new _teams__WEBPACK_IMPORTED_MODULE_20__.TeamsApi(appName),
28014
+ metadata: new _metadata__WEBPACK_IMPORTED_MODULE_21__.MetadataApi(appName),
28015
+ reports: new _reports__WEBPACK_IMPORTED_MODULE_22__.ReportsApi(appName),
28016
+ connectivity: new _connectivity__WEBPACK_IMPORTED_MODULE_23__.ConnectivityApi(appName),
28017
+ notifications: new _notifications__WEBPACK_IMPORTED_MODULE_24__.NotificationsApi(appName),
28018
+ audits: new _audits__WEBPACK_IMPORTED_MODULE_25__.AuditsApi(appName),
28019
+ tenants: new _tenants__WEBPACK_IMPORTED_MODULE_26__.TenantsApi(appName),
28020
+ accountSettings: new _account_settings__WEBPACK_IMPORTED_MODULE_27__.AccountSettingsApi(appName),
28021
+ roles: new _roles__WEBPACK_IMPORTED_MODULE_28__.RolesApi(appName),
28022
+ subscriptions: new _subscriptions__WEBPACK_IMPORTED_MODULE_29__.SubscriptionsApi(appName),
28023
+ vendor: new _vendor__WEBPACK_IMPORTED_MODULE_30__.VendorApi(appName),
28024
+ subTenants: new _sub_tenants__WEBPACK_IMPORTED_MODULE_31__.SubTenantsApi(appName),
28020
28025
  featureFlags: new _feature_flags_index__WEBPACK_IMPORTED_MODULE_9__.FeatureFlagsApi(appName),
28021
28026
  directory: new _directory_index__WEBPACK_IMPORTED_MODULE_10__.DirectoryApi(appName),
28022
- impersonate: new _impersonate__WEBPACK_IMPORTED_MODULE_31__.ImpersonateApi(appName),
28023
- groups: new _groups__WEBPACK_IMPORTED_MODULE_32__.GroupsApi(appName),
28024
- users: new _users__WEBPACK_IMPORTED_MODULE_33__.UsersApi(appName),
28025
- entitlements: new _entitlements__WEBPACK_IMPORTED_MODULE_34__.EntitlementsApi(appName),
28026
- securityCenter: new _security_center__WEBPACK_IMPORTED_MODULE_35__.SecurityCenterApi(appName),
28027
- userPhoneNumbers: new _user_phone_numbers__WEBPACK_IMPORTED_MODULE_36__.PhoneNumbersApi(appName),
28028
- applications: new _applications__WEBPACK_IMPORTED_MODULE_37__.ApplicationsApi(appName),
28029
- velo: new _velo__WEBPACK_IMPORTED_MODULE_38__.VeloApi(appName)
28027
+ impersonate: new _impersonate__WEBPACK_IMPORTED_MODULE_32__.ImpersonateApi(appName),
28028
+ groups: new _groups__WEBPACK_IMPORTED_MODULE_33__.GroupsApi(appName),
28029
+ users: new _users__WEBPACK_IMPORTED_MODULE_34__.UsersApi(appName),
28030
+ entitlements: new _entitlements__WEBPACK_IMPORTED_MODULE_35__.EntitlementsApi(appName),
28031
+ securityCenter: new _security_center__WEBPACK_IMPORTED_MODULE_36__.SecurityCenterApi(appName),
28032
+ userPhoneNumbers: new _user_phone_numbers__WEBPACK_IMPORTED_MODULE_37__.PhoneNumbersApi(appName),
28033
+ applications: new _applications__WEBPACK_IMPORTED_MODULE_38__.ApplicationsApi(appName),
28034
+ velo: new _velo__WEBPACK_IMPORTED_MODULE_39__.VeloApi(appName)
28030
28035
  });
28031
28036
 
28032
28037
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
28033
- fetch: _FetchClient__WEBPACK_IMPORTED_MODULE_39__["default"],
28034
- FetchClient: _FetchClient__WEBPACK_IMPORTED_MODULE_39__.FetchClient,
28035
- ContextHolder: _ContextHolder__WEBPACK_IMPORTED_MODULE_40__.ContextHolder,
28036
- FronteggContext: _ContextHolder__WEBPACK_IMPORTED_MODULE_40__.FronteggContext,
28038
+ fetch: _FetchClient__WEBPACK_IMPORTED_MODULE_40__["default"],
28039
+ FetchClient: _FetchClient__WEBPACK_IMPORTED_MODULE_40__.FetchClient,
28040
+ ContextHolder: _ContextHolder__WEBPACK_IMPORTED_MODULE_41__.ContextHolder,
28041
+ FronteggContext: _ContextHolder__WEBPACK_IMPORTED_MODULE_41__.FronteggContext,
28037
28042
  api,
28038
28043
  createApiClient,
28039
- FronteggApiError: _error__WEBPACK_IMPORTED_MODULE_41__.FronteggApiError,
28040
- AuthStrategyEnum: _auth__WEBPACK_IMPORTED_MODULE_42__.AuthStrategyEnum,
28041
- MachineToMachineAuthStrategy: _auth__WEBPACK_IMPORTED_MODULE_42__.MachineToMachineAuthStrategy,
28042
- SocialLoginProviders: _auth__WEBPACK_IMPORTED_MODULE_42__.SocialLoginProviders,
28043
- ISubscriptionCancellationPolicy: _subscriptions__WEBPACK_IMPORTED_MODULE_43__.ISubscriptionCancellationPolicy,
28044
- ISubscriptionStatus: _subscriptions__WEBPACK_IMPORTED_MODULE_43__.ISubscriptionStatus,
28045
- PaymentMethodType: _subscriptions__WEBPACK_IMPORTED_MODULE_43__.PaymentMethodType,
28046
- ProviderType: _subscriptions__WEBPACK_IMPORTED_MODULE_43__.ProviderType
28044
+ FronteggApiError: _error__WEBPACK_IMPORTED_MODULE_42__.FronteggApiError,
28045
+ AuthStrategyEnum: _auth__WEBPACK_IMPORTED_MODULE_43__.AuthStrategyEnum,
28046
+ MachineToMachineAuthStrategy: _auth__WEBPACK_IMPORTED_MODULE_43__.MachineToMachineAuthStrategy,
28047
+ SocialLoginProviders: _auth__WEBPACK_IMPORTED_MODULE_43__.SocialLoginProviders,
28048
+ ISubscriptionCancellationPolicy: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionCancellationPolicy,
28049
+ ISubscriptionStatus: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionStatus,
28050
+ PaymentMethodType: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.PaymentMethodType,
28051
+ ProviderType: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ProviderType
28047
28052
  });
28048
28053
 
28049
28054
  /***/ }),
@@ -30536,7 +30541,7 @@ __webpack_require__.r(__webpack_exports__);
30536
30541
  /* harmony export */ });
30537
30542
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
30538
30543
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
30539
- /** @license Frontegg v7.40.0-alpha.2
30544
+ /** @license Frontegg v7.40.0
30540
30545
  *
30541
30546
  * This source code is licensed under the MIT license found in the
30542
30547
  * LICENSE file in the root directory of this source tree.