@frontegg/rest-api 7.67.0 → 7.68.0-alpha.1

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.
@@ -25,7 +25,7 @@ export declare class DirectoryApi extends BaseApiClient {
25
25
  *
26
26
  * ``authorized user``
27
27
  */
28
- deleteConfiguration: (id: string) => Promise<void>;
28
+ deleteConfiguration: (id: string, deleteAll: boolean) => Promise<void>;
29
29
  countConfigurationUsers: (id: string) => Promise<Scim2CountResponse>;
30
30
  }
31
31
  declare const _default: DirectoryApi;
@@ -12,8 +12,10 @@ export class DirectoryApi extends BaseApiClient {
12
12
  this.createConfiguration = async body => {
13
13
  return this.post(`${urls.directory.v1}`, body);
14
14
  };
15
- this.deleteConfiguration = async id => {
16
- return this.delete(`${urls.directory.v1}/${id}`);
15
+ this.deleteConfiguration = async (id, deleteAll) => {
16
+ return this.delete(`${urls.directory.v1}/${id}`, {
17
+ deleteAll
18
+ });
17
19
  };
18
20
  this.countConfigurationUsers = async id => {
19
21
  return this.get(`${urls.directory.temp}/${id}/Users/count`);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.67.0
1
+ /** @license Frontegg v7.68.0-alpha.1
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.
@@ -18,8 +18,10 @@ class DirectoryApi extends _BaseApiClient.BaseApiClient {
18
18
  this.createConfiguration = async body => {
19
19
  return this.post(`${_constants.urls.directory.v1}`, body);
20
20
  };
21
- this.deleteConfiguration = async id => {
22
- return this.delete(`${_constants.urls.directory.v1}/${id}`);
21
+ this.deleteConfiguration = async (id, deleteAll) => {
22
+ return this.delete(`${_constants.urls.directory.v1}/${id}`, {
23
+ deleteAll
24
+ });
23
25
  };
24
26
  this.countConfigurationUsers = async id => {
25
27
  return this.get(`${_constants.urls.directory.temp}/${id}/Users/count`);
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.67.0
1
+ /** @license Frontegg v7.68.0-alpha.1
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "7.67.0",
3
+ "version": "7.68.0-alpha.1",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",