@verdocs/js-sdk 2.0.4 → 2.0.5

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.
@@ -1,6 +1,7 @@
1
1
  import { ISigningSession, ISigningSessionRequest } from './Types';
2
2
  import { VerdocsEndpoint } from '../VerdocsEndpoint';
3
3
  import { IFieldSetting } from '../Templates/Types';
4
+ import { IProfile } from '../Users/Types';
4
5
  export declare type TDocumentStatus = 'complete' | 'pending' | 'in progress' | 'declined' | 'canceled';
5
6
  export declare type TRecipientStatus = 'invited' | 'opened' | 'signed' | 'submitted' | 'canceled' | 'pending' | 'declined';
6
7
  export declare type TRecipientType = 'signer' | 'cc' | 'approver';
@@ -106,6 +107,7 @@ export interface IDocument {
106
107
  certificate?: IDocumentAsset | null;
107
108
  document?: IDocumentAsset | null;
108
109
  fields?: IDocumentField[];
110
+ profile?: IProfile;
109
111
  }
110
112
  export interface IActivityEntry {
111
113
  id: string;
package/Users/Types.d.ts CHANGED
@@ -30,7 +30,7 @@ export interface IProfile {
30
30
  /** If true, this is the caller's "currently selected" profile. All operations will performed "as" this profile. */
31
31
  current: boolean;
32
32
  /** The organization */
33
- organization: IOrganization;
33
+ organization?: IOrganization;
34
34
  /** The permissions assigned to the profilel _NOTE: Only present in the "current" profile._ */
35
35
  permissions?: TPermission[];
36
36
  /** The roles assigned to the profilel _NOTE: Only present in the "current" profile._ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",