@verdocs/js-sdk 3.6.2 → 3.6.4

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.
@@ -226,11 +226,10 @@ export declare enum DocumentFieldTypes {
226
226
  }
227
227
  export type TDocumentFieldType = `${DocumentFieldTypes}`;
228
228
  export interface IEnvelopeField {
229
- /**
230
- * The ID of the envelope the field is for. For historical reasons, this is called `envelope_id` because documents
231
- * were previously called envelopes.
232
- */
229
+ /** The ID of the envelope the field is for. */
233
230
  envelope_id: string;
231
+ /** The ID of the document the field is for. */
232
+ document_id: string;
234
233
  /** The machine name of the field, e.g. `checkbox_groupP1-18` */
235
234
  name: string;
236
235
  /** If set, the placeholder/label for the field. */
@@ -258,11 +258,10 @@ export interface ITemplateField {
258
258
  name: string;
259
259
  /** The ID of the role in the recipients list, e.g. `Recipient 2` */
260
260
  role_name: string;
261
- /**
262
- * The ID of the document the field is for. For historical reasons, this is called `envelope_id` because documents
263
- * were previously called envelopes.
264
- */
261
+ /** The ID of the template the field is for. */
265
262
  template_id: string;
263
+ /** The ID of the document the field is for. */
264
+ document_id: string;
266
265
  type: TDocumentFieldType;
267
266
  required: boolean;
268
267
  setting: ITemplateFieldSetting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "3.6.2",
3
+ "version": "3.6.4",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",