Catalog npm
Back to packageRELEASE DETAILS

0.1.4

npm

3pl-central

3PL Central API Wrapper

3plapicentral
Published25 Apr 2016
Direct dependencies14
Transitive dependenciesNot calculated

README

Current package documentation

3PL Central

Microservice

Config in .env file.

docker pull smartio/3pl-central
docker run -p 4369:4369 -p 5671:5671 -p 5672:5672 -p 25672:25672 it --rm --name 3pl-central smartio/3pl-central 

Docker Compose

3pl-central:
  env_file: .env
  image: smartio/3pl-central
  volumes:
   - "/mnt/sda1/var/3pl_central_data:/data/db"
  ports:
    - "4369:4369"

Usage

Listen to new orders

import { connect, listen } from '3pl-central';

connect(host)
  .then(client => {
    client.on('newOrder', order => console.log(order));
  })
  .then(listen);

Find orders

import { connect, close, findOrders } from '3pl-central';
import moment from 'moment';

connect(host)
  .then(() => findOrders(moment().subtract(14, 'days')))
  .then(orders => console.log(orders))
  .then(close);

Data Structure

Order

CustomerName
CustomerEmail
CustomerPhone
Facility
FacilityID
WarehouseTransactionID
ReferenceNum
PONum
Retailer
ShipToCompanyName
ShipToName
ShipToEmail
ShipToPhone
ShipToAddress1
ShipToAddress2
ShipToCity
ShipToState
ShipToZip
ShipToCountry
ShipMethod
MarkForName
BatchOrderID
CreationDate
EarliestShipDate
ShipCancelDate
PickupDate
Carrier
BillingCode
TotWeight
TotCuFt
TotPackages
TotOrdQty
TotLines
Notes
OverAllocated
PickTicketPrintDate
ProcessDate
TrackingNumber
LoadNumber
BillOfLading
MasterBillOfLading
ASNSentDate
ConfirmASNSentDate
RememberRowInfo

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 14

Native requirements
14 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
amqplib
Environment
{
  "local_name": "amqplib",
  "alias": false,
  "peer_metadata": null
}
^0.4.1runtime
dotenv
Environment
{
  "local_name": "dotenv",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
isomorphic-fetch
Environment
{
  "local_name": "isomorphic-fetch",
  "alias": false,
  "peer_metadata": null
}
^2.2.1runtime
moment
Environment
{
  "local_name": "moment",
  "alias": false,
  "peer_metadata": null
}
^2.12.0runtime
mongodb
Environment
{
  "local_name": "mongodb",
  "alias": false,
  "peer_metadata": null
}
^2.1.16runtime
rxjs
Environment
{
  "local_name": "rxjs",
  "alias": false,
  "peer_metadata": null
}
^5.0.0-beta.6runtime
xml2js
Environment
{
  "local_name": "xml2js",
  "alias": false,
  "peer_metadata": null
}
^0.4.16runtime
babel-cli
Environment
{
  "local_name": "babel-cli",
  "alias": false,
  "peer_metadata": null
}
^6.7.5development
babel-eslint
Environment
{
  "local_name": "babel-eslint",
  "alias": false,
  "peer_metadata": null
}
^6.0.2development
babel-preset-es2015
Environment
{
  "local_name": "babel-preset-es2015",
  "alias": false,
  "peer_metadata": null
}
^6.6.0development
babel-preset-stage-0
Environment
{
  "local_name": "babel-preset-stage-0",
  "alias": false,
  "peer_metadata": null
}
^6.5.0development
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^3.5.0development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
^2.7.0development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^2.4.5development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "f359aeb42c8303b3c0dbb2c852a6f22dfcc7f890",
  "tarball": "https://registry.npmjs.org/3pl-central/-/3pl-central-0.1.4.tgz",
  "integrity": "sha512-p210WM7IEvx1KK3mnVHGKfifexUFZjgbv+28YksQNkH85nXphVRvZ/kOc6cCLby3c6/KldhVWLe8pDoYht3B6Q==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCOHj+ZaY4DOEtBjd7zkmR23eN7i6iBk7dlNb+e7OFBqgIhAPGmuvTsUNEuEdgXe7mqTCH9gJFXv+w9HFycq9UkWYBV"
    }
  ]
}

Repository

PENDING
smart-io/3pl-central

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:90ed5dcab8ed86bd9e0f6e41a5ebabe209240aac4f74cf01d3e56445f539b24a

Other collected versions

0.1.77 Jun0.1.67 Jun0.1.528 Apr0.1.315 Apr0.1.215 Apr0.1.115 AprView all collected versions →