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

@one-view/pd-oneview-summary-panel-types

v1.0.19

Published

backend api for oneview summary panel plugin

Downloads

22

Readme

FORMAT: 1A VERSION: 1.0.0 HOST: https://api.pd-oneview.net/summary-panel

pd-oneview-summary-panel

backend api for oneview summary panel plugin

Summary Detail [/v1/{orderCode}/detail{?GID,nocache}]

Summary detail information

  • Parameters

    • orderCode (required, string, vsba-nhas)
    • GID: FP_SG (string, optional) - global entity id
      • Default: FP_SG
    • nocache: true (boolean, optional) - bypass cache system
  • Attributes (Summary)

Get summary detail [GET]

  • Request

    • Headers

        Authorization: bearer token
        X-Contact-Id: case-id
  • Response 200 (application/json)

    • Attributes (Summary)
  • Response 400 (application/json)

    • Attributes (Error_400)
  • Response 403 (application/json)

    • Attributes (Error_403)
  • Response 404 (application/json)

    • Attributes (Error_404)
  • Response 500 (application/json)

    • Attributes (Error_500)

Data Structures

int8 (number)

int64 (number)

Address

  • street (string)
  • city (string)
  • postalCode (string)

CustomerFraud

  • result : true (boolean, required) - customer fraud status
  • errorMessage : some error (string) - will return empty string if check is success

Contact

  • firstName : Johnny (string)
  • lastName : English (string)
  • phone (string) - contact voice call number
  • sms (string) - contact sms number
  • email (string) - contact email
  • fraudCheck (CustomerFraud)

Payment

  • paymentMethod : cod, credit-card, online-payment (string) - payment method used
  • paid : true (boolean)
  • amount (number)
  • vouchers (array[Voucher], fixed-type)

Voucher

  • code : vmdMlZ8 (string) - voucher code
  • name : happy new year (string) - voucher name
  • description : for user activation (string) - voucher description
  • expiry : 2020-10-15T02:10:15+00:00 (string) - timestamp formatted date
  • minimumOrder : $10.00 (string) minimum order amount
  • value : $20.00 (string) voucher value
  • status (VoucherStatus)
  • attributes (array[VoucherAttribute], fixed-type)

VoucherStatus (enum)

  • APPLICABLE
  • NOT_APPLICABLE
  • EXPIRED
  • USED

VoucherAttribute

  • label : code (string, required) - voucher label
  • value (object) - actual voucher value
  • displayValue : vmdMlZ8 (string, required) - voucher value
  • isRestricted : true (boolean, required) - is the value restricted to be copied

Subscription

  • code : free (string) - subscription code
  • expiry : 1572499999 (int64) - epoch time stamp of expiry date

PhoneNumber

  • countryCode (int8)
  • areaCode (int8)
  • number (string)
  • isVerified (boolean)

Error (object)

  • errorCode : 401 (int64)
  • errorMessage : not authorize (string)

Error_401 (object)

  • errorCode : 401 (int64)
  • errorMessage : not authorize (string)

Error_404 (object)

  • errorCode : 404 (int64)
  • errorMessage : not found (string)

Error_403 (object)

  • errorCode : 403 (int64)
  • errorMessage : forbidden (string)

Error_400 (object)

  • errorCode : 400 (int64)
  • errorMessage : bad request (string)

Error_500 (object)

  • errorCode : 500 (int64)
  • errorMessage : internal server error (string)

Summary

  • code : vsba-nhas (string, required) - order code
  • customerContact (Contact) - customer contact information
  • GID : foodpanda singapore (string) - global entity id
  • payment (Payment) - payment used for order
  • subscription (Subscription)
  • status : ACCEPTED (string) - order status
  • estimatedTimestamp : 1572499999 (int64) - epoch time stamp of estimated delivery
  • promisedTimestamp : 1572499999 (int64) - epoch time stamp of promised delivery
  • cancelledReason : some_reason (string, optional) - Cancelled Reason (only present when status is CANCELLED)