Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@frontegg/rest-api

Package Overview
Dependencies
Maintainers
1
Versions
618
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/rest-api - npm Package Compare versions

Comparing version 3.0.117 to 3.0.118

2

index.js

@@ -1,2 +0,2 @@

/** @license Frontegg v3.0.117
/** @license Frontegg v3.0.118
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -1,2 +0,2 @@

/** @license Frontegg v3.0.117
/** @license Frontegg v3.0.118
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -10,2 +10,3 @@ "use strict";

exports.getParentTenants = getParentTenants;
exports.getParentTenantsById = getParentTenantsById;
exports.getSubTenants = getSubTenants;

@@ -50,2 +51,8 @@ exports.getSubTenantsAsTree = getSubTenantsAsTree;

async function getParentTenantsById(tenantId, options) {
return (0, _fetch.Get)(`${_constants.urls.tenants.hierarchy.parents.v1}/${tenantId}`, undefined, {
headers: (0, _fetch.extractHeadersFromOptions)(options)
});
}
async function getTenantsUsersCount(body, options) {

@@ -52,0 +59,0 @@ return (0, _fetch.Post)(`${_constants.urls.identity.tenants.users.v1}/count`, body, {

{
"name": "@frontegg/rest-api",
"version": "3.0.117",
"version": "3.0.118",
"main": "./node/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -34,4 +34,5 @@ import { GetHierarchyMetadataParams, GetHierarchyMetadataResponse, IGetTenantsUserCountRequest, IGetTenantsUserCountResponse, IParentTenant, ISubTenant, ISubTenantTree, ISwitchTenant, ITenantsResponse, SearchSubTenantsParams, SearchSubTenantsResponse } from "./interfaces";

export declare function getParentTenants(options?: UserJwtOptions): Promise<IParentTenant[]>;
export declare function getParentTenantsById(tenantId: string, options?: UserJwtOptions): Promise<IParentTenant[]>;
export declare function getTenantsUsersCount(body: IGetTenantsUserCountRequest, options?: UserJwtOptions): Promise<IGetTenantsUserCountResponse[]>;
export declare function searchSubTenants(params: SearchSubTenantsParams, options?: UserJwtOptions): Promise<FronteggPaginationWrapper<SearchSubTenantsResponse>>;
export declare function getHierarchyMetadata(params: GetHierarchyMetadataParams, options?: UserJwtOptions): Promise<GetHierarchyMetadataResponse[]>;

@@ -25,2 +25,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";

}
export async function getParentTenantsById(tenantId, options) {
return Get(`${urls.tenants.hierarchy.parents.v1}/${tenantId}`, undefined, {
headers: extractHeadersFromOptions(options)
});
}
export async function getTenantsUsersCount(body, options) {

@@ -27,0 +32,0 @@ return Post(`${urls.identity.tenants.users.v1}/count`, body, {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc