@verdocs/js-sdk 5.4.4 → 6.0.0

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 CHANGED
@@ -153,9 +153,17 @@ interface ISigningSession {
153
153
  email: string;
154
154
  iat: number;
155
155
  exp: number;
156
+ session_type: "signing";
157
+ key_type: TAccessKeyType;
158
+ envelope_id: string;
159
+ role_name: string;
160
+ // @deprecated
156
161
  ["https://verdocs.com/session_type"]: "signing";
162
+ // @deprecated
157
163
  ["https://verdocs.com/key_type"]: TAccessKeyType;
164
+ // @deprecated
158
165
  ["https://verdocs.com/envelope_id"]: string;
166
+ // @deprecated
159
167
  ["https://verdocs.com/role_name"]: string;
160
168
  }
161
169
  /**
@@ -169,9 +177,17 @@ interface IUserSession {
169
177
  email: string;
170
178
  iat: number;
171
179
  exp: number;
180
+ session_type: "user";
181
+ profile_id: string;
182
+ organization_id: string;
183
+ global_admin: boolean;
184
+ // @deprecated
172
185
  ["https://verdocs.com/session_type"]: "user";
186
+ // @deprecated
173
187
  ["https://verdocs.com/profile_id"]: string;
188
+ // @deprecated
174
189
  ["https://verdocs.com/organization_id"]: string;
190
+ // @deprecated
175
191
  ["https://verdocs.com/global_admin"]: boolean;
176
192
  }
177
193
  interface IIdToken {
package/dist/index.d.ts CHANGED
@@ -153,9 +153,17 @@ interface ISigningSession {
153
153
  email: string;
154
154
  iat: number;
155
155
  exp: number;
156
+ session_type: "signing";
157
+ key_type: TAccessKeyType;
158
+ envelope_id: string;
159
+ role_name: string;
160
+ // @deprecated
156
161
  ["https://verdocs.com/session_type"]: "signing";
162
+ // @deprecated
157
163
  ["https://verdocs.com/key_type"]: TAccessKeyType;
164
+ // @deprecated
158
165
  ["https://verdocs.com/envelope_id"]: string;
166
+ // @deprecated
159
167
  ["https://verdocs.com/role_name"]: string;
160
168
  }
161
169
  /**
@@ -169,9 +177,17 @@ interface IUserSession {
169
177
  email: string;
170
178
  iat: number;
171
179
  exp: number;
180
+ session_type: "user";
181
+ profile_id: string;
182
+ organization_id: string;
183
+ global_admin: boolean;
184
+ // @deprecated
172
185
  ["https://verdocs.com/session_type"]: "user";
186
+ // @deprecated
173
187
  ["https://verdocs.com/profile_id"]: string;
188
+ // @deprecated
174
189
  ["https://verdocs.com/organization_id"]: string;
190
+ // @deprecated
175
191
  ["https://verdocs.com/global_admin"]: boolean;
176
192
  }
177
193
  interface IIdToken {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "5.4.4",
3
+ "version": "6.0.0",
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": "5.4.4",
3
+ "version": "6.0.0",
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",