@verdocs/js-sdk 5.0.4 → 5.0.6

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
@@ -1645,6 +1645,7 @@ interface IKbaIdentity {
1645
1645
  state?: string;
1646
1646
  zip?: string;
1647
1647
  ssnLast4?: string;
1648
+ email?: string;
1648
1649
  }
1649
1650
  /**
1650
1651
  * Submit an identity response to a KBA challenge.
@@ -2571,7 +2572,10 @@ declare const getOrganization: (endpoint: VerdocsEndpoint, organizationId: strin
2571
2572
  * @apiBody string secondary_color? URL of a small-format (square is recommended) PNG logo
2572
2573
  * @apiSuccess IAuthenticateResponse . Authentication credentials for user in the new organization. The user will be made an Owner automatically.
2573
2574
  */
2574
- declare const createOrganization: (endpoint: VerdocsEndpoint, params: Pick<IOrganization, "name" | "address" | "address2" | "phone" | "contact_email" | "url" | "full_logo_url" | "thumbnail_url" | "primary_color" | "secondary_color">) => Promise<IAuthenticateResponse>;
2575
+ declare const createOrganization: (endpoint: VerdocsEndpoint, params: Pick<IOrganization, "name" | "address" | "address2" | "phone" | "contact_email" | "url" | "full_logo_url" | "thumbnail_url" | "primary_color" | "secondary_color">) => Promise<IAuthenticateResponse & {
2576
+ profile: IProfile;
2577
+ organization: IOrganization;
2578
+ }>;
2575
2579
  /**
2576
2580
  * Update an organization. This can only be called by an admin or owner.
2577
2581
  *
package/dist/index.d.ts CHANGED
@@ -1645,6 +1645,7 @@ interface IKbaIdentity {
1645
1645
  state?: string;
1646
1646
  zip?: string;
1647
1647
  ssnLast4?: string;
1648
+ email?: string;
1648
1649
  }
1649
1650
  /**
1650
1651
  * Submit an identity response to a KBA challenge.
@@ -2571,7 +2572,10 @@ declare const getOrganization: (endpoint: VerdocsEndpoint, organizationId: strin
2571
2572
  * @apiBody string secondary_color? URL of a small-format (square is recommended) PNG logo
2572
2573
  * @apiSuccess IAuthenticateResponse . Authentication credentials for user in the new organization. The user will be made an Owner automatically.
2573
2574
  */
2574
- declare const createOrganization: (endpoint: VerdocsEndpoint, params: Pick<IOrganization, "name" | "address" | "address2" | "phone" | "contact_email" | "url" | "full_logo_url" | "thumbnail_url" | "primary_color" | "secondary_color">) => Promise<IAuthenticateResponse>;
2575
+ declare const createOrganization: (endpoint: VerdocsEndpoint, params: Pick<IOrganization, "name" | "address" | "address2" | "phone" | "contact_email" | "url" | "full_logo_url" | "thumbnail_url" | "primary_color" | "secondary_color">) => Promise<IAuthenticateResponse & {
2576
+ profile: IProfile;
2577
+ organization: IOrganization;
2578
+ }>;
2575
2579
  /**
2576
2580
  * Update an organization. This can only be called by an admin or owner.
2577
2581
  *