@trii/types 2.10.356 → 2.10.358
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,14 +1,16 @@
|
|
|
1
|
+
import { GoogleAccountInfo } from "./GoogleBusiness";
|
|
1
2
|
export declare enum EmailConfigOutboundConnectionType {
|
|
2
3
|
NULL = 0,
|
|
3
4
|
TRII = 1,
|
|
4
|
-
SMTP = 2
|
|
5
|
+
SMTP = 2,
|
|
6
|
+
GOOGLE = 3
|
|
5
7
|
}
|
|
6
8
|
export declare enum EmailConfigOutboundSecurityType {
|
|
7
9
|
NONE = 0,
|
|
8
10
|
SSL = 1,
|
|
9
11
|
TLS = 2
|
|
10
12
|
}
|
|
11
|
-
export declare enum
|
|
13
|
+
export declare enum EmailConfigOutboundStatus {
|
|
12
14
|
NOT_CONFIGURED = 1,
|
|
13
15
|
SUCCESS = 2
|
|
14
16
|
}
|
|
@@ -25,14 +27,32 @@ export declare class EmailConfig {
|
|
|
25
27
|
reassign?: boolean;
|
|
26
28
|
reassignTime?: number;
|
|
27
29
|
reassignGroupId?: string;
|
|
30
|
+
connectedEmailDoamin: string;
|
|
28
31
|
inboundConnectedEmail: string;
|
|
29
32
|
outboundConnectionType: EmailConfigOutboundConnectionType;
|
|
33
|
+
outboundSmtStatus: EmailConfigOutboundStatus;
|
|
34
|
+
outboundSmtSecurityType: EmailConfigOutboundSecurityType;
|
|
30
35
|
outboundSmtpServer: string;
|
|
31
36
|
outboundSmtpPort: number | 25;
|
|
32
37
|
outboundSmtpUser: string;
|
|
33
38
|
outboundSmtPasword: string;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
outboundTrii: EmailDomain;
|
|
40
|
+
outboundGoogleStatus: EmailConfigOutboundStatus;
|
|
41
|
+
outboundGoogleAccount: GoogleAccountInfo;
|
|
37
42
|
signature: string;
|
|
38
43
|
}
|
|
44
|
+
export declare class EmailDomain {
|
|
45
|
+
id: string;
|
|
46
|
+
spaceId: string;
|
|
47
|
+
domain: string;
|
|
48
|
+
outboundTriiDkimStatus: EmailConfigOutboundStatus;
|
|
49
|
+
outboundTriiDkimRecords: DNSRecord[];
|
|
50
|
+
outboundTriiDmarcStatus: EmailConfigOutboundStatus;
|
|
51
|
+
outboundTriiDmarcRecords: DNSRecord[];
|
|
52
|
+
outboundTriiDmarcReadedRecord: string;
|
|
53
|
+
}
|
|
54
|
+
export declare class DNSRecord {
|
|
55
|
+
name: string;
|
|
56
|
+
type: string;
|
|
57
|
+
value: string;
|
|
58
|
+
}
|
|
@@ -3,7 +3,7 @@ export var EmailConfigOutboundConnectionType;
|
|
|
3
3
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["NULL"] = 0] = "NULL";
|
|
4
4
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["TRII"] = 1] = "TRII";
|
|
5
5
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["SMTP"] = 2] = "SMTP";
|
|
6
|
-
|
|
6
|
+
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["GOOGLE"] = 3] = "GOOGLE";
|
|
7
7
|
})(EmailConfigOutboundConnectionType || (EmailConfigOutboundConnectionType = {}));
|
|
8
8
|
export var EmailConfigOutboundSecurityType;
|
|
9
9
|
(function (EmailConfigOutboundSecurityType) {
|
|
@@ -11,11 +11,11 @@ export var EmailConfigOutboundSecurityType;
|
|
|
11
11
|
EmailConfigOutboundSecurityType[EmailConfigOutboundSecurityType["SSL"] = 1] = "SSL";
|
|
12
12
|
EmailConfigOutboundSecurityType[EmailConfigOutboundSecurityType["TLS"] = 2] = "TLS";
|
|
13
13
|
})(EmailConfigOutboundSecurityType || (EmailConfigOutboundSecurityType = {}));
|
|
14
|
-
export var
|
|
15
|
-
(function (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})(
|
|
14
|
+
export var EmailConfigOutboundStatus;
|
|
15
|
+
(function (EmailConfigOutboundStatus) {
|
|
16
|
+
EmailConfigOutboundStatus[EmailConfigOutboundStatus["NOT_CONFIGURED"] = 1] = "NOT_CONFIGURED";
|
|
17
|
+
EmailConfigOutboundStatus[EmailConfigOutboundStatus["SUCCESS"] = 2] = "SUCCESS";
|
|
18
|
+
})(EmailConfigOutboundStatus || (EmailConfigOutboundStatus = {}));
|
|
19
19
|
export var EmailConfigFromNameType;
|
|
20
20
|
(function (EmailConfigFromNameType) {
|
|
21
21
|
EmailConfigFromNameType[EmailConfigFromNameType["CHANNEL_NAME"] = 1] = "CHANNEL_NAME";
|
|
@@ -24,3 +24,7 @@ export var EmailConfigFromNameType;
|
|
|
24
24
|
})(EmailConfigFromNameType || (EmailConfigFromNameType = {}));
|
|
25
25
|
export class EmailConfig {
|
|
26
26
|
}
|
|
27
|
+
export class EmailDomain {
|
|
28
|
+
}
|
|
29
|
+
export class DNSRecord {
|
|
30
|
+
}
|