@verdocs/js-sdk 4.2.15 → 4.2.17

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/dist/index.d.mts CHANGED
@@ -341,6 +341,8 @@ interface IProfile {
341
341
  first_name: string;
342
342
  last_name: string;
343
343
  email: string;
344
+ /** If true, this user's email address has been verified. Note that this field may not be present in all records. */
345
+ email_verified?: boolean;
344
346
  phone: string | null;
345
347
  picture: string | null;
346
348
  /** If true, this is the caller's "currently selected" profile. All operations will performed "as" this profile. */
@@ -1927,10 +1929,7 @@ declare const deleteProfile: (endpoint: VerdocsEndpoint, profileId: string) => P
1927
1929
  * });
1928
1930
  * ```
1929
1931
  */
1930
- declare const createProfile: (endpoint: VerdocsEndpoint, params: ICreateAccountRequest) => Promise<{
1931
- profile: IProfile;
1932
- organization: IOrganization;
1933
- }>;
1932
+ declare const createProfile: (endpoint: VerdocsEndpoint, params: ICreateAccountRequest) => Promise<IAuthenticateResponse>;
1934
1933
  /**
1935
1934
  * Update the caller's profile photo. This can only be called for the user's "current" profile.
1936
1935
  *
package/dist/index.d.ts CHANGED
@@ -341,6 +341,8 @@ interface IProfile {
341
341
  first_name: string;
342
342
  last_name: string;
343
343
  email: string;
344
+ /** If true, this user's email address has been verified. Note that this field may not be present in all records. */
345
+ email_verified?: boolean;
344
346
  phone: string | null;
345
347
  picture: string | null;
346
348
  /** If true, this is the caller's "currently selected" profile. All operations will performed "as" this profile. */
@@ -1927,10 +1929,7 @@ declare const deleteProfile: (endpoint: VerdocsEndpoint, profileId: string) => P
1927
1929
  * });
1928
1930
  * ```
1929
1931
  */
1930
- declare const createProfile: (endpoint: VerdocsEndpoint, params: ICreateAccountRequest) => Promise<{
1931
- profile: IProfile;
1932
- organization: IOrganization;
1933
- }>;
1932
+ declare const createProfile: (endpoint: VerdocsEndpoint, params: ICreateAccountRequest) => Promise<IAuthenticateResponse>;
1934
1933
  /**
1935
1934
  * Update the caller's profile photo. This can only be called for the user's "current" profile.
1936
1935
  *