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

distributor_ppu_service_sqqqqqqqq

v1.0.0

Published

_KnowRoaming_LTD_2017

Downloads

5

Readme

distributor_ppu_service

DistributorPpuService - JavaScript client for distributor_ppu_service © KnowRoaming LTD 2017 This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1.0.0
  • Package version: v1.0.0
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install distributor_ppu_service --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var DistributorPpuService = require('distributor_ppu_service');

var api = new DistributorPpuService.AuthorizationApi()
var distributorId = 56; // {Number} The ID of the Distributor to check the authorization
var opts = { 
  'requestId': "requestId_example" // {String} It will be returned in the response header, the purpose of the RequestId to provide a reference ID to the client side developer if one is using a asynchronous system
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDistributorAuthorization(distributorId, opts, callback);

Documentation for API Endpoints

All URIs are relative to /ds/u/distributorPPUService/v1

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- DistributorPpuService.AuthorizationApi | getDistributorAuthorization | GET /authorization/distributor/{distributorId} | Returns the permissions the logged in user has on the Distributor DistributorPpuService.AuthorizationApi | getGroupAuthorization | GET /authorization/group/{groupId} | Returns the permissions the logged in user has on the Group DistributorPpuService.AuthorizationApi | getIccidAuthorization | GET /authorization/iccid/{iccid} | Returns the permissions the logged in user has on the ICCID DistributorPpuService.AuthorizationApi | getInventoryAuthorization | GET /authorization/inventory/{inventoryId} | Returns the permissions the logged in user has on the Inventory DistributorPpuService.AuthorizationApi | getPackageAuthorization | GET /authorization/package/{packageId} | Returns the permissions the logged in user has on the Package DistributorPpuService.AuthorizationApi | getPackageTemplateAuthorization | GET /authorization/packageTemplate/{packageTemplateId} | Returns the permissions the logged in user has on the Package Template DistributorPpuService.AuthorizationApi | getSponsoredImsiAuthorization | GET /authorization/networkSubscriber/{sponsoredImsi} | Returns the permissions the logged in user has on the Sponsored IMSI DistributorPpuService.AuthorizationApi | getWhitelistAuthorization | GET /authorization/whitelist/{whitelistId} | Returns the permissions the logged in user has on the Whitelist DistributorPpuService.CompanyTopUpApi | getPayment | GET /{distributorId}/payments/{paymentId} | Get a Payment DistributorPpuService.CountryApi | getCountries | GET /country | Get the list of Countries DistributorPpuService.DataSessionsServiceApi | getOpenedDataSession | GET /openDataSessions | Get opened data session DistributorPpuService.DistributorApi | createInventory | POST /{distributorId}/distributor/{id}/inventories | Creates Inventory under a child Distributor DistributorPpuService.DistributorApi | getDistributor | GET /{distributorId}/distributor/{id} | Returns the Distributor by Distributor Id DistributorPpuService.DistributorApi | getDistributors | GET /{distributorId}/distributor | Returns the list of Distributors that are accessible to the user performing the request DistributorPpuService.DistributorApi | getInventories | GET /{distributorId}/distributor/{id}/inventories | Retrieve Inventories DistributorPpuService.DistributorApi | getSimHistory | GET /{distributorId}/distributor/{id}/sim-history | Fetch SIM history of a given distributor DistributorPpuService.DistributorApi | provisionDistributor | POST /{distributorId}/distributor | Provision a new distributor DistributorPpuService.DistributorApi | updateDistributorStatus | PUT /{distributorId}/distributor/{id}/status | Update the Distributor's status DistributorPpuService.GroupApi | adjustGroupBalance | POST /{distributorId}/group/{groupId}/adjustBalance | Modify the balance of a group DistributorPpuService.GroupApi | createGroupSubgroup | POST /{distributorId}/group/{groupId}/subGroup | Create a sub-group DistributorPpuService.GroupApi | deleteGroup | DELETE /{distributorId}/group/{groupId} | Delete a group DistributorPpuService.GroupApi | getALegDataEntries | GET /{distributorId}/group/{groupId}/dataalegrates | Get a list of A Leg rates for a given Group for Data service DistributorPpuService.GroupApi | getALegSmsEntries | GET /{distributorId}/group/{groupId}/smsalegrates | Get a list of A Leg rates for a given Group for SMS service DistributorPpuService.GroupApi | getALegVoiceEntries | GET /{distributorId}/group/{groupId}/voicealegrates | Get a list of A Leg rates for a given Group for Voice service DistributorPpuService.GroupApi | getBLegSmsEntries | GET /{distributorId}/group/{groupId}/smsblegrates | Get a list of B Leg rates for a given Group for SMS service DistributorPpuService.GroupApi | getBLegVoiceEntries | GET /{distributorId}/group/{groupId}/voiceblegrates | Get a list of B Leg rates for a given Group for Voice service DistributorPpuService.GroupApi | getGroup | GET /{distributorId}/group/{groupId}/info | Get a group information DistributorPpuService.GroupApi | getGroupBalance | GET /{distributorId}/group/{groupId}/balance | Get a group balance DistributorPpuService.GroupApi | getGroupDetails | GET /{distributorId}/group/{groupId} | Get the details of a group DistributorPpuService.GroupApi | getGroupOverdraft | GET /{distributorId}/group/{groupId}/overdraft | Get the overdraft of a group DistributorPpuService.GroupApi | getGroupSims | GET /{distributorId}/group/{groupId}/sims | Get SIMs owned by a group DistributorPpuService.GroupApi | getGroupSubgroups | GET /{distributorId}/group/{groupId}/subGroups | Get sub-groups owned by a group DistributorPpuService.GroupApi | setGroupOverdraft | POST /{distributorId}/group/{groupId}/overdraft | Set the overdraft of a group DistributorPpuService.GroupApi | setGroupParent | POST /{distributorId}/group/{groupId}/setParent | Set a group parent DistributorPpuService.GroupApi | updateALegDataEntries | PUT /{distributorId}/group/{groupId}/dataalegrates | Update (or create if non-existent) rate entries of A Leg for a given Group for Data service DistributorPpuService.GroupApi | updateALegSmsEntries | PUT /{distributorId}/group/{groupId}/smsalegrates | Update (or create if non-existent) rate entries of A Leg for a given Group for SMS service DistributorPpuService.GroupApi | updateALegVoiceEntries | PUT /{distributorId}/group/{groupId}/voicealegrates | Update (or create if non-existent) rate entries of A Leg for a given Group for Voice service DistributorPpuService.IMSIApi | getImsiByImsiId | GET /{distributorId}/imsis/{imsiId} | Get a IMSI information DistributorPpuService.IMSIApi | updateImsiWhiteList | POST /{distributorId}/imsis/{imsiId}/whitelist | Update Whitelist information for IMSI DistributorPpuService.ImsiSlotProfilesApi | createImsiSlotProfile | POST /{distributorId}/imsi-slot-profiles | Create IMSI to Slot Profile DistributorPpuService.ImsiSlotProfilesApi | getImsiSlotProfileById | GET /{distributorId}/imsi-slot-profiles/{imsiSlotProfileId} | Get IMSI to Slot Profile by ID DistributorPpuService.InventoryApi | createInventoryGroup | POST /{distributorId}/inventory/{inventoryId}/createGroup | Create a new group under the inventory DistributorPpuService.InventoryApi | createPackageType | POST /{distributorId}/inventory/{inventoryId}/packageType | Create a package type DistributorPpuService.InventoryApi | createPayment | POST /{distributorId}/inventory/{inventoryId}/payments | Create a payment to top up the Inventory balance DistributorPpuService.InventoryApi | createWhitelist | POST /{distributorId}/inventory/{inventoryId}/whitelist | Create a whitelist DistributorPpuService.InventoryApi | getInventory | GET /{distributorId}/inventory/{inventoryId} | Get Inventory DistributorPpuService.InventoryApi | getInventoryBalance | GET /{distributorId}/inventory/{inventoryId}/balance | Get the balance of an inventory DistributorPpuService.InventoryApi | getInventoryCurrency | GET /{distributorId}/inventory/{inventoryId}/currency | Get the Inventory's currency DistributorPpuService.InventoryApi | getInventoryDataRates | GET /{distributorId}/inventory/{inventoryId}/datarates | Retrieves the Data Rates for the inventory DistributorPpuService.InventoryApi | getInventoryGroups | GET /{distributorId}/inventory/{inventoryId}/groups | Get groups owned by an inventory DistributorPpuService.InventoryApi | getInventoryOverdraft | GET /{distributorId}/inventory/{inventoryId}/overdraft | Get the overdraft of an inventory DistributorPpuService.InventoryApi | getInventoryPackageTypes | GET /{distributorId}/inventory/{inventoryId}/packageTypes | Get all package types within an inventory DistributorPpuService.InventoryApi | getInventoryRouteConfig | GET /{distributorId}/inventory/{inventoryId}/routeconfig | Get the Inventory's route config details DistributorPpuService.InventoryApi | getInventorySmsRates | GET /{distributorId}/inventory/{inventoryId}/smsrates | Retrieves the SMS Rates for the inventory DistributorPpuService.InventoryApi | getInventoryStatus | GET /{distributorId}/inventory/{inventoryId}/status | Get the Inventory's status DistributorPpuService.InventoryApi | getInventoryVoiceRates | GET /{distributorId}/inventory/{inventoryId}/voicerates | Retrieves the Voice Rates for the inventory DistributorPpuService.InventoryApi | getNetworkAccessEntries | GET /{distributorId}/inventory/{inventoryId}/networkaccess | Get the Network Access entries DistributorPpuService.InventoryApi | listInventories | GET /{distributorId}/inventory/list | List inventories DistributorPpuService.InventoryApi | provisionSimsOnInventory | POST /{distributorId}/inventory/{inventoryId}/sims | Provision SIMs under an inventory DistributorPpuService.InventoryApi | removeSimsFromInventory | DELETE /{distributorId}/inventory/{inventoryId}/sims | Remove SIMs under an inventory DistributorPpuService.InventoryApi | updateALegDataEntries | PUT /{distributorId}/inventory/{inventoryId}/datarates | Update (or create if non-existent) rate entries of A Leg for a given Inventory for Data service DistributorPpuService.InventoryApi | updateALegSmsEntries | PUT /{distributorId}/inventory/{inventoryId}/smsrates | Update (or create if non-existent) rate entries of A Leg for a given Inventory for SMS service DistributorPpuService.InventoryApi | updateALegVoiceEntries | PUT /{distributorId}/inventory/{inventoryId}/voicerates | Update (or create if non-existent) rate entries of A Leg for a given Inventory for Voice service DistributorPpuService.InventoryApi | updateInventoryStatus | PUT /{distributorId}/inventory/{inventoryId}/status | Update the Inventory's status DistributorPpuService.InventoryApi | updateNetworkAccessEntries | PUT /{distributorId}/inventory/{inventoryId}/networkaccess | Add or Update the Network Access entries DistributorPpuService.NetworkApi | getNetworkMccMncPairs | GET /{distributorId}/network/{networkId}/mcc-mnc-pair | Get network mcc/mnc pairs DistributorPpuService.NetworkSubscriberApi | sendSms | POST /{distributorId}/networkSubscriber/{imsi}/sendSms | Send an SMS DistributorPpuService.NetworkSubscriberApi | sendSmsBinary | POST /{distributorId}/networkSubscriber/{imsi}/sendSmsBinary | Send an SMS in binary DistributorPpuService.NetworkSubscriberApi | sendSmsBinaryCustom | POST /{distributorId}/networkSubscriber/{imsi}/sendSmsBinaryCustom | Send a binary SMS with custom SMPP and GSM SMS parameters DistributorPpuService.PackageApi | getPackage | GET /{distributorId}/package/{packageId}/info | Get a package information DistributorPpuService.PackageApi | setPackageStatus | POST /{distributorId}/package/{packageId}/status | Set a package status DistributorPpuService.PackageAutomationApi | createPackageAutomation | POST /{distributorId}/package-automation | Create a Package Automation for the logged in Distributor DistributorPpuService.PackageAutomationApi | deactivatePackageAutomation | DELETE /{distributorId}/package-automation/{packageAutomationId} | Deactivate a Package Automation for the logged in Distributor DistributorPpuService.PackageAutomationApi | getPackageAutomation | GET /{distributorId}/package-automation/{packageAutomationId} | Get a Package Automation for the logged in Distributor DistributorPpuService.PackageAutomationApi | getPackageAutomations | GET /{distributorId}/package-automation | Get a paginated list of Package Automations for the logged in Distributor.The results are sorted descending by ID DistributorPpuService.PackageTypeApi | getPackageType | GET /{distributorId}/packageType/{packageTypeId} | Get a package type information DistributorPpuService.PackageTypeApi | updatePackageTypeStatus | PUT /{distributorId}/packageType/{packageTypeId}/status | Update the PackageType status DistributorPpuService.SIMApi | adjustSimBalance | POST /{distributorId}/sim/{iccid}/adjustBalance | Adjust the balance of a SIM DistributorPpuService.SIMApi | cancelSimLocationUpdate | POST /{distributorId}/sim/{iccid}/cancelLocationUpdate | Cancel SIM location update DistributorPpuService.SIMApi | createSimPackage | POST /{distributorId}/sim/{iccid}/addPackage | Add a package to a SIM DistributorPpuService.SIMApi | getRoutingConfiguration | GET /{distributorId}/sim/{iccid}/routingConfiguration | Get the routing configuration DistributorPpuService.SIMApi | getSim | GET /{distributorId}/sim/{iccid}/info | Get a SIM information DistributorPpuService.SIMApi | getSimBalance | GET /{distributorId}/sim/{iccid}/balance | Get the balance of a SIM DistributorPpuService.SIMApi | getSimBalanceDrain | GET /{distributorId}/sim/{iccid}/balanceDrain | Get the balance drain of a SIM DistributorPpuService.SIMApi | getSimByIccid | GET /{distributorId}/sim/{iccid} | Get a SIM information DistributorPpuService.SIMApi | getSimCli | GET /{distributorId}/sim/{iccid}/cli | Get calling line identification of a SIM DistributorPpuService.SIMApi | getSimDids | GET /{distributorId}/sim/{iccid}/dids | Get DID numbers of a SIM DistributorPpuService.SIMApi | getSimOverdraft | GET /{distributorId}/sim/{iccid}/overdraft | Get the overdraft of a SIM DistributorPpuService.SIMApi | getSimPackages | GET /{distributorId}/sim/{iccid}/package/infos | Get packages owned by a SIM DistributorPpuService.SIMApi | getSimStatus | GET /{distributorId}/sim/{iccid}/status | Get the status of a SIM DistributorPpuService.SIMApi | getSimThrottle | GET /{distributorId}/sim/{iccid}/throttle | Get the throttle speed of a SIM DistributorPpuService.SIMApi | purge | DELETE /{distributorId}/sim/{iccid}/purge | Terminate a SIM DistributorPpuService.SIMApi | sendSms | POST /{distributorId}/sim/{iccid}/sendSms | Send an SMS DistributorPpuService.SIMApi | sendSmsBinary | POST /{distributorId}/sim/{iccid}/sendSmsBinary | Send an SMS in binary DistributorPpuService.SIMApi | sendSmsBinaryCustom | POST /{distributorId}/sim/{iccid}/sendSmsBinaryCustom | Send a binary SMS with custom SMPP and GSM SMS parameters DistributorPpuService.SIMApi | setSimBalanceDrain | POST /{distributorId}/sim/{iccid}/balanceDrain | Set the balance drain of a SIM DistributorPpuService.SIMApi | setSimOverdraft | POST /{distributorId}/sim/{iccid}/overdraft | Set the overdraft of a SIM DistributorPpuService.SIMApi | setSimParent | POST /{distributorId}/sim/{iccid}/setParent | Set a SIM parent DistributorPpuService.SIMApi | setSimStatus | POST /{distributorId}/sim/{iccid}/status | Set the status of a SIM DistributorPpuService.SIMApi | setSimThrottle | POST /{distributorId}/sim/{iccid}/throttle | Set the throttle speed of a SIM DistributorPpuService.SIMApi | switchProfileOTA | POST /{distributorId}/sim/{iccid}/switchProfileOTA | Switch IMSI profile Over-The-Air DistributorPpuService.SIMApi | updateRoutingConfiguration | POST /{distributorId}/sim/{iccid}/updateRoutingConfiguration | Update the routing configuration for a sim ICCID DistributorPpuService.SearchApi | searchDataCdr | GET /{distributorId}/search/cdr/data | Search Data CDRs DistributorPpuService.SearchApi | searchDistributors | GET /{distributorId}/search/distributor | Search distributors DistributorPpuService.SearchApi | searchGroups | GET /{distributorId}/search/group | Search Groups DistributorPpuService.SearchApi | searchImis | GET /{distributorId}/search/imsis | Search IMSIs DistributorPpuService.SearchApi | searchImsiSlotProfiles | GET /{distributorId}/search/imsi-slot-profiles | Get IMSI Slot Profile entries DistributorPpuService.SearchApi | searchInventories | GET /{distributorId}/search/inventory | Search inventories DistributorPpuService.SearchApi | searchLu | GET /{distributorId}/search/lu | Search Location Updates DistributorPpuService.SearchApi | searchPackageTypes | GET /{distributorId}/search/packageType | Search package types DistributorPpuService.SearchApi | searchPackages | GET /{distributorId}/search/package | Search packages DistributorPpuService.SearchApi | searchSims | GET /{distributorId}/search/sim | Search SIMs DistributorPpuService.SearchApi | searchSmsCdr | GET /{distributorId}/search/cdr/sms | Search SMS CDRs DistributorPpuService.SearchApi | searchTrafficPolicies | GET /{distributorId}/search/trafficPolicy | Search traffic policies DistributorPpuService.SearchApi | searchVoiceCdr | GET /{distributorId}/search/cdr/voice | Search Voice CDRs DistributorPpuService.SearchApi | searchWhitelistEntries | GET /{distributorId}/search/whitelistEntry | Get whitelist entries DistributorPpuService.SearchApi | searchWhitelists | GET /{distributorId}/search/whitelist | Search whitelists DistributorPpuService.SimNotificationApi | createSimNotification | POST /{userDistributorId}/sim-notification | Create a Sim Notification entity DistributorPpuService.SimNotificationApi | getSimNotification | GET /{userDistributorId}/sim-notification/{id} | Get a single Sim Notification DistributorPpuService.SimNotificationApi | getSimNotifications | GET /{userDistributorId}/sim-notification | Get a list of Sim Notifications DistributorPpuService.SimNotificationApi | updateSimNotification | PUT /{userDistributorId}/sim-notification/{id} | Update a Sim Notification entity DistributorPpuService.TrafficPolicyApi | getTrafficPolicy | GET /{distributorId}/trafficPolicy/{trafficPolicyId} | Get a traffic policy DistributorPpuService.WhitelistApi | duplicateWhitelist | POST /{distributorId}/whitelist/{whitelistId}/duplicate | Duplicate whitelist DistributorPpuService.WhitelistApi | getWhitelistById | GET /{distributorId}/whitelist/{whitelistId} | Get Whitelist details DistributorPpuService.WhitelistApi | updateWhitelistEntries | POST /{distributorId}/whitelist/{whitelistId}/entry | Update whitelist entries DistributorPpuService.WhitelistApi | updateWhitelistImsis | POST /{distributorId}/whitelist/{whitelistId}/imsis | Update whitelist IMSIs DistributorPpuService.WhitelistApi | updateWhitelistName | POST /{distributorId}/whitelist/{whitelistId}/name | Update whitelist name DistributorPpuService.WhitelistApi | updateWhitelistSims | POST /{distributorId}/whitelist/{whitelistId}/sim | Update whitelist SIMs

Documentation for Models

Documentation for Authorization

APIKeyToken

  • Type: API key
  • API key parameter name: ApiKey
  • Location: HTTP header

authentication

  • Type: HTTP basic authentication