@verdocs/js-sdk 4.0.7 → 4.0.9
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 +20 -20
- package/dist/index.d.ts +20 -20
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -29,7 +29,7 @@ interface IApiKey {
|
|
|
29
29
|
name: string;
|
|
30
30
|
organization_id: string;
|
|
31
31
|
profile_id: string;
|
|
32
|
-
client_secret?: string;
|
|
32
|
+
client_secret?: string | null;
|
|
33
33
|
permission: TApiKeyPermission;
|
|
34
34
|
profile?: IProfile;
|
|
35
35
|
organization?: IOrganization;
|
|
@@ -56,7 +56,7 @@ interface IOAuth2App {
|
|
|
56
56
|
organization_id: string;
|
|
57
57
|
name: string;
|
|
58
58
|
client_id: string;
|
|
59
|
-
client_secret?: string;
|
|
59
|
+
client_secret?: string | null;
|
|
60
60
|
redirect_uris: string;
|
|
61
61
|
origins: string;
|
|
62
62
|
friendly_name: string;
|
|
@@ -89,10 +89,10 @@ interface IOrganization {
|
|
|
89
89
|
thumbnail_url: string | null;
|
|
90
90
|
primary_color: string | null;
|
|
91
91
|
secondary_color: string | null;
|
|
92
|
-
entitlements
|
|
93
|
-
mtd_usage
|
|
94
|
-
ytd_usage
|
|
95
|
-
data
|
|
92
|
+
entitlements: Record<string, any> | null;
|
|
93
|
+
mtd_usage: Record<string, any> | null;
|
|
94
|
+
ytd_usage: Record<string, any> | null;
|
|
95
|
+
data: Record<string, any> | null;
|
|
96
96
|
/** Creation date/time. */
|
|
97
97
|
created_at: string;
|
|
98
98
|
/** Last-update date/time. */
|
|
@@ -114,7 +114,7 @@ interface IOrganizationInvitation {
|
|
|
114
114
|
status: "pending";
|
|
115
115
|
role: TRole;
|
|
116
116
|
generated_at: string;
|
|
117
|
-
token?: string;
|
|
117
|
+
token?: string | null;
|
|
118
118
|
organization?: IOrganization;
|
|
119
119
|
}
|
|
120
120
|
interface IPendingWebhook {
|
|
@@ -308,7 +308,7 @@ interface IEnvelopeField {
|
|
|
308
308
|
/** If set, the placeholder/label for the field. */
|
|
309
309
|
label: string | null;
|
|
310
310
|
/** Not sent by the server. Used in the UI to identify prepared fields. */
|
|
311
|
-
prepared
|
|
311
|
+
prepared: boolean | null;
|
|
312
312
|
/** The 1-based page number the field is displayed on. "Self-placed" fields that the user must apply will be on page 0. */
|
|
313
313
|
page: number;
|
|
314
314
|
/** The X position of the field. */
|
|
@@ -338,14 +338,14 @@ interface IEnvelopeFieldOptions {
|
|
|
338
338
|
/** The Y position of the field on the page. Self-placed fields will have an X value of 0. */
|
|
339
339
|
y: number;
|
|
340
340
|
/** For checkboxes, whether it is currently checked */
|
|
341
|
-
checked
|
|
341
|
+
checked: boolean | null;
|
|
342
342
|
/** For radio buttons, whether it is currently selected */
|
|
343
|
-
selected
|
|
343
|
+
selected: boolean | null;
|
|
344
344
|
/** The visible label for the field e.g. 'Not Applicable' */
|
|
345
345
|
value: string;
|
|
346
346
|
}
|
|
347
347
|
interface IEnvelopeFieldSettings {
|
|
348
|
-
type
|
|
348
|
+
type: string;
|
|
349
349
|
x: number;
|
|
350
350
|
y: number;
|
|
351
351
|
width?: number;
|
|
@@ -379,11 +379,11 @@ interface IEnvelopeHistory {
|
|
|
379
379
|
envelope?: IEnvelope;
|
|
380
380
|
}
|
|
381
381
|
interface IInitial {
|
|
382
|
-
id
|
|
382
|
+
id: string | null;
|
|
383
383
|
profile_id: string;
|
|
384
|
-
created_at
|
|
385
|
-
updated_at
|
|
386
|
-
deleted_at
|
|
384
|
+
created_at: string | null;
|
|
385
|
+
updated_at: string | null;
|
|
386
|
+
deleted_at: string | null;
|
|
387
387
|
profile?: IProfile;
|
|
388
388
|
}
|
|
389
389
|
interface IRecipient {
|
|
@@ -433,7 +433,7 @@ interface IReminder {
|
|
|
433
433
|
key: string;
|
|
434
434
|
setup_time: number;
|
|
435
435
|
interval_time: number;
|
|
436
|
-
created_at
|
|
436
|
+
created_at: string | null;
|
|
437
437
|
last_time: number | null;
|
|
438
438
|
next_time: number | null;
|
|
439
439
|
}
|
|
@@ -464,12 +464,12 @@ interface IRole {
|
|
|
464
464
|
* arrange recipients to match related business processes so this field allows for that.
|
|
465
465
|
*/
|
|
466
466
|
order: number;
|
|
467
|
-
delegator
|
|
467
|
+
delegator: boolean | null;
|
|
468
468
|
/**
|
|
469
469
|
* If set, "KBA required" will carry through to automatically enable the same setting in Envelopes
|
|
470
470
|
* created from this template.
|
|
471
471
|
*/
|
|
472
|
-
kba_method
|
|
472
|
+
kba_method: string | null;
|
|
473
473
|
}
|
|
474
474
|
interface ISignature {
|
|
475
475
|
id: string;
|
|
@@ -581,8 +581,8 @@ interface ITemplateDocument {
|
|
|
581
581
|
width: number;
|
|
582
582
|
height: number;
|
|
583
583
|
}[];
|
|
584
|
-
created_at
|
|
585
|
-
updated_at
|
|
584
|
+
created_at: string | null;
|
|
585
|
+
updated_at: string | null;
|
|
586
586
|
template?: ITemplate;
|
|
587
587
|
}
|
|
588
588
|
interface ITemplateField {
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ interface IApiKey {
|
|
|
29
29
|
name: string;
|
|
30
30
|
organization_id: string;
|
|
31
31
|
profile_id: string;
|
|
32
|
-
client_secret?: string;
|
|
32
|
+
client_secret?: string | null;
|
|
33
33
|
permission: TApiKeyPermission;
|
|
34
34
|
profile?: IProfile;
|
|
35
35
|
organization?: IOrganization;
|
|
@@ -56,7 +56,7 @@ interface IOAuth2App {
|
|
|
56
56
|
organization_id: string;
|
|
57
57
|
name: string;
|
|
58
58
|
client_id: string;
|
|
59
|
-
client_secret?: string;
|
|
59
|
+
client_secret?: string | null;
|
|
60
60
|
redirect_uris: string;
|
|
61
61
|
origins: string;
|
|
62
62
|
friendly_name: string;
|
|
@@ -89,10 +89,10 @@ interface IOrganization {
|
|
|
89
89
|
thumbnail_url: string | null;
|
|
90
90
|
primary_color: string | null;
|
|
91
91
|
secondary_color: string | null;
|
|
92
|
-
entitlements
|
|
93
|
-
mtd_usage
|
|
94
|
-
ytd_usage
|
|
95
|
-
data
|
|
92
|
+
entitlements: Record<string, any> | null;
|
|
93
|
+
mtd_usage: Record<string, any> | null;
|
|
94
|
+
ytd_usage: Record<string, any> | null;
|
|
95
|
+
data: Record<string, any> | null;
|
|
96
96
|
/** Creation date/time. */
|
|
97
97
|
created_at: string;
|
|
98
98
|
/** Last-update date/time. */
|
|
@@ -114,7 +114,7 @@ interface IOrganizationInvitation {
|
|
|
114
114
|
status: "pending";
|
|
115
115
|
role: TRole;
|
|
116
116
|
generated_at: string;
|
|
117
|
-
token?: string;
|
|
117
|
+
token?: string | null;
|
|
118
118
|
organization?: IOrganization;
|
|
119
119
|
}
|
|
120
120
|
interface IPendingWebhook {
|
|
@@ -308,7 +308,7 @@ interface IEnvelopeField {
|
|
|
308
308
|
/** If set, the placeholder/label for the field. */
|
|
309
309
|
label: string | null;
|
|
310
310
|
/** Not sent by the server. Used in the UI to identify prepared fields. */
|
|
311
|
-
prepared
|
|
311
|
+
prepared: boolean | null;
|
|
312
312
|
/** The 1-based page number the field is displayed on. "Self-placed" fields that the user must apply will be on page 0. */
|
|
313
313
|
page: number;
|
|
314
314
|
/** The X position of the field. */
|
|
@@ -338,14 +338,14 @@ interface IEnvelopeFieldOptions {
|
|
|
338
338
|
/** The Y position of the field on the page. Self-placed fields will have an X value of 0. */
|
|
339
339
|
y: number;
|
|
340
340
|
/** For checkboxes, whether it is currently checked */
|
|
341
|
-
checked
|
|
341
|
+
checked: boolean | null;
|
|
342
342
|
/** For radio buttons, whether it is currently selected */
|
|
343
|
-
selected
|
|
343
|
+
selected: boolean | null;
|
|
344
344
|
/** The visible label for the field e.g. 'Not Applicable' */
|
|
345
345
|
value: string;
|
|
346
346
|
}
|
|
347
347
|
interface IEnvelopeFieldSettings {
|
|
348
|
-
type
|
|
348
|
+
type: string;
|
|
349
349
|
x: number;
|
|
350
350
|
y: number;
|
|
351
351
|
width?: number;
|
|
@@ -379,11 +379,11 @@ interface IEnvelopeHistory {
|
|
|
379
379
|
envelope?: IEnvelope;
|
|
380
380
|
}
|
|
381
381
|
interface IInitial {
|
|
382
|
-
id
|
|
382
|
+
id: string | null;
|
|
383
383
|
profile_id: string;
|
|
384
|
-
created_at
|
|
385
|
-
updated_at
|
|
386
|
-
deleted_at
|
|
384
|
+
created_at: string | null;
|
|
385
|
+
updated_at: string | null;
|
|
386
|
+
deleted_at: string | null;
|
|
387
387
|
profile?: IProfile;
|
|
388
388
|
}
|
|
389
389
|
interface IRecipient {
|
|
@@ -433,7 +433,7 @@ interface IReminder {
|
|
|
433
433
|
key: string;
|
|
434
434
|
setup_time: number;
|
|
435
435
|
interval_time: number;
|
|
436
|
-
created_at
|
|
436
|
+
created_at: string | null;
|
|
437
437
|
last_time: number | null;
|
|
438
438
|
next_time: number | null;
|
|
439
439
|
}
|
|
@@ -464,12 +464,12 @@ interface IRole {
|
|
|
464
464
|
* arrange recipients to match related business processes so this field allows for that.
|
|
465
465
|
*/
|
|
466
466
|
order: number;
|
|
467
|
-
delegator
|
|
467
|
+
delegator: boolean | null;
|
|
468
468
|
/**
|
|
469
469
|
* If set, "KBA required" will carry through to automatically enable the same setting in Envelopes
|
|
470
470
|
* created from this template.
|
|
471
471
|
*/
|
|
472
|
-
kba_method
|
|
472
|
+
kba_method: string | null;
|
|
473
473
|
}
|
|
474
474
|
interface ISignature {
|
|
475
475
|
id: string;
|
|
@@ -581,8 +581,8 @@ interface ITemplateDocument {
|
|
|
581
581
|
width: number;
|
|
582
582
|
height: number;
|
|
583
583
|
}[];
|
|
584
|
-
created_at
|
|
585
|
-
updated_at
|
|
584
|
+
created_at: string | null;
|
|
585
|
+
updated_at: string | null;
|
|
586
586
|
template?: ITemplate;
|
|
587
587
|
}
|
|
588
588
|
interface ITemplateField {
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/js-sdk",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Isomorphic JS SDK providing types and API wrappers for the Verdocs platform for Node and Browser clients",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/js-sdk",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Isomorphic JS SDK providing types and API wrappers for the Verdocs platform for Node and Browser clients",
|