@open-tender/utils
Version:
A library of utils for use with Open Tender applications that utilize our cloud-based Order API.
44 lines (43 loc) • 1.07 kB
TypeScript
import { ServiceType, TenderType } from '@open-tender/types';
export declare const serviceTypeNamesMap: {
[keys in ServiceType]?: string;
};
export declare const otherServiceTypeNamesMap: {
WALKIN: string;
PICKUP: string;
DELIVERY: string;
};
export declare const orderTypeNamesMap: {
OLO: string;
CATERING: string;
MERCH: string;
};
export declare const otherOrderTypesMap: {
WALKIN: string[];
PICKUP: string[];
DELIVERY: string[];
CATERING: string[];
MERCH: string[];
};
export declare const tenderTypeNamesMap: Record<TenderType, string>;
export declare const loyaltyType: {
CREDIT: string;
PROMO_CODE: string;
POINTS: string;
};
export declare const MAX_DISTANCE = 3000;
export declare const prepStatus: {
TODO: string;
IN_PROGRESS: string;
DONE: string;
COMPLETED: string;
FULFILLED: string;
};
export declare const optionsOrderNotifications: {
name: string;
value: string;
}[];
export declare const optionsOrderNotificationsTemp: {
name: string;
value: string;
}[];