@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.
- package/common/core/interfaces/core.interface.d.ts +1 -0
- package/common/interfaces/content/notes/note.interface.d.ts +1 -1
- package/common/interfaces/context/configs/config.interface.d.ts +1 -1
- package/common/interfaces/general/events/event.interface.d.ts +0 -1
- package/common/interfaces/general/workflows/workflow.interface.d.ts +1 -2
- package/common/interfaces/identity/profiles/profile.interface.d.ts +1 -1
- package/common/interfaces/logistic/locations/location.interface.d.ts +2 -0
- package/common/interfaces/touch/emails/smtp.interface.d.ts +6 -4
- package/common/interfaces/touch/pushes/push.interface.d.ts +0 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
6
|
+
eid: string;
|
|
7
7
|
value?: T;
|
|
8
8
|
}
|
|
9
9
|
export type ConfigDoc<T = any, Properties extends object = object> = Config<T, Properties> & Document;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|