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

@springtree/eva-suite-uri-parser

v2.31.0

Published

An URI parser for the EVA suite web applications

Downloads

882

Readme

EVA Suite URI parser

A Node.js module that supports URI handling for EVA suite web applications. These URIs are used for inter-application communication and authentication.

Installation

npm install @springtree/eva-suite-uri-parser --save

Usage

Javascript

var { EvaIntentBuilder, EvaIntentParser, Order } = require('@springtree/eva-suite-uri-parser');

const intentBuilder = new EvaIntentBuilder();
const intentUrl = intentBuilder.buildUrl(Order.Create, {
  type: 0,
  organizationUnitID: 27,
  customerID: 1101,
  currencyID: 'USD'
});

const intentParser = new EvaIntentParser();
const intent = intentParser.parseUrl(`https://localhost:8080/admin?ou=1&i=listUsers`);

TypeScript

import { EvaIntentBuilder, EvaIntentParser, Order } from '@springtree/eva-suite-uri-parser';

const intentBuilder = new EvaIntentBuilder();
const intentUrl = intentBuilder.buildUrl(Order.Create, {
  type: 0,
  organizationUnitID: 27,
  customerID: 1101,
  currencyID: 'USD'
});

const intentParser = new EvaIntentParser();
const intent = intentParser.parseUrl(`https://localhost:8080/admin?ou=1&i=listUsers`);

Test

npm run test

Discount intents

| Action | Export | Description| | ------ | ------ | ---------- | | createDiscount | Discount.Create | Start creating a new discount. Payload can contain information to get started and target OrganizationUnitID | | viewDiscount | Discount.View | Navigate to a discounts details | | listDiscount | Discount.List | Navigate to the discount list for an OrganizationUnitID |

Order intents

| Action | Export | Description| | ------ | ------ | ---------- | | createOrder | Order.Create | Start creating a new order. Payload can contain an existing OrderID to copy | | viewOrder | Order.View | Navigate to an orders details | | listOrder | Order.List | Navigate to the order list for an OrganizationUnitID |

OrganizationUnit intents

| Action | Export | Description| | ------ | ------ | ---------- | | viewOrganizationUnit | OrganizationUnit.View | Navigate to an organization units details | | listOrganizationUnit | OrganizationUnit.List | Navigate to the list of organization units | | viewOpeningHours | OrganizationUnit.ViewOpeningHours | Navigate to the opening hours of an organization unit |

User tasks intents

| Action | Export | Description| | ------ | ------ | ---------- | | listUserTasks | UserTask.List | Show list of all the user taks for the selected organisation unit |

Cycle counts intents

| Action | Export | Description| | ------ | ------ | ---------- | | listCycleCountZones | CycleCount.List | Show list of all the cycle counts for the selected organisation unit |

Settings intents

| Action | Export | Description| | ------ | ------ | ---------- | | listSettings | Settings.List | Show list of all the settings at root level or for the selected organisation unit |

Return to supplier intents

| Action | Export | Description| | ------ | ------ | ---------- | | createReturnToSupplierRequest | ReturnToSupplier.Create | Creates a new RTS request | | viewReturnToSupplierRequest | ReturnToSupplier.View | Navigate to an RTS request | | listReturnToSupplierRequests | ReturnToSupplier.List | Navigate to the RTS request list for an OrganizationUnitID (optionally) |

Product bundle intents

| Action | Export | Description| | ------ | ------ | ---------- | | createProductBundle | ProductBundle.Create | Creates a new product bundle | | viewProductBundle | ProductBundle.View | Navigate to an product bundle | | listProductBundles | ProductBundle.List | Navigate to the product bundle list for an OrganizationUnitID (optionally) | | searchProductBundle | ProductBundle.Search | Navigate to the search results page for product bundles |

Role

| Action | Export | Description| | ------ | ------ | ---------- | | createRole | Role.Create | Creates a new role | | viewRole | Role.View | Navigate to a role | | listRole | Role.List | Navigate to the role list | | searchRole | Role.Search | Navigate to the search results page for roles |

Financial Period Export

| Action | Export | Description| | ------ | ------ | ---------- | | createFinancialPeriodExport | FinancialPeriodExport.Create | Creates a new financial period export | | viewFinancialPeriodExport | FinancialPeriodExport.View | Navigate to a financial period export | | listFinancialPeriodExports | FinancialPeriodExport.List | Navigate to the financial period export list |

Tax Rate

| Action | Export | Description| | ------ | ------ | ---------- | | createTaxRate | TaxRate.Create | Creates a new tax rate | | viewTaxRate | TaxRate.View | Navigate to a tax rate | | listTaxRate | TaxRate.List | Navigate to the tax rate list |