1.0.3 • Published 3 months ago

@ikonintegration/ses-bounce-reporter-client v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
3 months ago

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
1.0.2

3 months ago

1.0.3

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago