Merge pull request #25858 from vvu/sparkpost-domain-status

Added new SparkPost Sending Domain Status/Verify Attributes
This commit is contained in:
Daniel Rosenwasser
2018-05-21 17:58:51 -07:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
// Type definitions for sparkpost 2.1
// Project: https://github.com/SparkPost/node-sparkpost
// Definitions by: Joshua DeVinney <https://github.com/geoffreak>, Bond <https://github.com/bondz>
// Definitions by: Joshua DeVinney <https://github.com/geoffreak>, Bond <https://github.com/bondz>, Victor <https://github.com/vvu>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -1139,6 +1139,10 @@ declare namespace SparkPost {
abuse_at_status: "valid" | "invalid" | "unverified" | "pending";
/** Verification status of postmaster@ mailbox */
postmaster_at_status: "valid" | "invalid" | "unverified" | "pending";
/** Verification status of CNAME configuration */
cname_status: "valid" | "invalid" | "unverified" | "pending";
/** Verification status of MX configuration */
mx_status: "valid" | "invalid" | "unverified" | "pending";
}
interface VerifyOptions {
@@ -1173,6 +1177,10 @@ declare namespace SparkPost {
*
*/
abuse_at_token?: string;
/**
* Request verification of CNAME record
*/
cname_verify?: boolean;
}
interface VerifyResults extends Status {