@verdocs/js-sdk 5.2.1 → 5.2.2

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
@@ -1934,7 +1934,7 @@ declare const resendInvitation: (endpoint: VerdocsEndpoint, envelopeId: string,
1934
1934
  * @apiBody string ssn_last_4? If KBA-based authentication is used, the recipient's SSN-last-4 to prefill. May only be changed if the recipient has not already completed KBA-based auth.
1935
1935
  * @apiSuccess IRecipient . The updated Recipient.
1936
1936
  */
1937
- declare const updateRecipient: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string) => Promise<IRecipient>;
1937
+ declare const updateRecipient: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, params: IUpdateRecipientParams) => Promise<IRecipient>;
1938
1938
  /**
1939
1939
  * Check to see if the user owns the envelope.
1940
1940
  */
package/dist/index.d.ts CHANGED
@@ -1934,7 +1934,7 @@ declare const resendInvitation: (endpoint: VerdocsEndpoint, envelopeId: string,
1934
1934
  * @apiBody string ssn_last_4? If KBA-based authentication is used, the recipient's SSN-last-4 to prefill. May only be changed if the recipient has not already completed KBA-based auth.
1935
1935
  * @apiSuccess IRecipient . The updated Recipient.
1936
1936
  */
1937
- declare const updateRecipient: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string) => Promise<IRecipient>;
1937
+ declare const updateRecipient: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, params: IUpdateRecipientParams) => Promise<IRecipient>;
1938
1938
  /**
1939
1939
  * Check to see if the user owns the envelope.
1940
1940
  */
package/dist/index.js CHANGED
@@ -2007,8 +2007,8 @@ const resendInvitation = (endpoint, envelopeId, roleName) => endpoint.api //
2007
2007
  * @apiBody string ssn_last_4? If KBA-based authentication is used, the recipient's SSN-last-4 to prefill. May only be changed if the recipient has not already completed KBA-based auth.
2008
2008
  * @apiSuccess IRecipient . The updated Recipient.
2009
2009
  */
2010
- const updateRecipient = (endpoint, envelopeId, roleName) => endpoint.api //
2011
- .patch(`/v2/envelopes/${envelopeId}/recipients/${encodeURIComponent(roleName)}`, { action: 'resend' })
2010
+ const updateRecipient = (endpoint, envelopeId, roleName, params) => endpoint.api //
2011
+ .patch(`/v2/envelopes/${envelopeId}/recipients/${encodeURIComponent(roleName)}`, params)
2012
2012
  .then((r) => r.data);
2013
2013
 
2014
2014
  /**