@verdocs/js-sdk 5.0.38 → 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
@@ -614,6 +614,9 @@ interface IEnvelopeFieldSettings {
614
614
  base64?: string;
615
615
  hash?: string;
616
616
  ip_address?: string;
617
+ browser?: string;
618
+ platform?: string;
619
+ mobile?: boolean;
617
620
  signature_id?: string;
618
621
  signed_at?: string;
619
622
  /** Checkbox settings */
@@ -667,8 +670,12 @@ interface IRecipient {
667
670
  state?: string | null;
668
671
  /** Zip code. Only used in KBA workflows. */
669
672
  zip?: string | null;
670
- /** @deprecated. Use dob instead. */
673
+ /** Last 4 digits of SSN. Only used in KBA workflows. */
671
674
  ssn_last_4?: string | null;
675
+ /** The disclosure text the recipient accepted. */
676
+ disclosure?: string | null;
677
+ /** Date/time the recipient agreed to their e-signing disclosures. */
678
+ disclosure_accepted_at?: string | null;
672
679
  /** Date of birth. Only used in KBA workflows. */
673
680
  dob?: string | null;
674
681
  /**
@@ -1324,6 +1331,7 @@ interface IUpdateRecipientStatus {
1324
1331
  interface IUpdateRecipientAgreedParams {
1325
1332
  action: "update";
1326
1333
  agreed: boolean;
1334
+ disclosure?: string;
1327
1335
  }
1328
1336
  interface IUpdateRecipientNameParams {
1329
1337
  action: "update";
@@ -1774,7 +1782,7 @@ declare const envelopeRecipientChangeOwner: (endpoint: VerdocsEndpoint, envelope
1774
1782
  /**
1775
1783
  * Agree to electronic signing.
1776
1784
  */
1777
- 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>;
1778
1786
  /**
1779
1787
  * Change a recipient's name.
1780
1788
  */
package/dist/index.d.ts CHANGED
@@ -614,6 +614,9 @@ interface IEnvelopeFieldSettings {
614
614
  base64?: string;
615
615
  hash?: string;
616
616
  ip_address?: string;
617
+ browser?: string;
618
+ platform?: string;
619
+ mobile?: boolean;
617
620
  signature_id?: string;
618
621
  signed_at?: string;
619
622
  /** Checkbox settings */
@@ -667,8 +670,12 @@ interface IRecipient {
667
670
  state?: string | null;
668
671
  /** Zip code. Only used in KBA workflows. */
669
672
  zip?: string | null;
670
- /** @deprecated. Use dob instead. */
673
+ /** Last 4 digits of SSN. Only used in KBA workflows. */
671
674
  ssn_last_4?: string | null;
675
+ /** The disclosure text the recipient accepted. */
676
+ disclosure?: string | null;
677
+ /** Date/time the recipient agreed to their e-signing disclosures. */
678
+ disclosure_accepted_at?: string | null;
672
679
  /** Date of birth. Only used in KBA workflows. */
673
680
  dob?: string | null;
674
681
  /**
@@ -1324,6 +1331,7 @@ interface IUpdateRecipientStatus {
1324
1331
  interface IUpdateRecipientAgreedParams {
1325
1332
  action: "update";
1326
1333
  agreed: boolean;
1334
+ disclosure?: string;
1327
1335
  }
1328
1336
  interface IUpdateRecipientNameParams {
1329
1337
  action: "update";
@@ -1774,7 +1782,7 @@ declare const envelopeRecipientChangeOwner: (endpoint: VerdocsEndpoint, envelope
1774
1782
  /**
1775
1783
  * Agree to electronic signing.
1776
1784
  */
1777
- 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>;
1778
1786
  /**
1779
1787
  * Change a recipient's name.
1780
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
  */