open-index/open-npm huggingface dataset:
npm package: @one-view/cra-template-plugin
Description: The base template for One View frontend plugin.
Latest version: 1.3.3

# @one-view/cra-template-plugin

CRA custom template for One View plugin.

To use this template, add `--template @one-view/plugin` when creating a new project.

For example:
```bash
npx create-react-app com.plugin.new-plugin-view --template @one-view/plugin --use-npm

# or

yarn create react-app com.plugin.new-plugin-view --template @one-view/plugin
```
npm package: @one-view/delivery-project-types
Description: example delivery project
Latest version: 0.0.2


FORMAT: 1A
HOST: https://api-pandacare.foodpanda.com/voucher-wallet

# delivery-project

example delivery project




## Voucher Wallet [/v1/customers/{geid}/{customerId}/wallet]

Get voucher wallet

+ Parameters
    + geid (string, required, `FP_SG`) - global entity id
    + customerId (string, required) - customer ID

### Get voucher wallet [GET]

+ Request

    + Headers

            Authorization: bearer token

+ Response 200 (application/json)
    + Attributes (Vouchers)

+ Response 403 (application/json)
    + Attributes (Error)

+ Response 404 (application/json)
    + Attributes (Error)

+ Response 500 (application/json)
    + Attributes (Error)

## Voucher [/v1/vouchers/{geid}/{voucherCode}]

Get voucher by code

+ Parameters
    + geid (string, required, `FP_SG`) - global entity id
    + voucherCode (string, required) - voucher code

### Get single voucher by code [GET]

+ Request

    + Headers

            Authorization: bearer token

+ Response 200 (application/json)
    + Attributes (Voucher)

+ Response 403 (application/json)
    + Attributes (Error)

+ Response 404 (application/json)
    + Attributes (Error)

+ Response 500 (application/json)
    + Attributes (Error)
# Data Structures

## int32 (number)
## int64 (number)

## `error_object` (object)
+ status (string)
+ title (string)

## `Error` (object)
+ errors (array[error_object], fixed-type)

## Vouchers
+ list (array[Voucher], required, fixed-type)

## Voucher
+ code          : `vmdMlZ8` (string) - voucher code
+ name          : `happy new year` (string) - voucher name
+ description   : `for user activation` (string) - voucher description
+ expiry        : `1619667165` (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