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

mailchimp-api-v3

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailchimp-api-v3 - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

examples/example.ts

120

index.d.ts

@@ -0,1 +1,83 @@

// export as namespace mailchimpApiV3;
export = Mailchimp;
declare class Mailchimp {
constructor(api:string)
get(
pathOrOptions: PathOrOptions,
query?: Query,
): Promise<any>;
get(
pathOrOptions: PathOrOptions,
query?: Query,
callback?: Callback,
): void;
get(
pathOrOptions: PathOrOptions,
callback?: Callback,
): void;
post(
pathOrOptions: PathOrOptions,
body?: Body,
): Promise<any>;
post(
pathOrOptions: PathOrOptions,
body?: Body,
callback?: Callback,
): void;
post(
pathOrOptions: PathOrOptions,
callback?: Callback,
): void;
patch(
pathOrOptions: PathOrOptions,
body?: Body,
): Promise<any>;
patch(
pathOrOptions: PathOrOptions,
body?: Body,
callback?: Callback,
): void;
patch(
pathOrOptions: PathOrOptions,
callback?: Callback,
): void;
put(
pathOrOptions: PathOrOptions,
body?: Body,
): Promise<any>;
put(
pathOrOptions: PathOrOptions,
body?: Body,
callback?: Callback,
): void;
put(
pathOrOptions: PathOrOptions,
callback?: Callback,
): void;
delete(
pathOrOptions: PathOrOptions,
): Promise<any>;
delete(
pathOrOptions: PathOrOptions,
callback?: Callback,
): void;
request(
options: Options,
): Promise<any>;
request(
options: Options,
callback?: Callback,
): void;
batch:any
}
type Path = string;

@@ -13,39 +95,1 @@ type Options = {};

type BodyOrCallback = Body | Callback;
declare module "mailchimp-api-v3" {
export interface IMailchimp {
get(
pathOrOptions: PathOrOptions,
queryOrCallback?: QueryOrCallback,
callback?: Callback,
): Promise<any>;
post(
pathOrOptions: PathOrOptions,
bodyOrCallback?: BodyOrCallback,
callback?: Callback,
): Promise<any>;
patch(
pathOrOptions: PathOrOptions,
bodyOrCallback?: BodyOrCallback,
callback?: Callback,
): Promise<any>;
put(
pathOrOptions: PathOrOptions,
bodyOrCallback?: BodyOrCallback,
callback?: Callback,
): Promise<any>;
delete(
pathOrOptions: PathOrOptions,
callback?: Callback,
): Promise<any>;
request(
options: Options,
callback?: Callback,
): Promise<any>;
}
}
{
"name": "mailchimp-api-v3",
"version": "1.9.0",
"version": "1.10.0",
"description": "Mailchimp wrapper for v3 of the mailchimp api, with transparant handling of batch operations",

@@ -5,0 +5,0 @@ "main": "index.js",

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