@frontegg/rest-api
Advanced tools
Comparing version 3.0.138 to 3.0.139
@@ -46,2 +46,7 @@ export declare const urls: { | ||
}; | ||
passwords: { | ||
resetBreachedPasswords: { | ||
v1: string; | ||
}; | ||
}; | ||
}; | ||
@@ -242,3 +247,11 @@ configurations: { | ||
}; | ||
securityCenter: { | ||
recommendations: { | ||
v1: string; | ||
}; | ||
insights: { | ||
v1: string; | ||
}; | ||
}; | ||
}; | ||
export declare const GENERIC_ERROR_MESSAGE = "We're facing some difficulties, Please try again"; |
@@ -45,2 +45,7 @@ export const urls = { | ||
} | ||
}, | ||
passwords: { | ||
resetBreachedPasswords: { | ||
v1: 'identity/resources/users/v1/passwords/breached/reset/bulk' | ||
} | ||
} | ||
@@ -241,4 +246,12 @@ }, | ||
v1: '/entitlements/api/v1/user-entitlements' | ||
}, | ||
securityCenter: { | ||
recommendations: { | ||
v1: '/security-center/resources/v1/security-center' | ||
}, | ||
insights: { | ||
v1: '/security-center/resources/v1/insights' | ||
} | ||
} | ||
}; | ||
export const GENERIC_ERROR_MESSAGE = `We're facing some difficulties, Please try again`; |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v3.0.138 | ||
/** @license Frontegg v3.0.139 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -51,2 +51,7 @@ "use strict"; | ||
} | ||
}, | ||
passwords: { | ||
resetBreachedPasswords: { | ||
v1: 'identity/resources/users/v1/passwords/breached/reset/bulk' | ||
} | ||
} | ||
@@ -247,2 +252,10 @@ }, | ||
v1: '/entitlements/api/v1/user-entitlements' | ||
}, | ||
securityCenter: { | ||
recommendations: { | ||
v1: '/security-center/resources/v1/security-center' | ||
}, | ||
insights: { | ||
v1: '/security-center/resources/v1/insights' | ||
} | ||
} | ||
@@ -249,0 +262,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v3.0.138 | ||
/** @license Frontegg v3.0.139 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -14,2 +14,3 @@ "use strict"; | ||
exports.getUsersV3 = getUsersV3; | ||
exports.sendResetBreachedPasswordEmails = sendResetBreachedPasswordEmails; | ||
@@ -58,2 +59,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); | ||
}); | ||
} | ||
async function sendResetBreachedPasswordEmails() { | ||
return (0, _fetch.Post)(_constants.urls.identity.users.passwords.resetBreachedPasswords.v1); | ||
} |
{ | ||
"name": "@frontegg/rest-api", | ||
"version": "3.0.138", | ||
"version": "3.0.139", | ||
"main": "./node/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -9,1 +9,2 @@ import { GetCurrentUserTenantsResponse, GetUserGroupsParams, GetUserGroupsResponse, GetUserJwtRequestDto, GetUserJwtResponseDto, GetUserRolesResponse, GetUsersRolesParams, IGetUsersV2Response, ISearchUserQueryParamsV2, ISearchUserQueryParamsV3, IUsersV3Data } from './interfaces'; | ||
export declare function getCurrentUserTenantsV3(options?: UserJwtOptions): Promise<GetCurrentUserTenantsResponse>; | ||
export declare function sendResetBreachedPasswordEmails(): Promise<void>; |
@@ -35,2 +35,5 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
}); | ||
} | ||
export async function sendResetBreachedPasswordEmails() { | ||
return Post(urls.identity.users.passwords.resetBreachedPasswords.v1); | ||
} |
379991
217
10406