@verdocs/js-sdk 4.2.124 → 4.2.135

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
@@ -571,9 +571,9 @@ interface IEnvelopeFieldOptions {
571
571
  value: string;
572
572
  }
573
573
  interface IEnvelopeFieldSettings {
574
- type: string;
575
- x: number;
576
- y: number;
574
+ type?: string;
575
+ x?: number;
576
+ y?: number;
577
577
  width?: number;
578
578
  height?: number;
579
579
  value?: number | string;
@@ -1278,15 +1278,15 @@ interface ICreateEnvelopeReminderRequest {
1278
1278
  interface ICreateEnvelopeFromTemplateRequest {
1279
1279
  template_id: string;
1280
1280
  recipients: ICreateEnvelopeRecipient[];
1281
- name: string;
1281
+ name?: string;
1282
1282
  description?: string;
1283
1283
  fields?: Pick<IEnvelopeField, "name" | "role_name" | "default">[];
1284
1284
  environment?: string;
1285
1285
  no_contact?: boolean;
1286
1286
  /** Delay (in seconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable. */
1287
- initial_reminder: number;
1287
+ initial_reminder?: number;
1288
1288
  /** Delay (in seconds) before subsequent remidners are sent (min: 12hrs). Set to 0 or null to disable. */
1289
- followup_reminders: number;
1289
+ followup_reminders?: number;
1290
1290
  }
1291
1291
  interface ICreateEnvelopeDirectlyRequest {
1292
1292
  name: string;
@@ -2462,13 +2462,8 @@ interface IGetTemplatesParams {
2462
2462
  is_starred?: boolean;
2463
2463
  /** List only those templates created by the caller. */
2464
2464
  is_creator?: boolean;
2465
- /**
2466
- * List only personal templates. To list shared templates, set this to false and is_public to false.
2467
- * To list all templates, omit this field.
2468
- */
2469
- is_personal?: boolean;
2470
- /** List only public templates */
2471
- is_public?: boolean;
2465
+ /** Visibility status of templates to include. private_shared is the default (private + shared) */
2466
+ visibility: "private_shared" | "private" | "shared" | "public";
2472
2467
  /** Sort order */
2473
2468
  sort_by?: TSortTemplateBy;
2474
2469
  /** Set to true or false to control the sort order. Omit this field to sort dates descending, names ascending. */
package/dist/index.d.ts CHANGED
@@ -571,9 +571,9 @@ interface IEnvelopeFieldOptions {
571
571
  value: string;
572
572
  }
573
573
  interface IEnvelopeFieldSettings {
574
- type: string;
575
- x: number;
576
- y: number;
574
+ type?: string;
575
+ x?: number;
576
+ y?: number;
577
577
  width?: number;
578
578
  height?: number;
579
579
  value?: number | string;
@@ -1278,15 +1278,15 @@ interface ICreateEnvelopeReminderRequest {
1278
1278
  interface ICreateEnvelopeFromTemplateRequest {
1279
1279
  template_id: string;
1280
1280
  recipients: ICreateEnvelopeRecipient[];
1281
- name: string;
1281
+ name?: string;
1282
1282
  description?: string;
1283
1283
  fields?: Pick<IEnvelopeField, "name" | "role_name" | "default">[];
1284
1284
  environment?: string;
1285
1285
  no_contact?: boolean;
1286
1286
  /** Delay (in seconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable. */
1287
- initial_reminder: number;
1287
+ initial_reminder?: number;
1288
1288
  /** Delay (in seconds) before subsequent remidners are sent (min: 12hrs). Set to 0 or null to disable. */
1289
- followup_reminders: number;
1289
+ followup_reminders?: number;
1290
1290
  }
1291
1291
  interface ICreateEnvelopeDirectlyRequest {
1292
1292
  name: string;
@@ -2462,13 +2462,8 @@ interface IGetTemplatesParams {
2462
2462
  is_starred?: boolean;
2463
2463
  /** List only those templates created by the caller. */
2464
2464
  is_creator?: boolean;
2465
- /**
2466
- * List only personal templates. To list shared templates, set this to false and is_public to false.
2467
- * To list all templates, omit this field.
2468
- */
2469
- is_personal?: boolean;
2470
- /** List only public templates */
2471
- is_public?: boolean;
2465
+ /** Visibility status of templates to include. private_shared is the default (private + shared) */
2466
+ visibility: "private_shared" | "private" | "shared" | "public";
2472
2467
  /** Sort order */
2473
2468
  sort_by?: TSortTemplateBy;
2474
2469
  /** Set to true or false to control the sort order. Omit this field to sort dates descending, names ascending. */