Comparing version 2.3.1 to 2.3.2
@@ -27,2 +27,3 @@ import { FilteringParameters } from "../client/FilteringParameters"; | ||
subject?: string; | ||
messageStream?: string; | ||
constructor(count?: number, offset?: number, recipient?: string, fromEmail?: string, tag?: string, status?: OutboundMessageStatus, fromDate?: string, toDate?: string, subject?: string); | ||
@@ -62,2 +63,3 @@ } | ||
city?: string; | ||
messageStream?: string; | ||
constructor(count?: number, offset?: number, recipient?: string, tag?: string, client_name?: string, client_company?: string, client_family?: string, os_name?: string, os_family?: string, os_company?: string, platform?: string, country?: string, region?: string, city?: string); | ||
@@ -64,0 +66,0 @@ } |
@@ -86,9 +86,2 @@ import BaseClient from "./BaseClient"; | ||
/** | ||
* Get an array of tags associated with bounces. | ||
* | ||
* @param callback - If the callback is provided, it will be passed to the resulting promise as a continuation. | ||
* @returns A promise that will complete when the API responds (or an error occurs). | ||
*/ | ||
getBounceTags(callback?: Callback<string[]>): Promise<string[]>; | ||
/** | ||
* Get the list of templates associated with this server. | ||
@@ -95,0 +88,0 @@ * |
@@ -121,11 +121,2 @@ "use strict"; | ||
/** | ||
* Get an array of tags associated with bounces. | ||
* | ||
* @param callback - If the callback is provided, it will be passed to the resulting promise as a continuation. | ||
* @returns A promise that will complete when the API responds (or an error occurs). | ||
*/ | ||
ServerClient.prototype.getBounceTags = function (callback) { | ||
return this.processRequestWithoutBody(index_1.ClientOptions.HttpMethod.GET, "/bounces/tags", {}, callback); | ||
}; | ||
/** | ||
* Get the list of templates associated with this server. | ||
@@ -132,0 +123,0 @@ * |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"author": "Igor Balos", | ||
@@ -15,0 +15,0 @@ "contributors": [ |
@@ -37,7 +37,2 @@ import * as postmark from "../../src/index"; | ||
}); | ||
it("getBounceTags", async () => { | ||
const tags: string[] = await client.getBounceTags(); | ||
expect(tags.length).to.be.gte(0); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
268827
4766