@@ -8,6 +8,13 @@ export type DomainLastStatusRecordStatus =
88 | 'invalid'
99 | 'not_found'
1010
11+ export type DomainReputationStatus =
12+ | 'unknown'
13+ | 'excellent'
14+ | 'good'
15+ | 'average'
16+ | 'bad'
17+
1118export type DomainStatus =
1219 | 'unknown'
1320 | 'checked'
@@ -103,6 +110,11 @@ export interface Domain {
103110 dkimConfig : string
104111 /** Domain's statistics. */
105112 statistics ?: DomainStatistics
113+ /**
114+ * Domain's reputation, available when your domain is checked and has sent
115+ * enough emails.
116+ */
117+ reputation ?: DomainReputation
106118 region : Region
107119}
108120
@@ -120,7 +132,7 @@ export interface DomainLastStatus {
120132
121133/** Domain last status. dkim record. */
122134export interface DomainLastStatusDkimRecord {
123- /** Status of the DKIM record's configurartion . */
135+ /** Status of the DKIM record's configuration . */
124136 status : DomainLastStatusRecordStatus
125137 /** Time and date the DKIM record was last valid. */
126138 lastValidAt ?: Date
@@ -130,14 +142,28 @@ export interface DomainLastStatusDkimRecord {
130142
131143/** Domain last status. spf record. */
132144export interface DomainLastStatusSpfRecord {
133- /** Status of the SPF record's configurartion . */
145+ /** Status of the SPF record's configuration . */
134146 status : DomainLastStatusRecordStatus
135147 /** Time and date the SPF record was last valid. */
136148 lastValidAt ?: Date
137149 /** An error text displays in case the record is not valid. */
138150 error ?: string
139151}
140152
153+ /** Domain. reputation. */
154+ export interface DomainReputation {
155+ /** Status of your domain reputation. */
156+ status : DomainReputationStatus
157+ /** Represent a number between 0 and 100 of your domain reputation score. */
158+ score : number
159+ /** Time and date the score was calculated. */
160+ scoredAt ?: Date
161+ /** The domain reputation score previously calculated. */
162+ previousScore ?: number
163+ /** Time and date the previous score was calculated. */
164+ previousScoredAt ?: Date
165+ }
166+
141167export interface DomainStatistics {
142168 totalCount : number
143169 sentCount : number
0 commit comments