@qandq/cloud-gcs-core 1.2.60 → 1.2.61-test-749

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,16 +1,16 @@
1
1
  import { ClientType } from "./ClientType";
2
2
  export interface IUserAuth {
3
- id: number;
4
- userId: number;
3
+ id?: number;
4
+ userId?: number;
5
+ surname?: string;
5
6
  userName: string;
7
+ isActive?: boolean;
8
+ fullName?: string;
9
+ tenantTypes?: Array<ClientType>;
6
10
  name: string;
7
- surname: string;
8
11
  emailAddress: string;
9
- isActive: boolean;
10
- fullName: string;
11
12
  tenantName: string;
12
13
  tenantCode: string;
13
14
  permissionNames: string[];
14
- tenantTypes: Array<ClientType>;
15
15
  role: String;
16
16
  }
@@ -2,4 +2,5 @@ import { IUserAuth } from "./IUser";
2
2
  export interface User extends IUserAuth {
3
3
  userCode: string;
4
4
  isPilot: boolean;
5
+ isMroUser: boolean;
5
6
  }
@@ -12,4 +12,6 @@ export interface IPluginApi {
12
12
  eventListener: IEventListener;
13
13
  save: (key: PersistentKey, data: PersistentValue) => Promise<void>;
14
14
  get: (key: PersistentKey) => Promise<PersistentResponse[]>;
15
+ sendFrappeAppPostRequest: <TRequest, TResponse>(method: string, data?: TRequest) => Promise<TResponse>;
16
+ sendFrappeAppGetRequest: <TResponse>(method: string) => Promise<TResponse>;
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qandq/cloud-gcs-core",
3
- "version": "1.2.60",
3
+ "version": "1.2.61-test-749",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,17 +1,17 @@
1
1
  import { ClientType } from "./ClientType";
2
2
 
3
3
  export interface IUserAuth {
4
- id:number;
5
- userId: number;
4
+ id?:number;
5
+ userId?: number;
6
+ surname?: string;
6
7
  userName: string;
8
+ isActive?: boolean;
9
+ fullName?: string;
10
+ tenantTypes?: Array<ClientType>;
7
11
  name: string;
8
- surname: string;
9
12
  emailAddress: string;
10
- isActive: boolean;
11
- fullName: string;
12
13
  tenantName: string;
13
14
  tenantCode: string;
14
15
  permissionNames: string[];
15
- tenantTypes: Array<ClientType>;
16
16
  role: String;
17
17
  }
@@ -3,4 +3,5 @@ import {IUserAuth} from "./IUser";
3
3
  export interface User extends IUserAuth{
4
4
  userCode: string;
5
5
  isPilot: boolean;
6
+ isMroUser: boolean;
6
7
  }
@@ -13,4 +13,6 @@ export interface IPluginApi {
13
13
  eventListener: IEventListener;
14
14
  save: (key: PersistentKey, data: PersistentValue) => Promise<void>;
15
15
  get: (key: PersistentKey) => Promise<PersistentResponse[]>;
16
+ sendFrappeAppPostRequest: <TRequest, TResponse>(method: string, data?: TRequest) => Promise<TResponse>;
17
+ sendFrappeAppGetRequest: <TResponse>(method: string) => Promise<TResponse>;
16
18
  }