@verdocs/js-sdk 5.0.4 → 5.0.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/dist/index.d.mts CHANGED
@@ -2571,7 +2571,10 @@ declare const getOrganization: (endpoint: VerdocsEndpoint, organizationId: strin
2571
2571
  * @apiBody string secondary_color? URL of a small-format (square is recommended) PNG logo
2572
2572
  * @apiSuccess IAuthenticateResponse . Authentication credentials for user in the new organization. The user will be made an Owner automatically.
2573
2573
  */
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>;
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
+ profile: IProfile;
2576
+ organization: IOrganization;
2577
+ }>;
2575
2578
  /**
2576
2579
  * Update an organization. This can only be called by an admin or owner.
2577
2580
  *
package/dist/index.d.ts CHANGED
@@ -2571,7 +2571,10 @@ declare const getOrganization: (endpoint: VerdocsEndpoint, organizationId: strin
2571
2571
  * @apiBody string secondary_color? URL of a small-format (square is recommended) PNG logo
2572
2572
  * @apiSuccess IAuthenticateResponse . Authentication credentials for user in the new organization. The user will be made an Owner automatically.
2573
2573
  */
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>;
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
+ profile: IProfile;
2576
+ organization: IOrganization;
2577
+ }>;
2575
2578
  /**
2576
2579
  * Update an organization. This can only be called by an admin or owner.
2577
2580
  *