@verdocs/js-sdk 3.9.4 → 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.
@@ -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<IProfile>;
143
+ export declare const createBusinessAccount: (endpoint: VerdocsEndpoint, params: ICreateBusinessAccountRequest) => Promise<{
144
+ profile: IProfile;
145
+ organization: IOrganization;
146
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "3.9.4",
3
+ "version": "3.9.5",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",