@frontegg/rest-api
Advanced tools
Comparing version 3.1.71 to 3.1.72
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v3.1.71 | ||
/** @license Frontegg v3.1.72 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v3.1.71 | ||
/** @license Frontegg v3.1.72 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -77,4 +77,6 @@ "use strict"; | ||
tenantId | ||
}, body) { | ||
return (0, _fetch.Put)(`${_constants.urls.tenants.subTenants.v1}/${tenantId}/management`, body); | ||
}, body, options) { | ||
return (0, _fetch.Put)(`${_constants.urls.tenants.subTenants.v1}/${tenantId}/management`, body, { | ||
headers: (0, _fetch.extractHeadersFromOptions)(options) | ||
}); | ||
} | ||
@@ -81,0 +83,0 @@ |
{ | ||
"name": "@frontegg/rest-api", | ||
"version": "3.1.71", | ||
"version": "3.1.72", | ||
"main": "./node/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -12,4 +12,4 @@ import { PaginationResult, UserJwtOptions } from "../interfaces"; | ||
export declare function updateSubTenant({ tenantId }: UpdateSubTenantRequestParams, body: UpdateSubTenantRequest, options?: UserJwtOptions): Promise<void>; | ||
export declare function updateSubTenantManagement({ tenantId }: UpdateSubTenantRequestParams, body: UpdateSubTenantManagementRequest): Promise<CreateSubTenantResponse>; | ||
export declare function updateSubTenantManagement({ tenantId }: UpdateSubTenantRequestParams, body: UpdateSubTenantManagementRequest, options?: UserJwtOptions): Promise<CreateSubTenantResponse>; | ||
export declare function updateSubAccountAccess(userId: string, body: UpdateSubAccountAccessRequestDto, options?: UserJwtOptions): Promise<void>; | ||
export declare function addUsersToSubTenant(body: AddUsersToSubTenantRequest, options?: UserJwtOptions): Promise<void>; |
@@ -48,4 +48,6 @@ import { Delete, extractHeadersFromOptions, Get, Patch, Post, Put } from "../fetch"; | ||
tenantId | ||
}, body) { | ||
return Put(`${urls.tenants.subTenants.v1}/${tenantId}/management`, body); | ||
}, body, options) { | ||
return Put(`${urls.tenants.subTenants.v1}/${tenantId}/management`, body, { | ||
headers: extractHeadersFromOptions(options) | ||
}); | ||
} | ||
@@ -52,0 +54,0 @@ export async function updateSubAccountAccess(userId, body, options) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
421258
11494