@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.
- package/directory/index.d.ts +1 -1
- package/directory/index.js +4 -2
- package/index.js +1 -1
- package/node/directory/index.js +4 -2
- package/node/index.js +1 -1
- package/package.json +1 -1
package/directory/index.d.ts
CHANGED
|
@@ -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;
|
package/directory/index.js
CHANGED
|
@@ -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
package/node/directory/index.js
CHANGED
|
@@ -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