@verdocs/js-sdk 4.2.41 → 4.2.43

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
@@ -153,6 +153,7 @@ interface ISigningSession {
153
153
  email: string;
154
154
  iat: number;
155
155
  exp: number;
156
+ "https://verdocs.com/key_type": TAccessKeyType;
156
157
  "https://verdocs.com/session_type": "signing";
157
158
  "https://verdocs.com/envelope_id": string;
158
159
  "https://verdocs.com/role_name": string;
@@ -613,6 +614,13 @@ interface IRecipient {
613
614
  email: string;
614
615
  phone: string | null;
615
616
  full_name: string;
617
+ first_name: string;
618
+ last_name: string;
619
+ address: string;
620
+ city: string;
621
+ state: string;
622
+ zip: string;
623
+ ssn_last_4: string;
616
624
  /**
617
625
  * The sequence number indicates the order in which Recipients act. Multiple recipients may have the same sequence
618
626
  * number, in which case they may act in parallel. (e.g. all Recipients at sequence 2 will receive invites once
@@ -1133,7 +1141,7 @@ interface ICreateEnvelopeRecipient {
1133
1141
  * The Role name of the recipient. Please note this is not the person's name. It is the ID of the role, e.g.
1134
1142
  * 'Recipient 1', 'Seller', etc. This must match one of the pre-defined roles in the template's Recipients list.
1135
1143
  */
1136
- name: string;
1144
+ role_name: string;
1137
1145
  /** The name of the recipient as it will be displayed in reports and queries, e.g. 'Paige Turner'. */
1138
1146
  first_name: string;
1139
1147
  last_name: string;
@@ -1164,6 +1172,22 @@ interface ICreateEnvelopeRecipient {
1164
1172
  kba_method?: "pin" | "identity" | null;
1165
1173
  /** If PIN-based KBA is used, the PIN to challenge the user to enter. */
1166
1174
  kba_pin?: string;
1175
+ /*
1176
+ * Pre-fill data for the recipient, if known. NOTE: If address and zip are both provided, an initial ID query
1177
+ * will be made for the recipient. If questions are returned immediately, the first challenge will be skipped and
1178
+ * the recipient will be immediately shown those questions, instead.
1179
+ */
1180
+ address?: string;
1181
+ city?: string;
1182
+ state?: string;
1183
+ zip?: string;
1184
+ ssn_last_4?: string;
1185
+ /**
1186
+ * Only returned in creation/getEnvelopeById requests by the creator. May be used for in-person signing. Note that
1187
+ * signing sessions started with this key will be marked as "In App" authenticated. For higher authentication levels,
1188
+ * e.g. email, the signer must follow a link send via the appropriate channel (email).
1189
+ */
1190
+ in_app_key?: string;
1167
1191
  }
1168
1192
  interface IInPersonLinkResponse {
1169
1193
  link: string;
@@ -1485,10 +1509,8 @@ declare const envelopeRecipientUpdateName: (endpoint: VerdocsEndpoint, envelopeI
1485
1509
  */
1486
1510
  declare const envelopeRecipientPrepare: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, recipients: IRecipient[]) => Promise<IRecipient>;
1487
1511
  interface ISignerTokenResponse {
1488
- recipient: IRecipient;
1489
1512
  envelope: IEnvelope;
1490
1513
  access_token: string;
1491
- in_person_key: IInPersonAccessKey;
1492
1514
  }
1493
1515
  /**
1494
1516
  * Get a signing session for an Envelope. Note that this should generally be called with a NON-default
package/dist/index.d.ts CHANGED
@@ -153,6 +153,7 @@ interface ISigningSession {
153
153
  email: string;
154
154
  iat: number;
155
155
  exp: number;
156
+ "https://verdocs.com/key_type": TAccessKeyType;
156
157
  "https://verdocs.com/session_type": "signing";
157
158
  "https://verdocs.com/envelope_id": string;
158
159
  "https://verdocs.com/role_name": string;
@@ -613,6 +614,13 @@ interface IRecipient {
613
614
  email: string;
614
615
  phone: string | null;
615
616
  full_name: string;
617
+ first_name: string;
618
+ last_name: string;
619
+ address: string;
620
+ city: string;
621
+ state: string;
622
+ zip: string;
623
+ ssn_last_4: string;
616
624
  /**
617
625
  * The sequence number indicates the order in which Recipients act. Multiple recipients may have the same sequence
618
626
  * number, in which case they may act in parallel. (e.g. all Recipients at sequence 2 will receive invites once
@@ -1133,7 +1141,7 @@ interface ICreateEnvelopeRecipient {
1133
1141
  * The Role name of the recipient. Please note this is not the person's name. It is the ID of the role, e.g.
1134
1142
  * 'Recipient 1', 'Seller', etc. This must match one of the pre-defined roles in the template's Recipients list.
1135
1143
  */
1136
- name: string;
1144
+ role_name: string;
1137
1145
  /** The name of the recipient as it will be displayed in reports and queries, e.g. 'Paige Turner'. */
1138
1146
  first_name: string;
1139
1147
  last_name: string;
@@ -1164,6 +1172,22 @@ interface ICreateEnvelopeRecipient {
1164
1172
  kba_method?: "pin" | "identity" | null;
1165
1173
  /** If PIN-based KBA is used, the PIN to challenge the user to enter. */
1166
1174
  kba_pin?: string;
1175
+ /*
1176
+ * Pre-fill data for the recipient, if known. NOTE: If address and zip are both provided, an initial ID query
1177
+ * will be made for the recipient. If questions are returned immediately, the first challenge will be skipped and
1178
+ * the recipient will be immediately shown those questions, instead.
1179
+ */
1180
+ address?: string;
1181
+ city?: string;
1182
+ state?: string;
1183
+ zip?: string;
1184
+ ssn_last_4?: string;
1185
+ /**
1186
+ * Only returned in creation/getEnvelopeById requests by the creator. May be used for in-person signing. Note that
1187
+ * signing sessions started with this key will be marked as "In App" authenticated. For higher authentication levels,
1188
+ * e.g. email, the signer must follow a link send via the appropriate channel (email).
1189
+ */
1190
+ in_app_key?: string;
1167
1191
  }
1168
1192
  interface IInPersonLinkResponse {
1169
1193
  link: string;
@@ -1485,10 +1509,8 @@ declare const envelopeRecipientUpdateName: (endpoint: VerdocsEndpoint, envelopeI
1485
1509
  */
1486
1510
  declare const envelopeRecipientPrepare: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, recipients: IRecipient[]) => Promise<IRecipient>;
1487
1511
  interface ISignerTokenResponse {
1488
- recipient: IRecipient;
1489
1512
  envelope: IEnvelope;
1490
1513
  access_token: string;
1491
- in_person_key: IInPersonAccessKey;
1492
1514
  }
1493
1515
  /**
1494
1516
  * Get a signing session for an Envelope. Note that this should generally be called with a NON-default