@trii/types 2.10.747 → 2.10.748
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.
|
@@ -19,6 +19,12 @@ export declare enum EmailConfigFromNameType {
|
|
|
19
19
|
USER_NAME = 2,
|
|
20
20
|
CUSTOM = 3
|
|
21
21
|
}
|
|
22
|
+
export declare enum EmailConfigInboundConnectionType {
|
|
23
|
+
NULL = 0,
|
|
24
|
+
IMAP = 1,
|
|
25
|
+
GOOGLE = 2,
|
|
26
|
+
MICROSOFT = 3
|
|
27
|
+
}
|
|
22
28
|
export declare class EmailConfig {
|
|
23
29
|
useInCampaigns?: boolean;
|
|
24
30
|
token?: string;
|
|
@@ -44,8 +50,27 @@ export declare class EmailConfig {
|
|
|
44
50
|
outboundTrii?: EmailDomain;
|
|
45
51
|
outboundGoogleStatus: EmailConfigOutboundStatus;
|
|
46
52
|
outboundGoogleAccount: GoogleAccountInfo;
|
|
53
|
+
inboundConnectionType: EmailConfigInboundConnectionType;
|
|
54
|
+
inboundSyncStatus: EmailConfigOutboundStatus;
|
|
55
|
+
inboundImapServer?: string;
|
|
56
|
+
inboundImapPort: number | 993;
|
|
57
|
+
inboundImapSecurityType: EmailConfigOutboundSecurityType;
|
|
58
|
+
inboundImapUser?: string;
|
|
59
|
+
inboundImapPassword?: string;
|
|
60
|
+
inboundMicrosoftAccount?: MicrosoftAccountInfo;
|
|
61
|
+
inboundMicrosoftAccessData?: MicrosoftAccountDataAccess;
|
|
47
62
|
signature: string;
|
|
48
63
|
}
|
|
64
|
+
export declare class MicrosoftAccountInfo {
|
|
65
|
+
name: string;
|
|
66
|
+
email: string;
|
|
67
|
+
}
|
|
68
|
+
export declare class MicrosoftAccountDataAccess {
|
|
69
|
+
access_token?: string;
|
|
70
|
+
access_token_expiration: Date;
|
|
71
|
+
refresh_token?: string;
|
|
72
|
+
scope?: string;
|
|
73
|
+
}
|
|
49
74
|
export declare class EmailDomain {
|
|
50
75
|
id: string;
|
|
51
76
|
spaceId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DNSRecord = exports.EmailDomain = exports.EmailConfig = exports.EmailConfigFromNameType = exports.EmailConfigOutboundStatus = exports.EmailConfigOutboundSecurityType = exports.EmailConfigOutboundConnectionType = void 0;
|
|
3
|
+
exports.DNSRecord = exports.EmailDomain = exports.MicrosoftAccountDataAccess = exports.MicrosoftAccountInfo = exports.EmailConfig = exports.EmailConfigInboundConnectionType = exports.EmailConfigFromNameType = exports.EmailConfigOutboundStatus = exports.EmailConfigOutboundSecurityType = exports.EmailConfigOutboundConnectionType = void 0;
|
|
4
4
|
var EmailConfigOutboundConnectionType;
|
|
5
5
|
(function (EmailConfigOutboundConnectionType) {
|
|
6
6
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["NULL"] = 0] = "NULL";
|
|
@@ -25,9 +25,22 @@ var EmailConfigFromNameType;
|
|
|
25
25
|
EmailConfigFromNameType[EmailConfigFromNameType["USER_NAME"] = 2] = "USER_NAME";
|
|
26
26
|
EmailConfigFromNameType[EmailConfigFromNameType["CUSTOM"] = 3] = "CUSTOM";
|
|
27
27
|
})(EmailConfigFromNameType || (exports.EmailConfigFromNameType = EmailConfigFromNameType = {}));
|
|
28
|
+
var EmailConfigInboundConnectionType;
|
|
29
|
+
(function (EmailConfigInboundConnectionType) {
|
|
30
|
+
EmailConfigInboundConnectionType[EmailConfigInboundConnectionType["NULL"] = 0] = "NULL";
|
|
31
|
+
EmailConfigInboundConnectionType[EmailConfigInboundConnectionType["IMAP"] = 1] = "IMAP";
|
|
32
|
+
EmailConfigInboundConnectionType[EmailConfigInboundConnectionType["GOOGLE"] = 2] = "GOOGLE";
|
|
33
|
+
EmailConfigInboundConnectionType[EmailConfigInboundConnectionType["MICROSOFT"] = 3] = "MICROSOFT";
|
|
34
|
+
})(EmailConfigInboundConnectionType || (exports.EmailConfigInboundConnectionType = EmailConfigInboundConnectionType = {}));
|
|
28
35
|
class EmailConfig {
|
|
29
36
|
}
|
|
30
37
|
exports.EmailConfig = EmailConfig;
|
|
38
|
+
class MicrosoftAccountInfo {
|
|
39
|
+
}
|
|
40
|
+
exports.MicrosoftAccountInfo = MicrosoftAccountInfo;
|
|
41
|
+
class MicrosoftAccountDataAccess {
|
|
42
|
+
}
|
|
43
|
+
exports.MicrosoftAccountDataAccess = MicrosoftAccountDataAccess;
|
|
31
44
|
class EmailDomain {
|
|
32
45
|
}
|
|
33
46
|
exports.EmailDomain = EmailDomain;
|