@verdocs/js-sdk 3.0.18 → 3.0.19
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/Envelopes/Types.d.ts +4 -1
- package/Templates/Types.d.ts +2 -1
- package/package.json +1 -1
package/Envelopes/Types.d.ts
CHANGED
|
@@ -118,13 +118,16 @@ export interface IRecipient {
|
|
|
118
118
|
fields?: IDocumentField[];
|
|
119
119
|
}
|
|
120
120
|
export interface IEnvelopeDocument {
|
|
121
|
-
created_at: string;
|
|
122
121
|
id: string;
|
|
122
|
+
envelope_id: string;
|
|
123
123
|
mime: string;
|
|
124
124
|
name: string;
|
|
125
125
|
page_numbers: number;
|
|
126
126
|
updated_at: string;
|
|
127
127
|
url: string;
|
|
128
|
+
processed: boolean;
|
|
129
|
+
type: 'attachment' | 'certificate';
|
|
130
|
+
created_at: string;
|
|
128
131
|
pages?: IPage[];
|
|
129
132
|
}
|
|
130
133
|
export interface IDocumentFieldOptions {
|
package/Templates/Types.d.ts
CHANGED
|
@@ -258,6 +258,7 @@ export interface ITemplateFieldSetting {
|
|
|
258
258
|
export interface IPage {
|
|
259
259
|
template_id: string;
|
|
260
260
|
document_id: string;
|
|
261
|
+
envelope_id: string;
|
|
261
262
|
/**
|
|
262
263
|
* Note: Page numbers are 1-based
|
|
263
264
|
*/
|
|
@@ -266,7 +267,7 @@ export interface IPage {
|
|
|
266
267
|
* @deprecated. New code should use `sequence`
|
|
267
268
|
*/
|
|
268
269
|
page_number: number;
|
|
269
|
-
thumbnail_url
|
|
270
|
+
thumbnail_url?: string;
|
|
270
271
|
/**
|
|
271
272
|
* The storage location for the page once rendered server-side. This can be used to determine whether a page has
|
|
272
273
|
* finished rendering, but cannot be accessed directly - client applications should use display_uri instead.
|