@verdocs/js-sdk 3.0.31 → 3.0.33
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/Templates/Types.d.ts +10 -2
- package/package.json +2 -2
package/Templates/Types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IOrganization } from '../Organizations/Types';
|
|
2
|
-
import { TRecipientType } from '../Envelopes/Types';
|
|
2
|
+
import { TDocumentFieldType, TRecipientType } from '../Envelopes/Types';
|
|
3
3
|
/**
|
|
4
4
|
* A reusable template for creating signable instruments. Templates are used to create Envelopes which contain
|
|
5
5
|
* Documents to sign.
|
|
@@ -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;
|
|
@@ -251,7 +259,7 @@ export interface ITemplateField {
|
|
|
251
259
|
name: string;
|
|
252
260
|
role_name: string;
|
|
253
261
|
template_id: string;
|
|
254
|
-
type:
|
|
262
|
+
type: TDocumentFieldType;
|
|
255
263
|
required: boolean;
|
|
256
264
|
setting: ITemplateFieldSetting;
|
|
257
265
|
page_sequence: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/js-sdk",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.33",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Verdocs JS SDK",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"docs": "npm run docs-md && npm run docs-html",
|
|
40
40
|
"clear-docs": "aws --profile=verdocs cloudfront create-invalidation --distribution-id E29UFGU4KEH1GQ --paths \"/*\"",
|
|
41
41
|
"deploy-docs": "npm run docs && aws --profile=verdocs s3 sync --acl public-read --delete docs-html s3://verdocs-developers-js-sdk/ && yarn clear-docs",
|
|
42
|
-
"clean": "rm -rf
|
|
42
|
+
"clean": "rm -rf Envelopes Session HTTP Organizations Search Templates Users Utils index.js index.d.ts VerdocsEndpoint.* docs docs-html",
|
|
43
43
|
"push": "npm run build && npm publish"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|