@verdocs/js-sdk 4.2.46 → 4.2.47

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
@@ -510,7 +510,7 @@ interface IEnvelopeField {
510
510
  /** The machine name of the field, e.g. `Buyer-textbox-1` */
511
511
  name: string;
512
512
  /** The ID of the role in the recipients list, e.g. `Recipient 2` */
513
- recipient_role: string;
513
+ role_name: string;
514
514
  /** The type of the field */
515
515
  type: TFieldType;
516
516
  /** If true, the field will be required */
@@ -544,8 +544,6 @@ interface IEnvelopeField {
544
544
  options: IDropdownOption[] | null;
545
545
  value: string | null;
546
546
  is_valid: boolean;
547
- envelope?: IEnvelope;
548
- document?: IEnvelopeDocument;
549
547
  }
550
548
  interface IEnvelopeFieldOptions {
551
549
  /** The unique ID of the field */
@@ -869,6 +867,8 @@ interface ITemplateField {
869
867
  group: string | null;
870
868
  /** For dropdowns, the options that are selectable. */
871
869
  options: IDropdownOption[] | null;
870
+ value?: string | null;
871
+ is_valid?: boolean;
872
872
  }
873
873
  interface ITextFieldSetting {
874
874
  x: number;
@@ -1239,7 +1239,7 @@ interface ICreateEnvelopeFromTemplateRequest {
1239
1239
  recipients: ICreateEnvelopeRecipient[];
1240
1240
  name: string;
1241
1241
  description?: string;
1242
- fields?: Pick<IEnvelopeField, "name" | "recipient_role" | "default">[];
1242
+ fields?: Pick<IEnvelopeField, "name" | "role_name" | "default">[];
1243
1243
  environment?: string;
1244
1244
  no_contact?: boolean;
1245
1245
  }
@@ -1249,7 +1249,7 @@ interface ICreateEnvelopeDirectlyRequest {
1249
1249
  visiblity?: "private" | "shared";
1250
1250
  recipients: ICreateEnvelopeRecipient[];
1251
1251
  documents: IEnvelopeDocument[];
1252
- fields: Pick<IEnvelopeField, "name" | "recipient_role" | "default">[];
1252
+ fields: Pick<IEnvelopeField, "name" | "role_name" | "default">[];
1253
1253
  environment?: string;
1254
1254
  no_contact?: boolean;
1255
1255
  }
package/dist/index.d.ts CHANGED
@@ -510,7 +510,7 @@ interface IEnvelopeField {
510
510
  /** The machine name of the field, e.g. `Buyer-textbox-1` */
511
511
  name: string;
512
512
  /** The ID of the role in the recipients list, e.g. `Recipient 2` */
513
- recipient_role: string;
513
+ role_name: string;
514
514
  /** The type of the field */
515
515
  type: TFieldType;
516
516
  /** If true, the field will be required */
@@ -544,8 +544,6 @@ interface IEnvelopeField {
544
544
  options: IDropdownOption[] | null;
545
545
  value: string | null;
546
546
  is_valid: boolean;
547
- envelope?: IEnvelope;
548
- document?: IEnvelopeDocument;
549
547
  }
550
548
  interface IEnvelopeFieldOptions {
551
549
  /** The unique ID of the field */
@@ -869,6 +867,8 @@ interface ITemplateField {
869
867
  group: string | null;
870
868
  /** For dropdowns, the options that are selectable. */
871
869
  options: IDropdownOption[] | null;
870
+ value?: string | null;
871
+ is_valid?: boolean;
872
872
  }
873
873
  interface ITextFieldSetting {
874
874
  x: number;
@@ -1239,7 +1239,7 @@ interface ICreateEnvelopeFromTemplateRequest {
1239
1239
  recipients: ICreateEnvelopeRecipient[];
1240
1240
  name: string;
1241
1241
  description?: string;
1242
- fields?: Pick<IEnvelopeField, "name" | "recipient_role" | "default">[];
1242
+ fields?: Pick<IEnvelopeField, "name" | "role_name" | "default">[];
1243
1243
  environment?: string;
1244
1244
  no_contact?: boolean;
1245
1245
  }
@@ -1249,7 +1249,7 @@ interface ICreateEnvelopeDirectlyRequest {
1249
1249
  visiblity?: "private" | "shared";
1250
1250
  recipients: ICreateEnvelopeRecipient[];
1251
1251
  documents: IEnvelopeDocument[];
1252
- fields: Pick<IEnvelopeField, "name" | "recipient_role" | "default">[];
1252
+ fields: Pick<IEnvelopeField, "name" | "role_name" | "default">[];
1253
1253
  environment?: string;
1254
1254
  no_contact?: boolean;
1255
1255
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "4.2.46",
3
+ "version": "4.2.47",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Isomorphic JS 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": "4.2.46",
3
+ "version": "4.2.47",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Isomorphic JS SDK providing types and API wrappers for the Verdocs platform for Node and Browser clients",