1.0.9 • Published 3 years ago

rendr-helpers v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Rendr API Helper Functions

Small library to speed up development related to render bookings.

Getting started

Install with yarn or npm

yarn add rendr-helpers
# OR
npm install rendr-helpers

then import getShippingRates function

import getShippingRates from './getShippingRates';

const rates = getShippingRates(rendrAccessToken, tenantId, payload, store, selectedDeliveryDate, state, addBuffer,  bufferOnDeliveryTime)

Packages is developed in TypeScript all argument definition can be seen in IDE.

other available api calls

getStore : to fetch store details by store id requestDeliver: to create deliver

Utils

Supporting constants and functions are provided as well

Functions

getNextDate
isStoreClosed

Constant

TIMEZONE_MAPPING
DEFAULT_OPENING_HOURS
SERVICE_LIST

import getNextDate from './getShippingRates/utils';
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago