@verdocs/js-sdk 5.0.40 → 5.0.41

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
@@ -1331,6 +1331,7 @@ interface IUpdateRecipientStatus {
1331
1331
  interface IUpdateRecipientAgreedParams {
1332
1332
  action: "update";
1333
1333
  agreed: boolean;
1334
+ disclosure?: string;
1334
1335
  }
1335
1336
  interface IUpdateRecipientNameParams {
1336
1337
  action: "update";
@@ -1781,7 +1782,7 @@ declare const envelopeRecipientChangeOwner: (endpoint: VerdocsEndpoint, envelope
1781
1782
  /**
1782
1783
  * Agree to electronic signing.
1783
1784
  */
1784
- declare const envelopeRecipientAgree: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, agreed: boolean) => Promise<IRecipient>;
1785
+ declare const envelopeRecipientAgree: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, agreed: boolean, disclosure?: string) => Promise<IRecipient>;
1785
1786
  /**
1786
1787
  * Change a recipient's name.
1787
1788
  */
package/dist/index.d.ts CHANGED
@@ -1331,6 +1331,7 @@ interface IUpdateRecipientStatus {
1331
1331
  interface IUpdateRecipientAgreedParams {
1332
1332
  action: "update";
1333
1333
  agreed: boolean;
1334
+ disclosure?: string;
1334
1335
  }
1335
1336
  interface IUpdateRecipientNameParams {
1336
1337
  action: "update";
@@ -1781,7 +1782,7 @@ declare const envelopeRecipientChangeOwner: (endpoint: VerdocsEndpoint, envelope
1781
1782
  /**
1782
1783
  * Agree to electronic signing.
1783
1784
  */
1784
- declare const envelopeRecipientAgree: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, agreed: boolean) => Promise<IRecipient>;
1785
+ declare const envelopeRecipientAgree: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, agreed: boolean, disclosure?: string) => Promise<IRecipient>;
1785
1786
  /**
1786
1787
  * Change a recipient's name.
1787
1788
  */
package/dist/index.js CHANGED
@@ -1893,7 +1893,7 @@ const envelopeRecipientChangeOwner = (endpoint, envelope_id, role_name, email, f
1893
1893
  /**
1894
1894
  * Agree to electronic signing.
1895
1895
  */
1896
- const envelopeRecipientAgree = (endpoint, envelopeId, roleName, agreed) => updateRecipient(endpoint, envelopeId, roleName, { action: 'update', agreed });
1896
+ const envelopeRecipientAgree = (endpoint, envelopeId, roleName, agreed, disclosure) => updateRecipient(endpoint, envelopeId, roleName, { action: 'update', agreed, disclosure });
1897
1897
  /**
1898
1898
  * Change a recipient's name.
1899
1899
  */