New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.20 to 3.1.0

dist/client/models/data_removal/DataRemovals.d.ts

4

CHANGELOG.md
# Changelog
## 3.1.0
* added data removal endpoints
## 3.0.20

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

import BaseClient from "./BaseClient";
import { Callback, ClientOptions, DefaultResponse, FilteringParameters } from "./models";
import { CreateDomainRequest, CreateServerRequest, CreateSignatureRequest, DomainDetails, Domains, Server, ServerFilteringParameters, Servers, SignatureDetails, Signatures, TemplatesPush, TemplatesPushRequest, UpdateDomainRequest, UpdateServerRequest, UpdateSignatureRequest } from "./models";
import { CreateDomainRequest, CreateServerRequest, CreateSignatureRequest, DomainDetails, Domains, Server, ServerFilteringParameters, Servers, SignatureDetails, Signatures, TemplatesPush, TemplatesPushRequest, UpdateDomainRequest, UpdateServerRequest, UpdateSignatureRequest, CreateDataRemovalRequest, DataRemovalStatus } from "./models";
export default class AccountClient extends BaseClient {

@@ -200,2 +200,18 @@ /**

pushTemplates(options: TemplatesPushRequest, callback?: Callback<TemplatesPush>): Promise<TemplatesPush>;
/**
* Request a data removal.
*
* @param options - details for creating data removal request
* @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).
*/
createDataRemoval(options: CreateDataRemovalRequest, callback?: Callback<DataRemovalStatus>): Promise<DataRemovalStatus>;
/**
* Retrieve a single data removal status by ID.
*
* @param id - The ID of the DataRemoval for which you wish to retrieve details.
* @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).
*/
getDataRemoval(id: number, callback?: Callback<DataRemovalStatus>): Promise<DataRemovalStatus>;
}

@@ -272,2 +272,22 @@ "use strict";

};
/**
* Request a data removal.
*
* @param options - details for creating data removal request
* @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).
*/
AccountClient.prototype.createDataRemoval = function (options, callback) {
return this.processRequestWithBody(models_1.ClientOptions.HttpMethod.POST, "/data-removals", options, callback);
};
/**
* Retrieve a single data removal status by ID.
*
* @param id - The ID of the DataRemoval for which you wish to retrieve details.
* @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).
*/
AccountClient.prototype.getDataRemoval = function (id, callback) {
return this.processRequestWithoutBody(models_1.ClientOptions.HttpMethod.GET, "/data-removals/".concat(id), {}, callback);
};
return AccountClient;

@@ -274,0 +294,0 @@ }(BaseClient_1.default));

@@ -38,1 +38,2 @@ export * from "./client/ClientOptions";

export * from "./streams/MessageStreamsFilteringParameters";
export * from "./data_removal/DataRemovals";

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

__exportStar(require("./streams/MessageStreamsFilteringParameters"), exports);
__exportStar(require("./data_removal/DataRemovals"), exports);
//# sourceMappingURL=index.js.map

2

package.json

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

],
"version": "3.0.20",
"version": "3.1.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