@ikonintegration/ses-bounce-reporter-client

1.0.3 • Public • Published

ses-bounce-reporter-client Node.js Package

Overall

  • npm npm npm (tag) Libraries.io dependency status for latest release, scoped npm package
  • GitHub commit activity
  • GitHub last commit

How to Use

import SMEmailLog from '@ikonintegration/ses-bounce-reporter-client';

const API = new EmailLog({
  port: 9090, //isOptional
  endpoint: EmailLogEndpoint,
  //Must be specified when using service routes
  apiKey: config.examProvider.key, //API token on IDM.AppID format (generate from APIKey at https://runkit.com/gwdp/idm-appid-v1)
  //Must be specified when using admin or user routes
  authorizationToken: '', -- optional, IDM JWT for shared module admins and user routes -- Accepts a function to be called async and return the token
  clientID: ''
});

//Revoke License
const resp = await API.messageEvent.search(searchObject);
if (!resp || resp.statusCode != 200) {
  return ERROR:
} return SUCCESS;

Headers

The following header must be specified in every request!

  • Authorization

Available API methods

MessageEvent:

  • API.product.get(clientid, msgid, email, eventType, timestamp) - Admin only
  • API.product.search(searchObject) - Admin only

Readme

Keywords

none

Package Sidebar

Install

npm i @ikonintegration/ses-bounce-reporter-client

Weekly Downloads

4

Version

1.0.3

License

none

Unpacked Size

8.84 kB

Total Files

8

Last publish

Collaborators

  • vitor-ikon
  • mateus.ikon
  • gwdebes
  • rescio