2.31.0 • Published 3 years ago
@springtree/eva-suite-uri-parser v2.31.0
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 --saveUsage
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 testDiscount 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 |
2.31.0
3 years ago
2.29.0
3 years ago
2.28.0
3 years ago
2.27.0
3 years ago
2.26.0
3 years ago
2.30.0
3 years ago
2.25.0
3 years ago
2.24.1
3 years ago
2.24.0
3 years ago
2.12.0
3 years ago
2.19.0
3 years ago
2.17.0
3 years ago
2.18.0
3 years ago
2.15.0
3 years ago
2.16.0
3 years ago
2.13.0
3 years ago
2.14.0
3 years ago
2.13.1
3 years ago
2.21.0
3 years ago
2.23.0
3 years ago
2.20.0
3 years ago
2.22.0
3 years ago
2.21.1
3 years ago
2.11.0
4 years ago
2.10.0
4 years ago
2.7.0
4 years ago
2.9.0
4 years ago
2.8.0
4 years ago
2.6.0
4 years ago
2.5.0
4 years ago
2.4.0
4 years ago
2.3.0
4 years ago
2.2.1
5 years ago
2.2.0
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago