mailersend
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -24,2 +24,4 @@ import { Pagination } from "../Pagination"; | ||
custom_tracking_subdomain?: string; | ||
precedence_bulk?: boolean; | ||
ignore_duplicated_recipients?: boolean; | ||
} |
@@ -12,6 +12,7 @@ import { Pagination } from "../Pagination"; | ||
inbound_subdomain?: string; | ||
inbound_priority?: number; | ||
forwards?: InboundForward[]; | ||
match_filter?: MatchFilter; | ||
catch_filter?: CatchFilter; | ||
constructor(name: string, domainEnabled: boolean, domainId?: string, inboundDomain?: string, inboundAddress?: string, inboundSubdomain?: string, forwards?: InboundForward[], matchFilter?: MatchFilter, catchFilter?: CatchFilter); | ||
constructor(name: string, domainEnabled: boolean, domainId?: string, inboundDomain?: string, inboundAddress?: string, inboundSubdomain?: string, inboundPriority?: number, forwards?: InboundForward[], matchFilter?: MatchFilter, catchFilter?: CatchFilter); | ||
setDomainId(domainId: string): Inbound; | ||
@@ -22,2 +23,3 @@ setName(name: string): Inbound; | ||
setInboundSubDomain(inboundSubdomain: string): Inbound; | ||
setInboundPriority(inboundPriority: number): Inbound; | ||
setInboundAddress(inboundAddress: string): Inbound; | ||
@@ -24,0 +26,0 @@ setForwards(forwards: InboundForward[]): Inbound; |
@@ -5,3 +5,3 @@ "use strict"; | ||
var Inbound = /** @class */ (function () { | ||
function Inbound(name, domainEnabled, domainId, inboundDomain, inboundAddress, inboundSubdomain, forwards, matchFilter, catchFilter) { | ||
function Inbound(name, domainEnabled, domainId, inboundDomain, inboundAddress, inboundSubdomain, inboundPriority, forwards, matchFilter, catchFilter) { | ||
this.name = name; | ||
@@ -13,2 +13,3 @@ this.domain_enabled = domainEnabled; | ||
this.inbound_subdomain = inboundSubdomain; | ||
this.inbound_priority = inboundPriority; | ||
this.forwards = forwards; | ||
@@ -38,2 +39,6 @@ this.match_filter = matchFilter; | ||
}; | ||
Inbound.prototype.setInboundPriority = function (inboundPriority) { | ||
this.inbound_priority = inboundPriority; | ||
return this; | ||
}; | ||
Inbound.prototype.setInboundAddress = function (inboundAddress) { | ||
@@ -40,0 +45,0 @@ this.inbound_address = inboundAddress; |
{ | ||
"name": "mailersend", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Node.js helper module for MailerSend API", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -703,2 +703,4 @@ <a href="https://www.mailersend.com"><img src="https://www.mailersend.com/images/logo.svg" width="200px"/></a> | ||
custom_tracking_subdomain: "subdomain", | ||
precedence_bulk: 1, | ||
ignore_duplicated_recipients: 1, | ||
}) | ||
@@ -705,0 +707,0 @@ .then((response) => console.log(response.body)) |
222597
3703
2006