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

@cogent-labs/prco-ir-tool

v1.1.6

Published

## INTRO

Downloads

11

Readme

prco-ir-tool

INTRO

This tool provide an interface to provide inspection request management for the following vendors: WIS, Verity, and Oneguard.

  • create inspection request
  • check status of inspection request
  • cancel inspection request

INSTALLATION

// confirm .zshrc
touch ~/.zshrc

// install xcode
xcode-select --install

// install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash

// update terminal
source ~/.zshrc

// install node
nvm install v18.17.1

// verify node
node --version

// install prco-ir-tool
npm -g install @cogent-labs/prco-ir-tool

// verify prco-ir-tool
npm -g ls

CONFIGURE

create env file: ~/protected/prco-ir-tool-env

# wis_credentials format username,password

wis_credentials=***,***
wis_test_url=https://www.stage.wisinspections.com/wiswebservice.asmx?WSDL
wis_prod_url=https://www.wisinspections.com/wiswebservice.asmx?WSDL
wis_report_folder=/Users/frankg/Desktop/prco

# oneguard_credentials format username,password

oneguard_credentials=***,****
oneguard_test_url=https://test.oneguardinspections.com/webService
oneguard_prod_url=https://oneguardinspections.com/webService
oneguard_report_folder=/Users/frankg/Desktop/prco

# verity_api_key format test_key,prod_key

verity_api_key=***,***
verity_test_url=https://dev.verityinspections.com/app/api
verity_prod_url=https://verityinspections.com/app/api
verity_report_folder=/Users/frankg/Desktop/prco

USAGE

prco-ir-tool [options] -- requests...


OPTIONS

-h  --help              display usage help

-c  --config_env_file   file containing environment variables
                        defaults to $HOME/protected/prco-check-status-env

-o  --operation         create | check-status | cancel

-v  --vendor            wis | oneguard | verity

-e  --environment       test | production
                        defaults to test

Requests

-- request-id,path-to-download


EXAMPLES

Get help

    prco-ir-tool -h


Create Inspection Request

    prco-ir-tool -o create -e test -v oneguard -j '{
        "RequesterName": "BamaRama",
        "RequesterExt": "9809879879",
        "RequesterEmail": "[email protected]",
        "ContractHolder": "Someone",
        "SaleDate": "2012-12-16T12:46:30",
        "SaleOdometer": "696969",
        "VehicleYear": "2007",
        "VehicleMake": "Ford",
        "VehicleModel": "FiveHundred",
        "Mileage": "696969",
        "VIN": "123456ABCD78910",
        "ContractNumber": "contract123",
        "ClaimNumber": "claim123",
        "InspectionType": "Automotive",
        "InspectionReasons": ["none", "none", "none"],
        "RepairSite": "BTTHL surfers",
        "Address1": "some street",
        "Address2": "some place",
        "City": "Lubbock",
        "State": "TX",
        "Zip": "79415",
        "Phone": "8182989730",
        "Contact": "cool"
    }'


Check Status of Inspection Request

    prco-ir-tool -o check-status -e test -v oneguard -- 758317,/a/b 876321,/a/b


Cancel Inspection Request

    prco-ir-tool -o cancel -e test -v oneguard -- 758317 876321

AUTHOR

Frank Gutierrez    [email protected]

LICENSE

Copyright (c) 2020 Frank Gutierrez III

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.