@wenex/sdk 1.1.22 → 1.1.23

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.
@@ -18,6 +18,7 @@ export interface Core<Properties extends object = object> {
18
18
  restored_by?: string;
19
19
  restored_in?: string;
20
20
  description?: string;
21
+ identity?: string;
21
22
  props?: Properties;
22
23
  tags?: string[];
23
24
  version: string;
@@ -9,7 +9,7 @@ export interface Note<Properties extends object = object> extends Core<Propertie
9
9
  content: string;
10
10
  level?: number;
11
11
  parent?: string;
12
- identity?: string;
12
+ relation?: string;
13
13
  visibility?: string;
14
14
  loves?: number;
15
15
  likes?: number;
@@ -3,7 +3,7 @@ import { ConfigKey } from '../../../enums/context';
3
3
  import { Core, Dto } from '../../../core/interfaces';
4
4
  export interface Config<T = any, Properties extends object = object> extends Core<Properties> {
5
5
  key: ConfigKey;
6
- identity: string;
6
+ eid: string;
7
7
  value?: T;
8
8
  }
9
9
  export type ConfigDoc<T = any, Properties extends object = object> = Config<T, Properties> & Document;
@@ -7,7 +7,6 @@ export interface Event<Properties extends object = object> extends Core<Properti
7
7
  e_date: Date;
8
8
  place?: string;
9
9
  location?: string;
10
- identity?: string;
11
10
  organizer?: string;
12
11
  attendees?: string[];
13
12
  status?: string;
@@ -3,8 +3,7 @@ import { WorkflowToken } from './token.interface';
3
3
  import { Core, Dto } from '../../../core/interfaces';
4
4
  import { WorkflowStatus } from '../../../enums/general';
5
5
  export interface Workflow<D = any, V = any, Properties extends object = object> extends Core<Properties> {
6
- entity: string;
7
- identity: string;
6
+ name: string;
8
7
  status: WorkflowStatus;
9
8
  tokens: WorkflowToken<V>[];
10
9
  data?: D;
@@ -13,8 +13,8 @@ export interface Profile<Properties extends object = object> extends Core<Proper
13
13
  last_name?: string;
14
14
  first_name?: string;
15
15
  middle_name?: string;
16
- identity?: string;
17
16
  nationality?: string;
17
+ national_code?: string;
18
18
  verified_at?: Date;
19
19
  verified_by?: string;
20
20
  verified_in?: string;
@@ -3,6 +3,8 @@ import { Core, Dto } from '../../../core/interfaces';
3
3
  import { LocationType } from '../../../enums/logistic';
4
4
  import { LocationGeometry } from './geometry.interface';
5
5
  export interface Location<Properties extends object = object> extends Core<Properties> {
6
+ name?: string;
7
+ title?: string;
6
8
  type?: LocationType;
7
9
  geometry: LocationGeometry;
8
10
  properties?: Properties;
@@ -1,7 +1,9 @@
1
1
  export interface EmailSmtp {
2
- identity: string;
3
- response?: string;
4
- accepted?: string[];
5
- rejected?: string[];
2
+ response: string;
3
+ accepted: string[];
4
+ rejected: string[];
5
+ message_id: string;
6
+ message_time: number;
7
+ message_size: number;
6
8
  }
7
9
  export type EmailSmtpDto = EmailSmtp;
@@ -5,7 +5,6 @@ export interface Push<Properties extends object = object> extends Core<Propertie
5
5
  session: string;
6
6
  keys: PushKeys;
7
7
  endpoint: string;
8
- identity?: string;
9
8
  blacklist?: string[];
10
9
  expiration: number;
11
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenex/sdk",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "description": "Wenex SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",