Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postmark

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postmark - npm Package Compare versions

Comparing version 3.1.2 to 3.11.0

dist/client/models/suppressions/SuppressionFilteringParameters.d.ts

4

CHANGELOG.md
# Changelog
## 3.11.0
* added filtering to get suppressions endpoint
## 3.1.2

@@ -4,0 +8,0 @@

@@ -36,4 +36,5 @@ export * from "./client/ClientOptions";

export * from "./suppressions/Suppression";
export * from "./suppressions/SuppressionFilteringParameters";
export * from "./streams/MessageStream";
export * from "./streams/MessageStreamsFilteringParameters";
export * from "./data_removal/DataRemovals";

@@ -48,2 +48,3 @@ "use strict";

__exportStar(require("./suppressions/Suppression"), exports);
__exportStar(require("./suppressions/SuppressionFilteringParameters"), exports);
__exportStar(require("./streams/MessageStream"), exports);

@@ -50,0 +51,0 @@ __exportStar(require("./streams/MessageStreamsFilteringParameters"), exports);

4

dist/client/ServerClient.d.ts
import BaseClient from "./BaseClient";
import { Callback, ClientOptions, DefaultResponse, FilteringParameters } from "./models/index";
import { Bounce, BounceActivationResponse, BounceCounts, BounceDump, BounceFilteringParameters, Bounces, BrowserUsageCounts, ClickCounts, ClickLocationCounts, ClickPlatformUsageCounts, CreateInboundRuleRequest, CreateMessageStreamRequest, CreateSuppressionsRequest, CreateTemplateRequest, CreateWebhookRequest, DeleteSuppressionsRequest, DeliveryStatistics, EmailClientUsageCounts, EmailPlaformUsageCounts, EmailReadTimesCounts, InboundMessageDetails, InboundMessages, InboundMessagesFilteringParameters, InboundRule, InboundRules, Message, MessageSendingResponse, MessageStream, MessageStreamArchiveResponse, MessageStreams, MessageStreamsFilteringParameters, MessageStreamUnarchiveResponse, OpenCounts, OutboundMessageClicks, OutboundMessageClicksFilteringParameters, OutboundMessageDetails, OutboundMessageDump, OutboundMessageOpens, OutboundMessageOpensFilteringParameters, OutboundMessages, OutboundMessagesFilteringParameters, OutboundStatistics, SentCounts, Server, SpamCounts, StatisticsFilteringParameters, Suppressions, SuppressionStatuses, Template, TemplatedMessage, TemplateFilteringParameters, Templates, TemplateValidation, TemplateValidationOptions, TrackedEmailCounts, UpdateMessageStreamRequest, UpdateServerRequest, UpdateTemplateRequest, UpdateWebhookRequest, Webhook, WebhookFilteringParameters, Webhooks } from "./models/index";
import { Bounce, BounceActivationResponse, BounceCounts, BounceDump, BounceFilteringParameters, Bounces, BrowserUsageCounts, ClickCounts, ClickLocationCounts, ClickPlatformUsageCounts, CreateInboundRuleRequest, CreateMessageStreamRequest, CreateSuppressionsRequest, CreateTemplateRequest, CreateWebhookRequest, DeleteSuppressionsRequest, DeliveryStatistics, EmailClientUsageCounts, EmailPlaformUsageCounts, EmailReadTimesCounts, InboundMessageDetails, InboundMessages, InboundMessagesFilteringParameters, InboundRule, InboundRules, Message, MessageSendingResponse, MessageStream, MessageStreamArchiveResponse, MessageStreams, MessageStreamsFilteringParameters, MessageStreamUnarchiveResponse, OpenCounts, OutboundMessageClicks, OutboundMessageClicksFilteringParameters, OutboundMessageDetails, OutboundMessageDump, OutboundMessageOpens, OutboundMessageOpensFilteringParameters, OutboundMessages, OutboundMessagesFilteringParameters, OutboundStatistics, SentCounts, Server, SpamCounts, StatisticsFilteringParameters, Suppressions, SuppressionFilteringParameters, SuppressionStatuses, Template, TemplatedMessage, TemplateFilteringParameters, Templates, TemplateValidation, TemplateValidationOptions, TrackedEmailCounts, UpdateMessageStreamRequest, UpdateServerRequest, UpdateTemplateRequest, UpdateWebhookRequest, Webhook, WebhookFilteringParameters, Webhooks } from "./models/index";
/**

@@ -462,3 +462,3 @@ * Server client class that can be used to interact with an individual Postmark Server.

*/
getSuppressions(messageStream: string, callback?: Callback<Suppressions>): Promise<Suppressions>;
getSuppressions(messageStream: string, filter?: SuppressionFilteringParameters, callback?: Callback<Suppressions>): Promise<Suppressions>;
/**

@@ -465,0 +465,0 @@ * Add email addresses to a suppressions list on a message stream on a server.

@@ -625,4 +625,5 @@ "use strict";

*/
ServerClient.prototype.getSuppressions = function (messageStream, callback) {
return this.processRequestWithoutBody(index_1.ClientOptions.HttpMethod.GET, "/message-streams/".concat(messageStream, "/suppressions/dump"), callback);
ServerClient.prototype.getSuppressions = function (messageStream, filter, callback) {
if (filter === void 0) { filter = new index_2.SuppressionFilteringParameters(); }
return this.processRequestWithoutBody(index_1.ClientOptions.HttpMethod.GET, "/message-streams/".concat(messageStream, "/suppressions/dump"), filter, callback);
};

@@ -629,0 +630,0 @@ /**

@@ -12,3 +12,3 @@ {

],
"version": "3.1.2",
"version": "3.11.0",
"author": "Igor Balos",

@@ -15,0 +15,0 @@ "contributors": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc