@trii/types 2.10.357 → 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 EmailConfigOutboundTriiStatus {
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
- outboundSmtSecurityType: EmailConfigOutboundSecurityType;
35
- outboundTriiSpfStatus: EmailConfigOutboundTriiStatus;
36
- outboundTriiDkimStatus: EmailConfigOutboundTriiStatus;
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
- // GOOGLE = 3,
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 EmailConfigOutboundTriiStatus;
15
- (function (EmailConfigOutboundTriiStatus) {
16
- EmailConfigOutboundTriiStatus[EmailConfigOutboundTriiStatus["NOT_CONFIGURED"] = 1] = "NOT_CONFIGURED";
17
- EmailConfigOutboundTriiStatus[EmailConfigOutboundTriiStatus["SUCCESS"] = 2] = "SUCCESS";
18
- })(EmailConfigOutboundTriiStatus || (EmailConfigOutboundTriiStatus = {}));
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
+ }
@@ -13,3 +13,8 @@ export declare class GoogleBusinessConfig {
13
13
  scheduleId?: string | null;
14
14
  schedule?: ISchedule | null;
15
15
  }
16
+ export declare class GoogleAccountInfo {
17
+ name: string;
18
+ email: string;
19
+ imageUrl: string;
20
+ }
@@ -1,2 +1,4 @@
1
1
  export class GoogleBusinessConfig {
2
2
  }
3
+ export class GoogleAccountInfo {
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.357",
3
+ "version": "2.10.358",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",