@verdocs/js-sdk 5.0.6 → 5.0.8

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
@@ -537,6 +537,8 @@ interface IEnvelopeField {
537
537
  type: TFieldType;
538
538
  /** If true, the field will be required */
539
539
  required: boolean | null;
540
+ /** If true, the field will be not be editable by the participant(s). NOTE: Fields may not be both required and readonly. */
541
+ readonly: boolean | null;
540
542
  /** @deprecated. Use top-level fields instead. */
541
543
  settings: IEnvelopeFieldSettings | null;
542
544
  validator: string | null;
@@ -860,6 +862,8 @@ interface ITemplateField {
860
862
  document_id: string;
861
863
  type: TFieldType;
862
864
  required: boolean;
865
+ /** If true, the field will be not be editable by the participant(s). NOTE: Fields may not be both required and readonly. */
866
+ readonly: boolean | null;
863
867
  /** @deprecated. Use top-level fields instead. */
864
868
  settings: ITemplateFieldSetting | null;
865
869
  page: number;
@@ -926,7 +930,7 @@ type TAccessKeyType = "email" | "in_app" | "in_person_link" | "sms";
926
930
  type TApiKeyPermission = "personal" | "global_read" | "global_write";
927
931
  /** @deprecated. See envelope.created_at, .updated_at, and .canceled_at. */
928
932
  type TDeprecatedHistoryEvent = "envelope:created" | "envelope:completed";
929
- type THistoryEvent = "recipient:signed" | "recipient:opened" | "recipient:submitted" | "recipient:prepared" | "recipient:claimed" | "recipient:agreed" | "recipient:invited" | "recipient:reminder" | "recipient:delegated" | "recipient:updated_info" | "recipient:declined" | "invitation:resent" | "envelope:cc" | "envelope:canceled" | "owner:updated_recipient_info" | "owner:get_in_person_link" | TDeprecatedHistoryEvent;
933
+ type THistoryEvent = "recipient:signed" | "recipient:opened" | "recipient:submitted" | "recipient:prepared" | "recipient:claimed" | "recipient:agreed" | "recipient:invited" | "recipient:reminder" | "recipient:delegated" | "recipient:updated_info" | "recipient:declined" | "recipient:kba_verified" | "recipient:kba_failed" | "recipient:id_verified" | "recipient:id_failed" | "recipient:pin_verified" | "recipient:pin_failed" | "invitation:resent" | "envelope:cc" | "envelope:canceled" | "owner:updated_recipient_info" | "owner:get_in_person_link" | TDeprecatedHistoryEvent;
930
934
  type TEventDetail = "in_app" | "mail" | "signer" | "sms" | "reminder" | "preparer" | "manual" | "in_person_link" | "guest" | "email" | "" | string; // Modification events have a string description
931
935
  // Modification events have a string description
932
936
  type TEnvelopeUpdateResult = Omit<IEnvelope, "histories" | "recipients" | "certificate" | "document" | "fields" | "profile">;
package/dist/index.d.ts CHANGED
@@ -537,6 +537,8 @@ interface IEnvelopeField {
537
537
  type: TFieldType;
538
538
  /** If true, the field will be required */
539
539
  required: boolean | null;
540
+ /** If true, the field will be not be editable by the participant(s). NOTE: Fields may not be both required and readonly. */
541
+ readonly: boolean | null;
540
542
  /** @deprecated. Use top-level fields instead. */
541
543
  settings: IEnvelopeFieldSettings | null;
542
544
  validator: string | null;
@@ -860,6 +862,8 @@ interface ITemplateField {
860
862
  document_id: string;
861
863
  type: TFieldType;
862
864
  required: boolean;
865
+ /** If true, the field will be not be editable by the participant(s). NOTE: Fields may not be both required and readonly. */
866
+ readonly: boolean | null;
863
867
  /** @deprecated. Use top-level fields instead. */
864
868
  settings: ITemplateFieldSetting | null;
865
869
  page: number;
@@ -926,7 +930,7 @@ type TAccessKeyType = "email" | "in_app" | "in_person_link" | "sms";
926
930
  type TApiKeyPermission = "personal" | "global_read" | "global_write";
927
931
  /** @deprecated. See envelope.created_at, .updated_at, and .canceled_at. */
928
932
  type TDeprecatedHistoryEvent = "envelope:created" | "envelope:completed";
929
- type THistoryEvent = "recipient:signed" | "recipient:opened" | "recipient:submitted" | "recipient:prepared" | "recipient:claimed" | "recipient:agreed" | "recipient:invited" | "recipient:reminder" | "recipient:delegated" | "recipient:updated_info" | "recipient:declined" | "invitation:resent" | "envelope:cc" | "envelope:canceled" | "owner:updated_recipient_info" | "owner:get_in_person_link" | TDeprecatedHistoryEvent;
933
+ type THistoryEvent = "recipient:signed" | "recipient:opened" | "recipient:submitted" | "recipient:prepared" | "recipient:claimed" | "recipient:agreed" | "recipient:invited" | "recipient:reminder" | "recipient:delegated" | "recipient:updated_info" | "recipient:declined" | "recipient:kba_verified" | "recipient:kba_failed" | "recipient:id_verified" | "recipient:id_failed" | "recipient:pin_verified" | "recipient:pin_failed" | "invitation:resent" | "envelope:cc" | "envelope:canceled" | "owner:updated_recipient_info" | "owner:get_in_person_link" | TDeprecatedHistoryEvent;
930
934
  type TEventDetail = "in_app" | "mail" | "signer" | "sms" | "reminder" | "preparer" | "manual" | "in_person_link" | "guest" | "email" | "" | string; // Modification events have a string description
931
935
  // Modification events have a string description
932
936
  type TEnvelopeUpdateResult = Omit<IEnvelope, "histories" | "recipients" | "certificate" | "document" | "fields" | "profile">;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "5.0.6",
3
+ "version": "5.0.8",
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.6",
3
+ "version": "5.0.8",
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",