@verdocs/js-sdk 3.0.32 → 3.0.35

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.
@@ -5,6 +5,7 @@ export interface ICreateEnvelopeRequest {
5
5
  template_id: string;
6
6
  roles: ICreateEnvelopeRole[];
7
7
  name: string;
8
+ environment?: string;
8
9
  }
9
10
  /**
10
11
  * Create an envelope
@@ -91,20 +91,21 @@ export interface IEnvelopesSummary {
91
91
  };
92
92
  }
93
93
  export interface IRecipient {
94
+ envelope_id: string;
95
+ role_name: string;
94
96
  agreed: boolean;
95
97
  claimed: boolean;
96
98
  created_at: string;
97
99
  delegated_to: string | null;
98
100
  delegator: boolean;
99
101
  email: string;
100
- envelope_id: string;
101
102
  full_name: string;
102
103
  in_app_access_key?: string;
103
104
  key_used_to_conclude?: string;
104
105
  message: string | null;
105
106
  phone: string | null;
106
107
  profile_id: string;
107
- role_name: string;
108
+ environment: string;
108
109
  /**
109
110
  * The sequence number indicates the order in which Recipients act. Multiple recipients may have the same sequence
110
111
  * number, in which case they may act in parallel. (e.g. all Recipients at sequence 2 will receive invites once
@@ -34,6 +34,10 @@ export interface ITemplate {
34
34
  * Number of times the template has been "starred".
35
35
  */
36
36
  star_counter: number;
37
+ /**
38
+ * If true, the template is considered "sendable" (it has at least one signer, and every signer has at least one field.)
39
+ */
40
+ is_sendable: boolean;
37
41
  /**
38
42
  * If true, the template is only visible to the creator. If false, the template will also be visible to the user's
39
43
  * organization, if any.
@@ -106,6 +110,10 @@ export interface ITemplateSummaryEntry {
106
110
  description: string | null;
107
111
  created_at: string;
108
112
  updated_at: string;
113
+ /**
114
+ * If true, the template is considered "sendable" (it has at least one signer, and every signer has at least one field.)
115
+ */
116
+ is_sendable: boolean;
109
117
  is_personal: boolean;
110
118
  is_public: boolean;
111
119
  profile_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "3.0.32",
3
+ "version": "3.0.35",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",