npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/idtbeyond

v6.0.0

Published

DataFire integration for Active Documentation for /v1

Downloads

13

Readme

@datafire/idtbeyond

Client library for Active Documentation for /v1

Installation and Usage

npm install --save @datafire/idtbeyond
let idtbeyond = require('@datafire/idtbeyond').create();

.then(data => {
  console.log(data);
});

Description

Our active docs provide the ability to test out your account and to see the responses to your queries. The services are RESTful, and are accessed using standard HTTP methods over a secure HTTPS channel. Requests and responses are currently sent in JSON format, and have a base URL of /v1.

Actions

iatu.balance.get

Returns a JSON of the account balance.

idtbeyond.iatu.balance.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use

Output

Output schema unknown

iatu.charges.reports.all.get

Returns charges by date range.

idtbeyond.iatu.charges.reports.all.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "date_from": "",
  "date_to": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • date_from required string: The beginning date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'
    • date_to required string: The ending date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'

Output

Output schema unknown

iatu.charges.reports.all.csv.get

Returns charges by date range in CSV.

idtbeyond.iatu.charges.reports.all.csv.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "date_from": "",
  "date_to": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • date_from required string: The beginning date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'
    • date_to required string: The ending date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'

Output

Output schema unknown

iatu.number_validator.get

Checks to verify if the phone number is valid for the country supplied.

idtbeyond.iatu.number_validator.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "country_code": "",
  "mobile_number": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • country_code required string: 2-digit code of the country in ISO 3166 format. 'BR'
    • mobile_number required string: The mobile number you would like to validate. '5521983115555'

Output

Output schema unknown

iatu.products.promotions.get

Returns a JSON of the current promotions.

idtbeyond.iatu.products.promotions.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use

Output

Output schema unknown

iatu.products.reports.all.get

Returns a JSON list of products, ranges, and their commissions percentages.

idtbeyond.iatu.products.reports.all.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use

Output

Output schema unknown

iatu.products.reports.all.csv.get

Returns a CSV of products, ranges, and their commissions percentages.

idtbeyond.iatu.products.reports.all.csv.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use

Output

Output schema unknown

iatu.products.reports.local_value.get

Returns a CSV of products, ranges, and their commissions percentages.

idtbeyond.iatu.products.reports.local_value.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "country_code": "",
  "carrier_code": "",
  "amount": 0,
  "currency_code": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • country_code required string: 2-digit code of the country in ISO 3166 format. 'GT'
    • carrier_code required string: Name of the mobile carrier. 'Claro'
    • amount required integer: This is the amount, in cents, of the product you are purchasing. '500' = $5.00
    • currency_code required string: The currency code (ISO 4217) on the product you are querying. 'USD'

Output

Output schema unknown

iatu.topups.post

Submits an IATU transaction request.

idtbeyond.iatu.topups.post({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "body": null
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • body required Topups

Output

Output schema unknown

iatu.topups.reports.post

Search topups transactions, by date, with client_transaction_id or to_service_number. Use 'client_transaction_id' to search by transaction number, or 'to_service_number' to get transaction status.

idtbeyond.iatu.topups.reports.post({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "body": null
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • body required TopupsReports

Output

Output schema unknown

iatu.topups.reports.all.get

Returns topups by date range.

idtbeyond.iatu.topups.reports.all.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "date_from": "",
  "date_to": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • date_from required string: The beginning date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'
    • date_to required string: The ending date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'

Output

Output schema unknown

iatu.topups.reports.all.csv.get

Returns topups by date range in CSV.

idtbeyond.iatu.topups.reports.all.csv.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "date_from": "",
  "date_to": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • date_from required string: The beginning date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'
    • date_to required string: The ending date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'

Output

Output schema unknown

iatu.topups.reports.totals.get

Returns topups totals by date range.

idtbeyond.iatu.topups.reports.totals.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "date_from": "",
  "date_to": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • date_from required string: The beginning date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'
    • date_to required string: The ending date of the search IN YYYY-MM-DD format (America/New_York timezone). '2016-01-28'

Output

Output schema unknown

iatu.topups.reverse.post

Occasionally, a carrier will not be able to successfully complete a topup request. In this case, we will attempt to automatically reverse the transaction for you, and return the money into your account. In the case when this is not possible, you may need to request a reverse on the transaction that has a status of 'transaction_status' 'notredeemed'.

idtbeyond.iatu.topups.reverse.post({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": "",
  "body": null
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use
    • body required TopupsReversal

Output

Output schema unknown

status.get

Returns a JSON of the API status.

idtbeyond.status.get({
  "x-idt-beyond-app-id": "",
  "x-idt-beyond-app-key": ""
}, context)

Input

  • input object
    • x-idt-beyond-app-id required string: Application ID you would like to use
    • x-idt-beyond-app-key required string: Application KEY you would like to use

Output

Output schema unknown

Definitions

Topups

  • Topups object
    • amount integer: The amount, in cents, of the product you are purchasing. '500' = $5.00
    • carrier_code string: Name of the mobile carrier. 'Claro'
    • client_transaction_id string: UNIQUE 15 char ID you use to track topups. 'trans0123456789'
    • country_code string: 2-digit code of the country in ISO 3166 format. 'GT'
    • mobile_number string: Mobile number to topup. VALIDATE prior to submission. '50231234567'
    • plan string: The Application plan being used. Case-sensitive. 'Sandbox' or 'Production'
    • product_code string: Optional code to distinguish one particular product from another. '76560'
    • terminal_id string: ID for the Terminal used to perform the topup. 'Kiosk 5'

TopupsReports

  • TopupsReports object
    • client_transaction_id string: The UNIQUE 15 char ID used to track topups. 'trans0123456789'
    • date_from string: The beginning date of the search IN YYYY-MM-DD format (America/New_York timezone). Not used in query by to_service_number. '2016-01-28'
    • date_to string: The ending date of the search IN YYYY-MM-DD format (America/New_York timezone). Not used in query by to_service_number. '2016-01-28'
    • to_service_number string: Enter the to_service_number returned in the response to track the current transaction status. '0123456789'
    • type_of_report string: The type of query you would like to search by.

TopupsReversal

  • TopupsReversal object
    • client_transaction_id string: UNIQUE 15 char ID you use to track topups. 'trans0123456789'
    • to_service_number string: UNIQUE IDT transaction number found in the response of a successful topup request. '0123456789'