@open-tender/types
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,1 @@ | ||
import { AuthType } from '../global'; | ||
export interface ContentImage { | ||
@@ -27,4 +26,5 @@ type: 'SECONDARY_IMAGE' | 'FEATURED_IMAGE'; | ||
vertical: string; | ||
imageUri?: string; | ||
imageUrl?: string | null; | ||
} | ||
export declare type AnnouncementPageType = 'ABOUT' | 'ACCOUNT' | 'CATERING' | 'CHECKOUT' | 'GUEST' | 'HOME' | 'MENU' | 'ORDER_TYPE'; | ||
export interface AnnouncementSettings { | ||
@@ -37,3 +37,3 @@ announcement_page_id: number; | ||
duration_mobile: number; | ||
page: AuthType; | ||
page: AnnouncementPageType; | ||
show_arrows: boolean; | ||
@@ -49,8 +49,8 @@ show_arrows_mobile: boolean; | ||
} | ||
export declare type Announcements = Array<Announcement>; | ||
export declare type Announcements = Announcement[]; | ||
export interface AnnouncementPage { | ||
entities: Announcements; | ||
page: AuthType; | ||
page: AnnouncementPageType; | ||
settings: AnnouncementSettings; | ||
} | ||
export declare type AnnouncementPages = Array<AnnouncementPage>; | ||
export declare type AnnouncementPages = AnnouncementPage[]; |
@@ -1,2 +0,2 @@ | ||
import { CustomerLoyalty } from "./loyalty"; | ||
import { CustomerLoyalty } from './loyalty'; | ||
export interface Auth { | ||
@@ -3,0 +3,0 @@ access_token: string; |
@@ -1,2 +0,2 @@ | ||
import { DiscountType, AuthType, OrderType, ServiceType } from '../../global'; | ||
import { DiscountAuthType, DiscountType, OrderType, ServiceType } from '../../global'; | ||
import { MenuItems } from '../menu'; | ||
@@ -17,3 +17,3 @@ import { OrderItemImages } from '../order'; | ||
amount: string; | ||
auth_type: AuthType; | ||
auth_type: DiscountAuthType; | ||
dayparts: Array<DayPart>; | ||
@@ -20,0 +20,0 @@ description: string; |
@@ -1,2 +0,2 @@ | ||
import { Reward } from "./rewards"; | ||
import { Reward } from './rewards'; | ||
export interface ThanxProgress { | ||
@@ -3,0 +3,0 @@ percentage: string; |
@@ -1,9 +0,9 @@ | ||
import { AuthType, DiscountType, Money, OrderType, ServiceType } from "../global"; | ||
import { DayPart } from "./customer"; | ||
import { DiscountedItems } from "./menu"; | ||
import { OrderItemImage } from "./order"; | ||
import { RevenueCenter } from "./revenueCenter"; | ||
import { DiscountAuthType, DiscountType, Money, OrderType, ServiceType } from '../global'; | ||
import { DayPart } from './customer'; | ||
import { DiscountedItems } from './menu'; | ||
import { OrderItemImage } from './order'; | ||
import { RevenueCenter } from './revenueCenter'; | ||
export interface Deal { | ||
amount: Money; | ||
auth_type: AuthType; | ||
auth_type: DiscountAuthType; | ||
dayparts: Array<DayPart>; | ||
@@ -10,0 +10,0 @@ description: string; |
@@ -24,2 +24,3 @@ export declare type Decimal = `${number}.${number}`; | ||
export declare type DiscountType = 'DOLLAR' | 'PERCENTAGE'; | ||
export declare type DiscountAuthType = 'ACCOUNT' | 'VERIFIED' | null; | ||
export declare type SurchargeType = 'DOLLAR' | 'PERCENTAGE' | 'DISTANCE' | 'TRAVEL_TIME'; | ||
@@ -40,2 +41,1 @@ export declare type TaxType = 'DOLLAR' | 'PERCENTAGE'; | ||
export declare type PicklistOptions = PicklistOption[]; | ||
export declare type AuthType = 'GUEST' | 'ACCOUNT' | 'VERIFIED' | 'HOME' | 'MENU' | 'ORDER_TYPE' | 'CATERING'; |
@@ -1,2 +0,1 @@ | ||
import { AuthType } from '../global'; | ||
export interface ContentImage { | ||
@@ -27,4 +26,5 @@ type: 'SECONDARY_IMAGE' | 'FEATURED_IMAGE'; | ||
vertical: string; | ||
imageUri?: string; | ||
imageUrl?: string | null; | ||
} | ||
export declare type AnnouncementPageType = 'ABOUT' | 'ACCOUNT' | 'CATERING' | 'CHECKOUT' | 'GUEST' | 'HOME' | 'MENU' | 'ORDER_TYPE'; | ||
export interface AnnouncementSettings { | ||
@@ -37,3 +37,3 @@ announcement_page_id: number; | ||
duration_mobile: number; | ||
page: AuthType; | ||
page: AnnouncementPageType; | ||
show_arrows: boolean; | ||
@@ -49,8 +49,8 @@ show_arrows_mobile: boolean; | ||
} | ||
export declare type Announcements = Array<Announcement>; | ||
export declare type Announcements = Announcement[]; | ||
export interface AnnouncementPage { | ||
entities: Announcements; | ||
page: AuthType; | ||
page: AnnouncementPageType; | ||
settings: AnnouncementSettings; | ||
} | ||
export declare type AnnouncementPages = Array<AnnouncementPage>; | ||
export declare type AnnouncementPages = AnnouncementPage[]; |
@@ -1,2 +0,2 @@ | ||
import { CustomerLoyalty } from "./loyalty"; | ||
import { CustomerLoyalty } from './loyalty'; | ||
export interface Auth { | ||
@@ -3,0 +3,0 @@ access_token: string; |
@@ -1,2 +0,2 @@ | ||
import { DiscountType, AuthType, OrderType, ServiceType } from '../../global'; | ||
import { DiscountAuthType, DiscountType, OrderType, ServiceType } from '../../global'; | ||
import { MenuItems } from '../menu'; | ||
@@ -17,3 +17,3 @@ import { OrderItemImages } from '../order'; | ||
amount: string; | ||
auth_type: AuthType; | ||
auth_type: DiscountAuthType; | ||
dayparts: Array<DayPart>; | ||
@@ -20,0 +20,0 @@ description: string; |
@@ -1,2 +0,2 @@ | ||
import { Reward } from "./rewards"; | ||
import { Reward } from './rewards'; | ||
export interface ThanxProgress { | ||
@@ -3,0 +3,0 @@ percentage: string; |
@@ -1,9 +0,9 @@ | ||
import { AuthType, DiscountType, Money, OrderType, ServiceType } from "../global"; | ||
import { DayPart } from "./customer"; | ||
import { DiscountedItems } from "./menu"; | ||
import { OrderItemImage } from "./order"; | ||
import { RevenueCenter } from "./revenueCenter"; | ||
import { DiscountAuthType, DiscountType, Money, OrderType, ServiceType } from '../global'; | ||
import { DayPart } from './customer'; | ||
import { DiscountedItems } from './menu'; | ||
import { OrderItemImage } from './order'; | ||
import { RevenueCenter } from './revenueCenter'; | ||
export interface Deal { | ||
amount: Money; | ||
auth_type: AuthType; | ||
auth_type: DiscountAuthType; | ||
dayparts: Array<DayPart>; | ||
@@ -10,0 +10,0 @@ description: string; |
@@ -24,2 +24,3 @@ export declare type Decimal = `${number}.${number}`; | ||
export declare type DiscountType = 'DOLLAR' | 'PERCENTAGE'; | ||
export declare type DiscountAuthType = 'ACCOUNT' | 'VERIFIED' | null; | ||
export declare type SurchargeType = 'DOLLAR' | 'PERCENTAGE' | 'DISTANCE' | 'TRAVEL_TIME'; | ||
@@ -40,2 +41,1 @@ export declare type TaxType = 'DOLLAR' | 'PERCENTAGE'; | ||
export declare type PicklistOptions = PicklistOption[]; | ||
export declare type AuthType = 'GUEST' | 'ACCOUNT' | 'VERIFIED' | 'HOME' | 'MENU' | 'ORDER_TYPE' | 'CATERING'; |
{ | ||
"name": "@open-tender/types", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201670