Added new SparkPost Sending Domain Status/Verify Attributes

This commit is contained in:
Victor Vu
2018-05-17 16:39:11 -07:00
parent ec4a2f8c6f
commit 2fcebc5630

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 {