@frontegg/rest-api 7.108.0-alpha.0 → 7.109.0-alpha.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/constants.d.ts +3 -0
- package/constants.js +13 -1
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/node/constants.js +17 -2
- package/node/index.js +23 -2
- package/package.json +1 -1
package/constants.d.ts
CHANGED
|
@@ -307,3 +307,6 @@ export declare const urls: {
|
|
|
307
307
|
export declare const GENERIC_ERROR_MESSAGE = "We're facing some difficulties, Please try again";
|
|
308
308
|
export declare const GENERIC_ERROR_CODE = "ER-ADMIN-PORTAL-GENERIC-ERROR";
|
|
309
309
|
export declare const FRONTEGG_TRACE_ID = "frontegg-trace-id";
|
|
310
|
+
export declare const INVITATION_TENANT_LOCKED_ERROR_CODE = "ER-01239";
|
|
311
|
+
export declare const INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE = "ER-01240";
|
|
312
|
+
export declare const ACTIVATION_TENANT_LOCKED_ERROR_CODE = "ER-01241";
|
package/constants.js
CHANGED
|
@@ -308,4 +308,16 @@ export const urls = {
|
|
|
308
308
|
};
|
|
309
309
|
export const GENERIC_ERROR_MESSAGE = `We're facing some difficulties, Please try again`;
|
|
310
310
|
export const GENERIC_ERROR_CODE = 'ER-ADMIN-PORTAL-GENERIC-ERROR';
|
|
311
|
-
export const FRONTEGG_TRACE_ID = 'frontegg-trace-id';
|
|
311
|
+
export const FRONTEGG_TRACE_ID = 'frontegg-trace-id';
|
|
312
|
+
|
|
313
|
+
// Returned by identity-service when a user attempts to accept / use an invitation token
|
|
314
|
+
// whose target tenant is locked (HTTP 400 Bad Request, IdentityErrorCodes.InvitationTenantLockedException).
|
|
315
|
+
export const INVITATION_TENANT_LOCKED_ERROR_CODE = 'ER-01239';
|
|
316
|
+
|
|
317
|
+
// Returned by identity-service when an admin attempts to create an invitation link for a
|
|
318
|
+
// locked tenant (HTTP 400 Bad Request, IdentityErrorCodes.InvitationLinkCreationTenantLockedException).
|
|
319
|
+
export const INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE = 'ER-01240';
|
|
320
|
+
|
|
321
|
+
// Returned by identity-service when a user opens an activation link (from email) for a
|
|
322
|
+
// locked tenant (HTTP 400 Bad Request, IdentityErrorCodes.ActivationTenantLockedException).
|
|
323
|
+
export const ACTIVATION_TENANT_LOCKED_ERROR_CODE = 'ER-01241';
|
package/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export * from './user-phone-numbers/interfaces';
|
|
|
61
61
|
export * from './applications/interfaces';
|
|
62
62
|
export * from './velo/interfaces';
|
|
63
63
|
export * from './users-emails-policy/interfaces';
|
|
64
|
-
export { GENERIC_ERROR_CODE, GENERIC_ERROR_MESSAGE } from './constants';
|
|
64
|
+
export { GENERIC_ERROR_CODE, GENERIC_ERROR_MESSAGE, ACTIVATION_TENANT_LOCKED_ERROR_CODE, INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE, INVITATION_TENANT_LOCKED_ERROR_CODE, } from './constants';
|
|
65
65
|
/**
|
|
66
66
|
* Frontegg API client for default app
|
|
67
67
|
*
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license Frontegg v7.
|
|
1
|
+
/** @license Frontegg v7.109.0-alpha.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.
|
|
@@ -66,7 +66,7 @@ export * from './user-phone-numbers/interfaces';
|
|
|
66
66
|
export * from './applications/interfaces';
|
|
67
67
|
export * from './velo/interfaces';
|
|
68
68
|
export * from './users-emails-policy/interfaces';
|
|
69
|
-
export { GENERIC_ERROR_CODE, GENERIC_ERROR_MESSAGE } from './constants';
|
|
69
|
+
export { GENERIC_ERROR_CODE, GENERIC_ERROR_MESSAGE, ACTIVATION_TENANT_LOCKED_ERROR_CODE, INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE, INVITATION_TENANT_LOCKED_ERROR_CODE } from './constants';
|
|
70
70
|
/**
|
|
71
71
|
* Frontegg API client for default app
|
|
72
72
|
*
|
package/node/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.urls = exports.GENERIC_ERROR_MESSAGE = exports.GENERIC_ERROR_CODE = exports.FRONTEGG_TRACE_ID = void 0;
|
|
6
|
+
exports.urls = exports.INVITATION_TENANT_LOCKED_ERROR_CODE = exports.INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE = exports.GENERIC_ERROR_MESSAGE = exports.GENERIC_ERROR_CODE = exports.FRONTEGG_TRACE_ID = exports.ACTIVATION_TENANT_LOCKED_ERROR_CODE = void 0;
|
|
7
7
|
const urls = {
|
|
8
8
|
vendor: '/vendors',
|
|
9
9
|
identity: {
|
|
@@ -318,4 +318,19 @@ exports.GENERIC_ERROR_MESSAGE = GENERIC_ERROR_MESSAGE;
|
|
|
318
318
|
const GENERIC_ERROR_CODE = 'ER-ADMIN-PORTAL-GENERIC-ERROR';
|
|
319
319
|
exports.GENERIC_ERROR_CODE = GENERIC_ERROR_CODE;
|
|
320
320
|
const FRONTEGG_TRACE_ID = 'frontegg-trace-id';
|
|
321
|
-
|
|
321
|
+
|
|
322
|
+
// Returned by identity-service when a user attempts to accept / use an invitation token
|
|
323
|
+
// whose target tenant is locked (HTTP 400 Bad Request, IdentityErrorCodes.InvitationTenantLockedException).
|
|
324
|
+
exports.FRONTEGG_TRACE_ID = FRONTEGG_TRACE_ID;
|
|
325
|
+
const INVITATION_TENANT_LOCKED_ERROR_CODE = 'ER-01239';
|
|
326
|
+
|
|
327
|
+
// Returned by identity-service when an admin attempts to create an invitation link for a
|
|
328
|
+
// locked tenant (HTTP 400 Bad Request, IdentityErrorCodes.InvitationLinkCreationTenantLockedException).
|
|
329
|
+
exports.INVITATION_TENANT_LOCKED_ERROR_CODE = INVITATION_TENANT_LOCKED_ERROR_CODE;
|
|
330
|
+
const INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE = 'ER-01240';
|
|
331
|
+
|
|
332
|
+
// Returned by identity-service when a user opens an activation link (from email) for a
|
|
333
|
+
// locked tenant (HTTP 400 Bad Request, IdentityErrorCodes.ActivationTenantLockedException).
|
|
334
|
+
exports.INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE = INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE;
|
|
335
|
+
const ACTIVATION_TENANT_LOCKED_ERROR_CODE = 'ER-01241';
|
|
336
|
+
exports.ACTIVATION_TENANT_LOCKED_ERROR_CODE = ACTIVATION_TENANT_LOCKED_ERROR_CODE;
|
package/node/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license Frontegg v7.
|
|
1
|
+
/** @license Frontegg v7.109.0-alpha.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.
|
|
@@ -30,8 +30,17 @@ var _exportNames = {
|
|
|
30
30
|
ContextHolder: true,
|
|
31
31
|
FronteggContext: true,
|
|
32
32
|
GENERIC_ERROR_CODE: true,
|
|
33
|
-
GENERIC_ERROR_MESSAGE: true
|
|
33
|
+
GENERIC_ERROR_MESSAGE: true,
|
|
34
|
+
ACTIVATION_TENANT_LOCKED_ERROR_CODE: true,
|
|
35
|
+
INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE: true,
|
|
36
|
+
INVITATION_TENANT_LOCKED_ERROR_CODE: true
|
|
34
37
|
};
|
|
38
|
+
Object.defineProperty(exports, "ACTIVATION_TENANT_LOCKED_ERROR_CODE", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () {
|
|
41
|
+
return _constants.ACTIVATION_TENANT_LOCKED_ERROR_CODE;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
35
44
|
Object.defineProperty(exports, "AuthStrategyEnum", {
|
|
36
45
|
enumerable: true,
|
|
37
46
|
get: function () {
|
|
@@ -86,6 +95,18 @@ Object.defineProperty(exports, "GENERIC_ERROR_MESSAGE", {
|
|
|
86
95
|
return _constants.GENERIC_ERROR_MESSAGE;
|
|
87
96
|
}
|
|
88
97
|
});
|
|
98
|
+
Object.defineProperty(exports, "INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return _constants.INVITATION_LINK_CREATION_TENANT_LOCKED_ERROR_CODE;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "INVITATION_TENANT_LOCKED_ERROR_CODE", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () {
|
|
107
|
+
return _constants.INVITATION_TENANT_LOCKED_ERROR_CODE;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
89
110
|
Object.defineProperty(exports, "ISubscriptionCancellationPolicy", {
|
|
90
111
|
enumerable: true,
|
|
91
112
|
get: function () {
|