@frontegg/js 6.81.0-alpha.2 → 6.81.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/AdminPortalRenderer/index.d.ts +1 -1
- package/AdminPortalRenderer/index.js +2 -1
- package/LoginBoxRenderer/index.d.ts +1 -1
- package/LoginBoxRenderer/index.js +2 -1
- package/index.js +1 -1
- package/node/AdminPortalRenderer/index.js +2 -1
- package/node/LoginBoxRenderer/index.js +2 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +142 -88
- package/umd/frontegg.production.min.js +1 -1
- package/umd/frontegg.production.min.js.LICENSE.txt +1 -1
- package/version.js +1 -1
|
@@ -9,7 +9,7 @@ export declare class AdminPortalRenderer {
|
|
|
9
9
|
setRoute: (route: string) => void;
|
|
10
10
|
themeSetter: ((themeOptions: FronteggThemeOptions) => {}) | undefined;
|
|
11
11
|
themeOptions: FronteggThemeOptions;
|
|
12
|
-
constructor(name: string, themeOptions: FronteggThemeOptions, store?: EnhancedStore, appOptions?: Partial<FronteggAppOptions
|
|
12
|
+
constructor(name: string, themeOptions: FronteggThemeOptions, store?: EnhancedStore, appOptions?: Partial<FronteggAppOptions>, allowMultipleRenderers?: boolean);
|
|
13
13
|
render(adminPortalContainer: HTMLElement): Promise<void>;
|
|
14
14
|
setStaticRoute(staticRoute: string): void;
|
|
15
15
|
unmount(): void;
|
|
@@ -15,6 +15,7 @@ export var getThemeAdminByName = function getThemeAdminByName(name) {
|
|
|
15
15
|
};
|
|
16
16
|
export var AdminPortalRenderer = /*#__PURE__*/function () {
|
|
17
17
|
function AdminPortalRenderer(name, themeOptions, store, appOptions) {
|
|
18
|
+
var allowMultipleRenderers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
18
19
|
_classCallCheck(this, AdminPortalRenderer);
|
|
19
20
|
this.app = void 0;
|
|
20
21
|
this.options = void 0;
|
|
@@ -27,7 +28,7 @@ export var AdminPortalRenderer = /*#__PURE__*/function () {
|
|
|
27
28
|
};
|
|
28
29
|
if (store) {
|
|
29
30
|
this.store = store;
|
|
30
|
-
if (store.getState().root.appName !== name) {
|
|
31
|
+
if (!allowMultipleRenderers && store.getState().root.appName !== name) {
|
|
31
32
|
throw Error('Mismatch in store names');
|
|
32
33
|
}
|
|
33
34
|
} else {
|
|
@@ -11,7 +11,7 @@ export declare class LoginBoxRenderer {
|
|
|
11
11
|
themeSetter: ((themeOptions: FronteggThemeOptions) => {}) | undefined;
|
|
12
12
|
setRoute: (route: string) => void;
|
|
13
13
|
themeOptions: FronteggThemeOptions;
|
|
14
|
-
constructor(name: string, themeOptions: FronteggThemeOptions, store?: EnhancedStore, appOptions?: Partial<FronteggAppOptions
|
|
14
|
+
constructor(name: string, themeOptions: FronteggThemeOptions, store?: EnhancedStore, appOptions?: Partial<FronteggAppOptions>, allowMultipleRenderers?: boolean);
|
|
15
15
|
render(loginBoxContainer: HTMLElement): Promise<void>;
|
|
16
16
|
unmount(): void;
|
|
17
17
|
setTheme(themeOptions: FronteggThemeOptions): void;
|
|
@@ -17,6 +17,7 @@ export var getThemeByName = function getThemeByName(name) {
|
|
|
17
17
|
};
|
|
18
18
|
export var LoginBoxRenderer = /*#__PURE__*/function () {
|
|
19
19
|
function LoginBoxRenderer(name, themeOptions, store, appOptions) {
|
|
20
|
+
var allowMultipleRenderers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
20
21
|
_classCallCheck(this, LoginBoxRenderer);
|
|
21
22
|
this.app = void 0;
|
|
22
23
|
this.options = void 0;
|
|
@@ -29,7 +30,7 @@ export var LoginBoxRenderer = /*#__PURE__*/function () {
|
|
|
29
30
|
};
|
|
30
31
|
if (store) {
|
|
31
32
|
this.store = store;
|
|
32
|
-
if (store.getState().root.appName !== name) {
|
|
33
|
+
if (!allowMultipleRenderers && store.getState().root.appName !== name) {
|
|
33
34
|
throw Error('Mismatch in store names');
|
|
34
35
|
}
|
|
35
36
|
} else {
|
package/index.js
CHANGED
|
@@ -23,6 +23,7 @@ var getThemeAdminByName = function getThemeAdminByName(name) {
|
|
|
23
23
|
exports.getThemeAdminByName = getThemeAdminByName;
|
|
24
24
|
var AdminPortalRenderer = /*#__PURE__*/function () {
|
|
25
25
|
function AdminPortalRenderer(name, themeOptions, store, appOptions) {
|
|
26
|
+
var allowMultipleRenderers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
26
27
|
(0, _classCallCheck2["default"])(this, AdminPortalRenderer);
|
|
27
28
|
this.app = void 0;
|
|
28
29
|
this.options = void 0;
|
|
@@ -35,7 +36,7 @@ var AdminPortalRenderer = /*#__PURE__*/function () {
|
|
|
35
36
|
};
|
|
36
37
|
if (store) {
|
|
37
38
|
this.store = store;
|
|
38
|
-
if (store.getState().root.appName !== name) {
|
|
39
|
+
if (!allowMultipleRenderers && store.getState().root.appName !== name) {
|
|
39
40
|
throw Error('Mismatch in store names');
|
|
40
41
|
}
|
|
41
42
|
} else {
|
|
@@ -25,6 +25,7 @@ var getThemeByName = function getThemeByName(name) {
|
|
|
25
25
|
exports.getThemeByName = getThemeByName;
|
|
26
26
|
var LoginBoxRenderer = /*#__PURE__*/function () {
|
|
27
27
|
function LoginBoxRenderer(name, themeOptions, store, appOptions) {
|
|
28
|
+
var allowMultipleRenderers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
28
29
|
(0, _classCallCheck2["default"])(this, LoginBoxRenderer);
|
|
29
30
|
this.app = void 0;
|
|
30
31
|
this.options = void 0;
|
|
@@ -37,7 +38,7 @@ var LoginBoxRenderer = /*#__PURE__*/function () {
|
|
|
37
38
|
};
|
|
38
39
|
if (store) {
|
|
39
40
|
this.store = store;
|
|
40
|
-
if (store.getState().root.appName !== name) {
|
|
41
|
+
if (!allowMultipleRenderers && store.getState().root.appName !== name) {
|
|
41
42
|
throw Error('Mismatch in store names');
|
|
42
43
|
}
|
|
43
44
|
} else {
|
package/node/index.js
CHANGED
package/node/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/js",
|
|
3
|
-
"version": "6.81.0
|
|
3
|
+
"version": "6.81.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": "6.81.0
|
|
9
|
+
"@frontegg/types": "6.81.0"
|
|
10
10
|
},
|
|
11
11
|
"browserslist": {
|
|
12
12
|
"production": [
|
|
@@ -90,6 +90,7 @@ var getThemeAdminByName = function getThemeAdminByName(name) {
|
|
|
90
90
|
};
|
|
91
91
|
var AdminPortalRenderer = /*#__PURE__*/function () {
|
|
92
92
|
function AdminPortalRenderer(name, themeOptions, store, appOptions) {
|
|
93
|
+
var allowMultipleRenderers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
93
94
|
(0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, AdminPortalRenderer);
|
|
94
95
|
this.app = void 0;
|
|
95
96
|
this.options = void 0;
|
|
@@ -102,7 +103,7 @@ var AdminPortalRenderer = /*#__PURE__*/function () {
|
|
|
102
103
|
};
|
|
103
104
|
if (store) {
|
|
104
105
|
this.store = store;
|
|
105
|
-
if (store.getState().root.appName !== name) {
|
|
106
|
+
if (!allowMultipleRenderers && store.getState().root.appName !== name) {
|
|
106
107
|
throw Error('Mismatch in store names');
|
|
107
108
|
}
|
|
108
109
|
} else {
|
|
@@ -840,6 +841,7 @@ var getThemeByName = function getThemeByName(name) {
|
|
|
840
841
|
};
|
|
841
842
|
var LoginBoxRenderer = /*#__PURE__*/function () {
|
|
842
843
|
function LoginBoxRenderer(name, themeOptions, store, appOptions) {
|
|
844
|
+
var allowMultipleRenderers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
843
845
|
(0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, LoginBoxRenderer);
|
|
844
846
|
this.app = void 0;
|
|
845
847
|
this.options = void 0;
|
|
@@ -852,7 +854,7 @@ var LoginBoxRenderer = /*#__PURE__*/function () {
|
|
|
852
854
|
};
|
|
853
855
|
if (store) {
|
|
854
856
|
this.store = store;
|
|
855
|
-
if (store.getState().root.appName !== name) {
|
|
857
|
+
if (!allowMultipleRenderers && store.getState().root.appName !== name) {
|
|
856
858
|
throw Error('Mismatch in store names');
|
|
857
859
|
}
|
|
858
860
|
} else {
|
|
@@ -1196,7 +1198,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1196
1198
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1197
1199
|
/* harmony export */ });
|
|
1198
1200
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1199
|
-
|
|
1201
|
+
cdnVersion: '6.81.0'
|
|
1200
1202
|
});
|
|
1201
1203
|
|
|
1202
1204
|
/***/ }),
|
|
@@ -3944,6 +3946,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3944
3946
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
3945
3947
|
/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ "../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js");
|
|
3946
3948
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/index.js");
|
|
3949
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/groups/enums.js");
|
|
3947
3950
|
/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../reducer */ "../../dist/@frontegg/redux-store/auth/reducer.js");
|
|
3948
3951
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/redux-store/auth/GroupsState/interfaces.js");
|
|
3949
3952
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants */ "../../dist/@frontegg/redux-store/constants.js");
|
|
@@ -4365,7 +4368,8 @@ function* createGroupMock({
|
|
|
4365
4368
|
}));
|
|
4366
4369
|
yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_5__.actions.setGroupsState({
|
|
4367
4370
|
groups: [(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, payload, {
|
|
4368
|
-
id: `${payload.name}ID
|
|
4371
|
+
id: `${payload.name}ID`,
|
|
4372
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_8__.GroupManagedByEnum.FRONTEGG
|
|
4369
4373
|
}), ...(groups != null ? groups : [])]
|
|
4370
4374
|
}));
|
|
4371
4375
|
yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.delay)(500);
|
|
@@ -4390,7 +4394,8 @@ function* updateGroupMock({
|
|
|
4390
4394
|
var _payload$name;
|
|
4391
4395
|
return group.id === payload.groupId ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, payload, {
|
|
4392
4396
|
id: payload.groupId,
|
|
4393
|
-
name: (_payload$name = payload == null ? void 0 : payload.name) != null ? _payload$name : ''
|
|
4397
|
+
name: (_payload$name = payload == null ? void 0 : payload.name) != null ? _payload$name : '',
|
|
4398
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_8__.GroupManagedByEnum.FRONTEGG
|
|
4394
4399
|
}) : group;
|
|
4395
4400
|
}),
|
|
4396
4401
|
selectedGroup: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state == null ? void 0 : state.selectedGroup, {
|
|
@@ -13838,6 +13843,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13838
13843
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
13839
13844
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ApiTokensState/interfaces */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
|
|
13840
13845
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/auth/secutiry-poilicy/interfaces.js");
|
|
13846
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/groups/enums.js");
|
|
13841
13847
|
|
|
13842
13848
|
|
|
13843
13849
|
|
|
@@ -14218,74 +14224,85 @@ const allGroupsDummy = [{
|
|
|
14218
14224
|
description: 'The whole design team',
|
|
14219
14225
|
users: generateGroupUsers(6),
|
|
14220
14226
|
roles: [generateRoleByName('Editor')],
|
|
14221
|
-
metadata: '{"lastTermsCheck":"2022-08-16T10:31:11.270Z"}'
|
|
14227
|
+
metadata: '{"lastTermsCheck":"2022-08-16T10:31:11.270Z"}',
|
|
14228
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14222
14229
|
}, {
|
|
14223
14230
|
id: 'id2',
|
|
14224
14231
|
name: 'Developers',
|
|
14225
14232
|
color: '#03A9F4',
|
|
14226
14233
|
description: 'All frontend and backend developers',
|
|
14227
14234
|
users: generateGroupUsers(44),
|
|
14228
|
-
roles: [generateRoleByName('Editor')]
|
|
14235
|
+
roles: [generateRoleByName('Editor')],
|
|
14236
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14229
14237
|
}, {
|
|
14230
14238
|
id: 'id3',
|
|
14231
14239
|
name: 'Product',
|
|
14232
14240
|
color: '#E1583E',
|
|
14233
14241
|
description: 'PMs and team leads',
|
|
14234
14242
|
users: generateGroupUsers(8),
|
|
14235
|
-
roles: [generateRoleByName('Viewer')]
|
|
14243
|
+
roles: [generateRoleByName('Viewer')],
|
|
14244
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14236
14245
|
}, {
|
|
14237
14246
|
id: 'id4',
|
|
14238
14247
|
name: 'Management',
|
|
14239
14248
|
color: '#9AE0FF',
|
|
14240
14249
|
description: 'Executives',
|
|
14241
14250
|
users: generateGroupUsers(5),
|
|
14242
|
-
roles: [generateRoleByName('Admin'), generateRoleByName('Owner')]
|
|
14251
|
+
roles: [generateRoleByName('Admin'), generateRoleByName('Owner')],
|
|
14252
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14243
14253
|
}, {
|
|
14244
14254
|
id: 'id5',
|
|
14245
14255
|
name: 'Sales',
|
|
14246
14256
|
color: '#ED8E7C',
|
|
14247
14257
|
users: generateGroupUsers(21),
|
|
14248
14258
|
description: 'BDR, AE, and inside sales',
|
|
14249
|
-
roles: [generateRoleByName('Viewer')]
|
|
14259
|
+
roles: [generateRoleByName('Viewer')],
|
|
14260
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14250
14261
|
}, {
|
|
14251
14262
|
id: 'id6',
|
|
14252
14263
|
name: 'Support',
|
|
14253
14264
|
color: '#A79D7B',
|
|
14254
14265
|
users: generateGroupUsers(23),
|
|
14255
14266
|
description: 'Dev success and customer success',
|
|
14256
|
-
roles: [generateRoleByName('Admin')]
|
|
14267
|
+
roles: [generateRoleByName('Admin')],
|
|
14268
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14257
14269
|
}, {
|
|
14258
14270
|
id: 'id7',
|
|
14259
14271
|
name: 'Marketing',
|
|
14260
14272
|
color: '#2CA744',
|
|
14261
14273
|
users: generateGroupUsers(10),
|
|
14262
14274
|
description: 'The marketing department',
|
|
14263
|
-
roles: [generateRoleByName('Viewer')]
|
|
14275
|
+
roles: [generateRoleByName('Viewer')],
|
|
14276
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14264
14277
|
}, {
|
|
14265
14278
|
id: 'id8',
|
|
14266
14279
|
name: 'HR',
|
|
14267
14280
|
color: '#EAE1C2',
|
|
14268
14281
|
users: generateGroupUsers(4),
|
|
14269
14282
|
description: 'Human resources',
|
|
14270
|
-
roles: [generateRoleByName('Viewer')]
|
|
14283
|
+
roles: [generateRoleByName('Viewer')],
|
|
14284
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14271
14285
|
}, {
|
|
14272
14286
|
id: 'id9',
|
|
14273
14287
|
name: 'Finance',
|
|
14274
14288
|
color: '#5587C0',
|
|
14275
14289
|
users: generateGroupUsers(3),
|
|
14276
|
-
roles: [generateRoleByName('Viewer')]
|
|
14290
|
+
roles: [generateRoleByName('Viewer')],
|
|
14291
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14277
14292
|
}, {
|
|
14278
14293
|
id: 'id10',
|
|
14279
14294
|
name: 'Operations',
|
|
14280
14295
|
color: '#B1CAE7',
|
|
14281
14296
|
users: generateGroupUsers(8),
|
|
14282
|
-
roles: [generateRoleByName('Editor')]
|
|
14297
|
+
roles: [generateRoleByName('Editor')],
|
|
14298
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14283
14299
|
}, {
|
|
14284
14300
|
id: 'id11',
|
|
14285
14301
|
name: 'Legal',
|
|
14286
14302
|
color: '#2CA744',
|
|
14287
14303
|
users: generateGroupUsers(4),
|
|
14288
|
-
roles: [generateRoleByName('Viewer')]
|
|
14304
|
+
roles: [generateRoleByName('Viewer')],
|
|
14305
|
+
managedBy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.GroupManagedByEnum.FRONTEGG
|
|
14289
14306
|
}];
|
|
14290
14307
|
|
|
14291
14308
|
/***/ }),
|
|
@@ -18847,7 +18864,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18847
18864
|
/* harmony export */ });
|
|
18848
18865
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
18849
18866
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
18850
|
-
/** @license Frontegg v6.81.0
|
|
18867
|
+
/** @license Frontegg v6.81.0
|
|
18851
18868
|
*
|
|
18852
18869
|
* This source code is licensed under the MIT license found in the
|
|
18853
18870
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -20231,12 +20248,13 @@ const urls = {
|
|
|
20231
20248
|
v1: '/identity/resources/impersonation/v1'
|
|
20232
20249
|
},
|
|
20233
20250
|
groups: {
|
|
20251
|
+
v1: '/identity/resources/groups/v1',
|
|
20234
20252
|
configurations: {
|
|
20235
20253
|
v1: '/identity/resources/groups/v1/config'
|
|
20236
20254
|
},
|
|
20237
|
-
|
|
20238
|
-
|
|
20239
|
-
|
|
20255
|
+
getByIds: {
|
|
20256
|
+
v1: '/identity/resources/groups/v1/bulkGet'
|
|
20257
|
+
}
|
|
20240
20258
|
}
|
|
20241
20259
|
},
|
|
20242
20260
|
team: {
|
|
@@ -20748,6 +20766,35 @@ const PostDownload = async (url, body, params, opts) => sendRequest((0,_babel_ru
|
|
|
20748
20766
|
|
|
20749
20767
|
/***/ }),
|
|
20750
20768
|
|
|
20769
|
+
/***/ "../../node_modules/@frontegg/rest-api/groups/enums.js":
|
|
20770
|
+
/*!*************************************************************!*\
|
|
20771
|
+
!*** ../../node_modules/@frontegg/rest-api/groups/enums.js ***!
|
|
20772
|
+
\*************************************************************/
|
|
20773
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
20774
|
+
|
|
20775
|
+
"use strict";
|
|
20776
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20777
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20778
|
+
/* harmony export */ "GroupManagedByEnum": () => (/* binding */ GroupManagedByEnum),
|
|
20779
|
+
/* harmony export */ "GroupRelations": () => (/* binding */ GroupRelations)
|
|
20780
|
+
/* harmony export */ });
|
|
20781
|
+
let GroupRelations;
|
|
20782
|
+
|
|
20783
|
+
(function (GroupRelations) {
|
|
20784
|
+
GroupRelations["roles"] = "roles";
|
|
20785
|
+
GroupRelations["users"] = "users";
|
|
20786
|
+
GroupRelations["rolesAndUsers"] = "rolesAndUsers";
|
|
20787
|
+
})(GroupRelations || (GroupRelations = {}));
|
|
20788
|
+
|
|
20789
|
+
let GroupManagedByEnum;
|
|
20790
|
+
|
|
20791
|
+
(function (GroupManagedByEnum) {
|
|
20792
|
+
GroupManagedByEnum["FRONTEGG"] = "frontegg";
|
|
20793
|
+
GroupManagedByEnum["SCIM2"] = "scim2";
|
|
20794
|
+
})(GroupManagedByEnum || (GroupManagedByEnum = {}));
|
|
20795
|
+
|
|
20796
|
+
/***/ }),
|
|
20797
|
+
|
|
20751
20798
|
/***/ "../../node_modules/@frontegg/rest-api/groups/index.js":
|
|
20752
20799
|
/*!*************************************************************!*\
|
|
20753
20800
|
!*** ../../node_modules/@frontegg/rest-api/groups/index.js ***!
|
|
@@ -20766,6 +20813,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20766
20813
|
/* harmony export */ "getGroupById": () => (/* binding */ getGroupById),
|
|
20767
20814
|
/* harmony export */ "getGroupConfiguration": () => (/* binding */ getGroupConfiguration),
|
|
20768
20815
|
/* harmony export */ "getGroups": () => (/* binding */ getGroups),
|
|
20816
|
+
/* harmony export */ "getGroupsByIds": () => (/* binding */ getGroupsByIds),
|
|
20769
20817
|
/* harmony export */ "updateGroup": () => (/* binding */ updateGroup),
|
|
20770
20818
|
/* harmony export */ "updateGroupConfiguration": () => (/* binding */ updateGroupConfiguration)
|
|
20771
20819
|
/* harmony export */ });
|
|
@@ -20786,6 +20834,11 @@ async function getGroupById({
|
|
|
20786
20834
|
async function getGroups(query) {
|
|
20787
20835
|
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Get)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}`, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, query));
|
|
20788
20836
|
}
|
|
20837
|
+
async function getGroupsByIds(body, params) {
|
|
20838
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.getByIds.v1}`, body, {
|
|
20839
|
+
params
|
|
20840
|
+
});
|
|
20841
|
+
}
|
|
20789
20842
|
async function createGroup(body) {
|
|
20790
20843
|
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}`, body);
|
|
20791
20844
|
}
|
|
@@ -20801,16 +20854,16 @@ async function deleteGroup(groupId) {
|
|
|
20801
20854
|
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Delete)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}`);
|
|
20802
20855
|
}
|
|
20803
20856
|
async function addRolesToGroup(groupId, body) {
|
|
20804
|
-
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}
|
|
20857
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}/roles`, body);
|
|
20805
20858
|
}
|
|
20806
20859
|
async function deleteRolesFromGroup(groupId, body) {
|
|
20807
|
-
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Delete)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}
|
|
20860
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Delete)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}/roles`, body);
|
|
20808
20861
|
}
|
|
20809
20862
|
async function addUsersToGroup(groupId, body) {
|
|
20810
|
-
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}
|
|
20863
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}/users`, body);
|
|
20811
20864
|
}
|
|
20812
20865
|
async function deleteUsersFromGroup(groupId, body) {
|
|
20813
|
-
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Delete)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}
|
|
20866
|
+
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Delete)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.v1}/${groupId}/users`, body);
|
|
20814
20867
|
}
|
|
20815
20868
|
async function getGroupConfiguration() {
|
|
20816
20869
|
return (0,_fetch__WEBPACK_IMPORTED_MODULE_2__.Get)(`${_constants__WEBPACK_IMPORTED_MODULE_3__.urls.identity.groups.configurations.v1}`);
|
|
@@ -20851,21 +20904,23 @@ async function impersonate(body) {
|
|
|
20851
20904
|
"use strict";
|
|
20852
20905
|
__webpack_require__.r(__webpack_exports__);
|
|
20853
20906
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20854
|
-
/* harmony export */ "AuthStrategyEnum": () => (/* reexport safe */
|
|
20855
|
-
/* harmony export */ "ContextHolder": () => (/* reexport safe */
|
|
20907
|
+
/* harmony export */ "AuthStrategyEnum": () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_26__.AuthStrategyEnum),
|
|
20908
|
+
/* harmony export */ "ContextHolder": () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_24__.ContextHolder),
|
|
20856
20909
|
/* harmony export */ "FeatureFlags": () => (/* reexport safe */ _feature_flags__WEBPACK_IMPORTED_MODULE_4__.FeatureFlags),
|
|
20857
|
-
/* harmony export */ "FronteggApiError": () => (/* reexport safe */
|
|
20858
|
-
/* harmony export */ "FronteggContext": () => (/* reexport safe */
|
|
20859
|
-
/* harmony export */ "
|
|
20860
|
-
/* harmony export */ "
|
|
20910
|
+
/* harmony export */ "FronteggApiError": () => (/* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_25__.FronteggApiError),
|
|
20911
|
+
/* harmony export */ "FronteggContext": () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_24__.FronteggContext),
|
|
20912
|
+
/* harmony export */ "GroupManagedByEnum": () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_7__.GroupManagedByEnum),
|
|
20913
|
+
/* harmony export */ "GroupRelations": () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_7__.GroupRelations),
|
|
20914
|
+
/* harmony export */ "ISubscriptionCancellationPolicy": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_27__.ISubscriptionCancellationPolicy),
|
|
20915
|
+
/* harmony export */ "ISubscriptionStatus": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_27__.ISubscriptionStatus),
|
|
20861
20916
|
/* harmony export */ "MFAStrategyEnum": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_0__.MFAStrategyEnum),
|
|
20862
|
-
/* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */
|
|
20863
|
-
/* harmony export */ "PaymentMethodType": () => (/* reexport safe */
|
|
20864
|
-
/* harmony export */ "ProviderType": () => (/* reexport safe */
|
|
20917
|
+
/* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_26__.MachineToMachineAuthStrategy),
|
|
20918
|
+
/* harmony export */ "PaymentMethodType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_27__.PaymentMethodType),
|
|
20919
|
+
/* harmony export */ "ProviderType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_27__.ProviderType),
|
|
20865
20920
|
/* harmony export */ "RestrictionType": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_0__.RestrictionType),
|
|
20866
20921
|
/* harmony export */ "ScimConnectionSource": () => (/* reexport safe */ _directory_interfaces__WEBPACK_IMPORTED_MODULE_6__.ScimConnectionSource),
|
|
20867
20922
|
/* harmony export */ "SecondaryAuthStrategy": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_0__.SecondaryAuthStrategy),
|
|
20868
|
-
/* harmony export */ "SocialLoginProviders": () => (/* reexport safe */
|
|
20923
|
+
/* harmony export */ "SocialLoginProviders": () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_26__.SocialLoginProviders),
|
|
20869
20924
|
/* harmony export */ "TenantType": () => (/* reexport safe */ _tenants_interfaces__WEBPACK_IMPORTED_MODULE_2__.TenantType),
|
|
20870
20925
|
/* harmony export */ "UserManagedByEnum": () => (/* reexport safe */ _teams_interfaces__WEBPACK_IMPORTED_MODULE_1__.UserManagedByEnum),
|
|
20871
20926
|
/* harmony export */ "WebAuthnDeviceType": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_0__.WebAuthnDeviceType),
|
|
@@ -20874,9 +20929,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20874
20929
|
/* harmony export */ "createConfiguration": () => (/* reexport safe */ _directory__WEBPACK_IMPORTED_MODULE_5__.createConfiguration),
|
|
20875
20930
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
20876
20931
|
/* harmony export */ "deleteConfiguration": () => (/* reexport safe */ _directory__WEBPACK_IMPORTED_MODULE_5__.deleteConfiguration),
|
|
20877
|
-
/* harmony export */ "fetch": () => (/* reexport module object */
|
|
20878
|
-
/* harmony export */ "
|
|
20879
|
-
/* harmony export */ "fronteggLogoutApiRoutes": () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_3__.fronteggLogoutApiRoutes),
|
|
20932
|
+
/* harmony export */ "fetch": () => (/* reexport module object */ _fetch__WEBPACK_IMPORTED_MODULE_23__),
|
|
20933
|
+
/* harmony export */ "fronteggAuthApiRoutesRegex": () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_3__.fronteggAuthApiRoutesRegex),
|
|
20880
20934
|
/* harmony export */ "fronteggRefreshTokenUrl": () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_3__.fronteggRefreshTokenUrl),
|
|
20881
20935
|
/* harmony export */ "fronteggSilentRefreshTokenUrl": () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_3__.fronteggSilentRefreshTokenUrl),
|
|
20882
20936
|
/* harmony export */ "fronteggTenantsUrl": () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_3__.fronteggTenantsUrl),
|
|
@@ -20885,34 +20939,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20885
20939
|
/* harmony export */ "loadFeatureFlags": () => (/* reexport safe */ _feature_flags__WEBPACK_IMPORTED_MODULE_4__.loadFeatureFlags),
|
|
20886
20940
|
/* harmony export */ "updateConfiguration": () => (/* reexport safe */ _directory__WEBPACK_IMPORTED_MODULE_5__.updateConfiguration)
|
|
20887
20941
|
/* harmony export */ });
|
|
20888
|
-
/* harmony import */ var
|
|
20889
|
-
/* harmony import */ var
|
|
20890
|
-
/* harmony import */ var
|
|
20891
|
-
/* harmony import */ var
|
|
20892
|
-
/* harmony import */ var
|
|
20893
|
-
/* harmony import */ var
|
|
20894
|
-
/* harmony import */ var
|
|
20895
|
-
/* harmony import */ var
|
|
20896
|
-
/* harmony import */ var
|
|
20897
|
-
/* harmony import */ var
|
|
20898
|
-
/* harmony import */ var
|
|
20899
|
-
/* harmony import */ var
|
|
20900
|
-
/* harmony import */ var
|
|
20901
|
-
/* harmony import */ var
|
|
20902
|
-
/* harmony import */ var
|
|
20942
|
+
/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./auth */ "../../node_modules/@frontegg/rest-api/auth/index.js");
|
|
20943
|
+
/* harmony import */ var _teams__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./teams */ "../../node_modules/@frontegg/rest-api/teams/index.js");
|
|
20944
|
+
/* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./metadata */ "../../node_modules/@frontegg/rest-api/metadata/index.js");
|
|
20945
|
+
/* harmony import */ var _reports__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./reports */ "../../node_modules/@frontegg/rest-api/reports/index.js");
|
|
20946
|
+
/* harmony import */ var _notifications__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./notifications */ "../../node_modules/@frontegg/rest-api/notifications/index.js");
|
|
20947
|
+
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./audits */ "../../node_modules/@frontegg/rest-api/audits/index.js");
|
|
20948
|
+
/* harmony import */ var _fetch__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./fetch */ "../../node_modules/@frontegg/rest-api/fetch.js");
|
|
20949
|
+
/* harmony import */ var _connectivity__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./connectivity */ "../../node_modules/@frontegg/rest-api/connectivity/index.js");
|
|
20950
|
+
/* harmony import */ var _tenants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./tenants */ "../../node_modules/@frontegg/rest-api/tenants/index.js");
|
|
20951
|
+
/* harmony import */ var _account_settings__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./account-settings */ "../../node_modules/@frontegg/rest-api/account-settings/index.js");
|
|
20952
|
+
/* harmony import */ var _roles__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./roles */ "../../node_modules/@frontegg/rest-api/roles/index.js");
|
|
20953
|
+
/* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./subscriptions */ "../../node_modules/@frontegg/rest-api/subscriptions/index.js");
|
|
20954
|
+
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./error */ "../../node_modules/@frontegg/rest-api/error.js");
|
|
20955
|
+
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./vendor */ "../../node_modules/@frontegg/rest-api/vendor/index.js");
|
|
20956
|
+
/* harmony import */ var _sub_tenants__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./sub-tenants */ "../../node_modules/@frontegg/rest-api/sub-tenants/index.js");
|
|
20903
20957
|
/* harmony import */ var _feature_flags__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./feature-flags */ "../../node_modules/@frontegg/rest-api/feature-flags/index.js");
|
|
20904
20958
|
/* harmony import */ var _directory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./directory */ "../../node_modules/@frontegg/rest-api/directory/index.js");
|
|
20905
|
-
/* harmony import */ var
|
|
20906
|
-
/* harmony import */ var
|
|
20907
|
-
/* harmony import */ var
|
|
20959
|
+
/* harmony import */ var _impersonate__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./impersonate */ "../../node_modules/@frontegg/rest-api/impersonate/index.js");
|
|
20960
|
+
/* harmony import */ var _groups__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./groups */ "../../node_modules/@frontegg/rest-api/groups/index.js");
|
|
20961
|
+
/* harmony import */ var _ContextHolder__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ContextHolder */ "../../node_modules/@frontegg/rest-api/ContextHolder/index.js");
|
|
20908
20962
|
/* harmony import */ var _auth_interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./auth/interfaces */ "../../node_modules/@frontegg/rest-api/auth/interfaces.js");
|
|
20909
20963
|
/* harmony import */ var _teams_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./teams/interfaces */ "../../node_modules/@frontegg/rest-api/teams/interfaces.js");
|
|
20910
20964
|
/* harmony import */ var _tenants_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tenants/interfaces */ "../../node_modules/@frontegg/rest-api/tenants/interfaces.js");
|
|
20911
20965
|
/* harmony import */ var _routers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./routers */ "../../node_modules/@frontegg/rest-api/routers.js");
|
|
20912
20966
|
/* harmony import */ var _directory_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./directory/interfaces */ "../../node_modules/@frontegg/rest-api/directory/interfaces.js");
|
|
20913
|
-
/* harmony import */ var
|
|
20914
|
-
/* harmony import */ var
|
|
20915
|
-
|
|
20967
|
+
/* harmony import */ var _groups_enums__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./groups/enums */ "../../node_modules/@frontegg/rest-api/groups/enums.js");
|
|
20968
|
+
/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./auth */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
|
|
20969
|
+
/* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./subscriptions */ "../../node_modules/@frontegg/rest-api/subscriptions/enums.js");
|
|
20970
|
+
/** @license Frontegg v3.0.95
|
|
20916
20971
|
*
|
|
20917
20972
|
* This source code is licensed under the MIT license found in the
|
|
20918
20973
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -20958,41 +21013,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20958
21013
|
|
|
20959
21014
|
|
|
20960
21015
|
|
|
21016
|
+
|
|
20961
21017
|
|
|
20962
21018
|
|
|
20963
21019
|
const api = {
|
|
20964
|
-
auth:
|
|
20965
|
-
teams:
|
|
20966
|
-
metadata:
|
|
20967
|
-
reports:
|
|
20968
|
-
connectivity:
|
|
20969
|
-
notifications:
|
|
20970
|
-
audits:
|
|
20971
|
-
tenants:
|
|
20972
|
-
accountSettings:
|
|
20973
|
-
roles:
|
|
20974
|
-
subscriptions:
|
|
20975
|
-
vendor:
|
|
20976
|
-
subTenants:
|
|
21020
|
+
auth: _auth__WEBPACK_IMPORTED_MODULE_8__,
|
|
21021
|
+
teams: _teams__WEBPACK_IMPORTED_MODULE_9__,
|
|
21022
|
+
metadata: _metadata__WEBPACK_IMPORTED_MODULE_10__,
|
|
21023
|
+
reports: _reports__WEBPACK_IMPORTED_MODULE_11__,
|
|
21024
|
+
connectivity: _connectivity__WEBPACK_IMPORTED_MODULE_12__,
|
|
21025
|
+
notifications: _notifications__WEBPACK_IMPORTED_MODULE_13__,
|
|
21026
|
+
audits: _audits__WEBPACK_IMPORTED_MODULE_14__,
|
|
21027
|
+
tenants: _tenants__WEBPACK_IMPORTED_MODULE_15__,
|
|
21028
|
+
accountSettings: _account_settings__WEBPACK_IMPORTED_MODULE_16__,
|
|
21029
|
+
roles: _roles__WEBPACK_IMPORTED_MODULE_17__,
|
|
21030
|
+
subscriptions: _subscriptions__WEBPACK_IMPORTED_MODULE_18__,
|
|
21031
|
+
vendor: _vendor__WEBPACK_IMPORTED_MODULE_19__,
|
|
21032
|
+
subTenants: _sub_tenants__WEBPACK_IMPORTED_MODULE_20__,
|
|
20977
21033
|
featureFlags: _feature_flags__WEBPACK_IMPORTED_MODULE_4__,
|
|
20978
21034
|
directory: _directory__WEBPACK_IMPORTED_MODULE_5__,
|
|
20979
|
-
impersonate:
|
|
20980
|
-
groups:
|
|
21035
|
+
impersonate: _impersonate__WEBPACK_IMPORTED_MODULE_21__,
|
|
21036
|
+
groups: _groups__WEBPACK_IMPORTED_MODULE_22__
|
|
20981
21037
|
};
|
|
20982
21038
|
|
|
20983
21039
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
20984
|
-
fetch:
|
|
20985
|
-
ContextHolder:
|
|
20986
|
-
FronteggContext:
|
|
21040
|
+
fetch: _fetch__WEBPACK_IMPORTED_MODULE_23__,
|
|
21041
|
+
ContextHolder: _ContextHolder__WEBPACK_IMPORTED_MODULE_24__.ContextHolder,
|
|
21042
|
+
FronteggContext: _ContextHolder__WEBPACK_IMPORTED_MODULE_24__.FronteggContext,
|
|
20987
21043
|
api,
|
|
20988
|
-
FronteggApiError:
|
|
20989
|
-
AuthStrategyEnum:
|
|
20990
|
-
MachineToMachineAuthStrategy:
|
|
20991
|
-
SocialLoginProviders:
|
|
20992
|
-
ISubscriptionCancellationPolicy:
|
|
20993
|
-
ISubscriptionStatus:
|
|
20994
|
-
PaymentMethodType:
|
|
20995
|
-
ProviderType:
|
|
21044
|
+
FronteggApiError: _error__WEBPACK_IMPORTED_MODULE_25__.FronteggApiError,
|
|
21045
|
+
AuthStrategyEnum: _auth__WEBPACK_IMPORTED_MODULE_26__.AuthStrategyEnum,
|
|
21046
|
+
MachineToMachineAuthStrategy: _auth__WEBPACK_IMPORTED_MODULE_26__.MachineToMachineAuthStrategy,
|
|
21047
|
+
SocialLoginProviders: _auth__WEBPACK_IMPORTED_MODULE_26__.SocialLoginProviders,
|
|
21048
|
+
ISubscriptionCancellationPolicy: _subscriptions__WEBPACK_IMPORTED_MODULE_27__.ISubscriptionCancellationPolicy,
|
|
21049
|
+
ISubscriptionStatus: _subscriptions__WEBPACK_IMPORTED_MODULE_27__.ISubscriptionStatus,
|
|
21050
|
+
PaymentMethodType: _subscriptions__WEBPACK_IMPORTED_MODULE_27__.PaymentMethodType,
|
|
21051
|
+
ProviderType: _subscriptions__WEBPACK_IMPORTED_MODULE_27__.ProviderType
|
|
20996
21052
|
});
|
|
20997
21053
|
|
|
20998
21054
|
/***/ }),
|
|
@@ -21363,8 +21419,7 @@ async function getPermissionCategories() {
|
|
|
21363
21419
|
"use strict";
|
|
21364
21420
|
__webpack_require__.r(__webpack_exports__);
|
|
21365
21421
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21366
|
-
/* harmony export */ "
|
|
21367
|
-
/* harmony export */ "fronteggLogoutApiRoutes": () => (/* binding */ fronteggLogoutApiRoutes),
|
|
21422
|
+
/* harmony export */ "fronteggAuthApiRoutesRegex": () => (/* binding */ fronteggAuthApiRoutesRegex),
|
|
21368
21423
|
/* harmony export */ "fronteggRefreshTokenUrl": () => (/* binding */ fronteggRefreshTokenUrl),
|
|
21369
21424
|
/* harmony export */ "fronteggSilentRefreshTokenUrl": () => (/* binding */ fronteggSilentRefreshTokenUrl),
|
|
21370
21425
|
/* harmony export */ "fronteggTenantsUrl": () => (/* binding */ fronteggTenantsUrl),
|
|
@@ -21372,8 +21427,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21372
21427
|
/* harmony export */ });
|
|
21373
21428
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ "../../node_modules/@frontegg/rest-api/constants.js");
|
|
21374
21429
|
|
|
21375
|
-
const
|
|
21376
|
-
const fronteggAuthApiRoutes = [...fronteggLogoutApiRoutes, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/user/saml/postlogin`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v2}/user/oidc/postlogin`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/user`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/user/mfa/verify`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/user/token/refresh`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.users.v1}`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.users.v1}/signUp`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/passwordless/magiclink/postlogin`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/passwordless/code/postlogin`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/passwordless/smscode/postlogin`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.users.v1}/activate`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.users.v1}/invitation/accept`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.oauth.v1}/token`, `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.oauth.v1}/authorize/silent`];
|
|
21430
|
+
const fronteggAuthApiRoutesRegex = [/^(.*)\/logout$/g, '/logout', /^\/identity\/resources\/auth\/v[0-9]*\/user\/[^\/]*\/postlogin$/g, /^\/identity\/resources\/auth\/v[0-9]*\/passwordless\/[^\/]*\/postlogin$/g, /^\/identity\/resources\/auth\/v[0-9]*\/webauthn\/postlogin$/g, /^\/identity\/resources\/auth\/v[0-9]*\/user$/g, /^\/identity\/resources\/auth\/v[0-9]*\/user\/token\/refresh$/g, /^\/identity\/resources\/users\/v[0-9]*$/g, /^\/identity\/resources\/users\/v[0-9]*\/signUp$/g, /^\/identity\/resources\/users\/v[0-9]*\/activate$/g, /^\/identity\/resources\/users\/v[0-9]*\/invitation\/accept$/g, /^\/identity\/resources\/auth\/v[0-9]*\/user\/mfa\/verify$/g, /^\/identity\/resources\/auth\/v[0-9]*\/user\/mfa\/[^\/]*\/[^\/]*\/verify$/g, /^\/oauth\/token$/g, /^\/oauth\/authorize\/silent$/g];
|
|
21377
21431
|
const fronteggRefreshTokenUrl = `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.auth.v1}/user/token/refresh`;
|
|
21378
21432
|
const fronteggSilentRefreshTokenUrl = `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.oauth.v1}/authorize/silent`;
|
|
21379
21433
|
const fronteggUsersUrl = `${_constants__WEBPACK_IMPORTED_MODULE_0__.urls.identity.users.v2}/me`;
|