@verdocs/js-sdk 5.0.17 → 5.0.19
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 +4 -5
- package/dist/index.d.ts +4 -5
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -648,12 +648,11 @@ interface IRecipient {
|
|
|
648
648
|
status: TRecipientStatus;
|
|
649
649
|
first_name: string;
|
|
650
650
|
last_name: string;
|
|
651
|
+
/** @deprecated. Use first_name/last_name instead. */
|
|
652
|
+
full_name?: string | null;
|
|
651
653
|
email: string;
|
|
652
654
|
/** Phone number for SMS invites */
|
|
653
655
|
phone?: string | null;
|
|
654
|
-
full_name?: string | null;
|
|
655
|
-
/** Phone number for SMS verification */
|
|
656
|
-
phone_otp?: string | null;
|
|
657
656
|
/** Street address. Only used in KBA workflows. Combine two-line addresses into a single string. */
|
|
658
657
|
address?: string | null;
|
|
659
658
|
/** Zip code. Only used in KBA workflows. */
|
|
@@ -703,7 +702,7 @@ interface IRecipient {
|
|
|
703
702
|
* assumptions (e.g. if SMS notifications are not enabled for the organization, but SMS authentication
|
|
704
703
|
* is).
|
|
705
704
|
*/
|
|
706
|
-
phone_auth?: string;
|
|
705
|
+
phone_auth?: string | null;
|
|
707
706
|
/**
|
|
708
707
|
* If authentication has been completed successfully, this will be set to 'complete'. This is a union type
|
|
709
708
|
* to allow for future expansion with authentication modules that may require multiple steps.
|
|
@@ -958,7 +957,7 @@ type TFieldType = "signature" | "initial" | "checkbox" | "radio" | "textbox" | "
|
|
|
958
957
|
type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "envelope_updated" | "template_created" | "template_updated" | "template_deleted" | "template_used";
|
|
959
958
|
type TTemplateVisibility = "private" | "shared" | "public";
|
|
960
959
|
type TEntitlement = "envelope" | "kba_auth" | "passcode_auth" | "sms_auth" | "kba_id_auth" | "id_auth";
|
|
961
|
-
type TRecipientAuthMethod = "kba" | "passcode" | "sms" | "id" | "kba_id" | null;
|
|
960
|
+
type TRecipientAuthMethod = "kba" | "passcode" | "sms" | "email" | "id" | "kba_id" | null;
|
|
962
961
|
type TRecipientAuthStep = "complete" | null;
|
|
963
962
|
declare const FIELD_TYPES: TFieldType[];
|
|
964
963
|
declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
|
package/dist/index.d.ts
CHANGED
|
@@ -648,12 +648,11 @@ interface IRecipient {
|
|
|
648
648
|
status: TRecipientStatus;
|
|
649
649
|
first_name: string;
|
|
650
650
|
last_name: string;
|
|
651
|
+
/** @deprecated. Use first_name/last_name instead. */
|
|
652
|
+
full_name?: string | null;
|
|
651
653
|
email: string;
|
|
652
654
|
/** Phone number for SMS invites */
|
|
653
655
|
phone?: string | null;
|
|
654
|
-
full_name?: string | null;
|
|
655
|
-
/** Phone number for SMS verification */
|
|
656
|
-
phone_otp?: string | null;
|
|
657
656
|
/** Street address. Only used in KBA workflows. Combine two-line addresses into a single string. */
|
|
658
657
|
address?: string | null;
|
|
659
658
|
/** Zip code. Only used in KBA workflows. */
|
|
@@ -703,7 +702,7 @@ interface IRecipient {
|
|
|
703
702
|
* assumptions (e.g. if SMS notifications are not enabled for the organization, but SMS authentication
|
|
704
703
|
* is).
|
|
705
704
|
*/
|
|
706
|
-
phone_auth?: string;
|
|
705
|
+
phone_auth?: string | null;
|
|
707
706
|
/**
|
|
708
707
|
* If authentication has been completed successfully, this will be set to 'complete'. This is a union type
|
|
709
708
|
* to allow for future expansion with authentication modules that may require multiple steps.
|
|
@@ -958,7 +957,7 @@ type TFieldType = "signature" | "initial" | "checkbox" | "radio" | "textbox" | "
|
|
|
958
957
|
type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "envelope_updated" | "template_created" | "template_updated" | "template_deleted" | "template_used";
|
|
959
958
|
type TTemplateVisibility = "private" | "shared" | "public";
|
|
960
959
|
type TEntitlement = "envelope" | "kba_auth" | "passcode_auth" | "sms_auth" | "kba_id_auth" | "id_auth";
|
|
961
|
-
type TRecipientAuthMethod = "kba" | "passcode" | "sms" | "id" | "kba_id" | null;
|
|
960
|
+
type TRecipientAuthMethod = "kba" | "passcode" | "sms" | "email" | "id" | "kba_id" | null;
|
|
962
961
|
type TRecipientAuthStep = "complete" | null;
|
|
963
962
|
declare const FIELD_TYPES: TFieldType[];
|
|
964
963
|
declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/js-sdk",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Isomorphic JS/TS SDK providing types and API wrappers for the Verdocs platform for Node and browser clients",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/js-sdk",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Isomorphic JS/TS SDK providing types and API wrappers for the Verdocs platform for Node and browser clients",
|