@verdocs/js-sdk 3.9.3 → 3.9.5
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/Users/Auth.js +1 -1
- package/Users/Profiles.d.ts +5 -2
- package/package.json +1 -1
package/Users/Auth.js
CHANGED
|
@@ -100,7 +100,7 @@ export var updatePassword = function (endpoint, params) {
|
|
|
100
100
|
*/
|
|
101
101
|
export var resetPassword = function (endpoint, params) {
|
|
102
102
|
return endpoint.api //
|
|
103
|
-
.
|
|
103
|
+
.post('/user/reset_password', params)
|
|
104
104
|
.then(function (r) { return r.data; });
|
|
105
105
|
};
|
|
106
106
|
/**
|
package/Users/Profiles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ICreateProfileRequest, IPermission, IProfile, IRole, ISwitchProfileResponse, IUpdateProfileRequest } from './Types';
|
|
2
|
-
import { IGroup } from '../Organizations/Types';
|
|
2
|
+
import { IGroup, IOrganization } from '../Organizations/Types';
|
|
3
3
|
import { VerdocsEndpoint } from '../VerdocsEndpoint';
|
|
4
4
|
/**
|
|
5
5
|
* Get the user's available profiles. The current profile will be marked with `current: true`.
|
|
@@ -140,4 +140,7 @@ export interface ICreateBusinessAccountRequest {
|
|
|
140
140
|
* });
|
|
141
141
|
* ```
|
|
142
142
|
*/
|
|
143
|
-
export declare const createBusinessAccount: (endpoint: VerdocsEndpoint, params: ICreateBusinessAccountRequest) => Promise<
|
|
143
|
+
export declare const createBusinessAccount: (endpoint: VerdocsEndpoint, params: ICreateBusinessAccountRequest) => Promise<{
|
|
144
|
+
profile: IProfile;
|
|
145
|
+
organization: IOrganization;
|
|
146
|
+
}>;
|