@verdocs/js-sdk 5.4.4 → 6.0.1
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 +19 -2
- package/dist/index.d.ts +19 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -150,12 +150,21 @@ interface ISigningSession {
|
|
|
150
150
|
aud: string;
|
|
151
151
|
iss: string;
|
|
152
152
|
sub: string; // Verdocs access key ID
|
|
153
|
-
email: string;
|
|
154
153
|
iat: number;
|
|
155
154
|
exp: number;
|
|
155
|
+
session_type: "signing";
|
|
156
|
+
key_type: TAccessKeyType;
|
|
157
|
+
email: string;
|
|
158
|
+
profile_id: string;
|
|
159
|
+
envelope_id: string;
|
|
160
|
+
role_name: string;
|
|
161
|
+
// @deprecated
|
|
156
162
|
["https://verdocs.com/session_type"]: "signing";
|
|
163
|
+
// @deprecated
|
|
157
164
|
["https://verdocs.com/key_type"]: TAccessKeyType;
|
|
165
|
+
// @deprecated
|
|
158
166
|
["https://verdocs.com/envelope_id"]: string;
|
|
167
|
+
// @deprecated
|
|
159
168
|
["https://verdocs.com/role_name"]: string;
|
|
160
169
|
}
|
|
161
170
|
/**
|
|
@@ -166,12 +175,20 @@ interface IUserSession {
|
|
|
166
175
|
aud: string;
|
|
167
176
|
iss: string;
|
|
168
177
|
sub: string; // Verdocs user_id
|
|
169
|
-
email: string;
|
|
170
178
|
iat: number;
|
|
171
179
|
exp: number;
|
|
180
|
+
session_type: "user";
|
|
181
|
+
email: string;
|
|
182
|
+
profile_id: string;
|
|
183
|
+
organization_id: string;
|
|
184
|
+
global_admin: boolean;
|
|
185
|
+
// @deprecated
|
|
172
186
|
["https://verdocs.com/session_type"]: "user";
|
|
187
|
+
// @deprecated
|
|
173
188
|
["https://verdocs.com/profile_id"]: string;
|
|
189
|
+
// @deprecated
|
|
174
190
|
["https://verdocs.com/organization_id"]: string;
|
|
191
|
+
// @deprecated
|
|
175
192
|
["https://verdocs.com/global_admin"]: boolean;
|
|
176
193
|
}
|
|
177
194
|
interface IIdToken {
|
package/dist/index.d.ts
CHANGED
|
@@ -150,12 +150,21 @@ interface ISigningSession {
|
|
|
150
150
|
aud: string;
|
|
151
151
|
iss: string;
|
|
152
152
|
sub: string; // Verdocs access key ID
|
|
153
|
-
email: string;
|
|
154
153
|
iat: number;
|
|
155
154
|
exp: number;
|
|
155
|
+
session_type: "signing";
|
|
156
|
+
key_type: TAccessKeyType;
|
|
157
|
+
email: string;
|
|
158
|
+
profile_id: string;
|
|
159
|
+
envelope_id: string;
|
|
160
|
+
role_name: string;
|
|
161
|
+
// @deprecated
|
|
156
162
|
["https://verdocs.com/session_type"]: "signing";
|
|
163
|
+
// @deprecated
|
|
157
164
|
["https://verdocs.com/key_type"]: TAccessKeyType;
|
|
165
|
+
// @deprecated
|
|
158
166
|
["https://verdocs.com/envelope_id"]: string;
|
|
167
|
+
// @deprecated
|
|
159
168
|
["https://verdocs.com/role_name"]: string;
|
|
160
169
|
}
|
|
161
170
|
/**
|
|
@@ -166,12 +175,20 @@ interface IUserSession {
|
|
|
166
175
|
aud: string;
|
|
167
176
|
iss: string;
|
|
168
177
|
sub: string; // Verdocs user_id
|
|
169
|
-
email: string;
|
|
170
178
|
iat: number;
|
|
171
179
|
exp: number;
|
|
180
|
+
session_type: "user";
|
|
181
|
+
email: string;
|
|
182
|
+
profile_id: string;
|
|
183
|
+
organization_id: string;
|
|
184
|
+
global_admin: boolean;
|
|
185
|
+
// @deprecated
|
|
172
186
|
["https://verdocs.com/session_type"]: "user";
|
|
187
|
+
// @deprecated
|
|
173
188
|
["https://verdocs.com/profile_id"]: string;
|
|
189
|
+
// @deprecated
|
|
174
190
|
["https://verdocs.com/organization_id"]: string;
|
|
191
|
+
// @deprecated
|
|
175
192
|
["https://verdocs.com/global_admin"]: boolean;
|
|
176
193
|
}
|
|
177
194
|
interface IIdToken {
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/js-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Isomorphic JS/TS 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": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Isomorphic JS/TS SDK providing types and API wrappers for the Verdocs platform for Node and browser clients",
|