@open-tender/types
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -1,2 +0,2 @@ | ||
import { DisplayPage } from '../global'; | ||
import { AuthType } from '../global'; | ||
export interface Announcement { | ||
@@ -30,3 +30,3 @@ announcement_id: number; | ||
duration_mobile: number; | ||
page: DisplayPage; | ||
page: AuthType; | ||
show_arrows: boolean; | ||
@@ -45,5 +45,5 @@ show_arrows_mobile: boolean; | ||
entities: Announcements; | ||
page: DisplayPage; | ||
page: AuthType; | ||
settings: AnnouncementSettings; | ||
} | ||
export declare type AnnouncementPages = Array<AnnouncementPage>; |
@@ -1,2 +0,2 @@ | ||
import { DiscountType, DisplayPage, OrderType, ServiceType } from '../../global'; | ||
import { DiscountType, AuthType, OrderType, ServiceType } from '../../global'; | ||
import { MenuItems } from '../menu'; | ||
@@ -17,3 +17,3 @@ import { OrderItemImage } from '../order'; | ||
amount: string; | ||
auth_type: DisplayPage; | ||
auth_type: AuthType; | ||
dayparts: Array<DayPart>; | ||
@@ -20,0 +20,0 @@ description: string; |
@@ -136,1 +136,11 @@ import { RequestedAt } from '../datetimes'; | ||
export declare type SoldOut = number[]; | ||
export interface DiscountedItem { | ||
id: number; | ||
category_id: number; | ||
name: string; | ||
short_name: string; | ||
} | ||
export interface DiscountedItems { | ||
items: Array<DiscountedItem>; | ||
quantity: number; | ||
} |
@@ -39,2 +39,2 @@ export declare type Decimal = `${number}.${number}`; | ||
export declare type PicklistOptions = PicklistOption[]; | ||
export declare type DisplayPage = 'GUEST' | 'ACCOUNT'; | ||
export declare type AuthType = 'GUEST' | 'ACCOUNT'; |
@@ -1,2 +0,2 @@ | ||
import { DisplayPage } from '../global'; | ||
import { AuthType } from '../global'; | ||
export interface Announcement { | ||
@@ -30,3 +30,3 @@ announcement_id: number; | ||
duration_mobile: number; | ||
page: DisplayPage; | ||
page: AuthType; | ||
show_arrows: boolean; | ||
@@ -45,5 +45,5 @@ show_arrows_mobile: boolean; | ||
entities: Announcements; | ||
page: DisplayPage; | ||
page: AuthType; | ||
settings: AnnouncementSettings; | ||
} | ||
export declare type AnnouncementPages = Array<AnnouncementPage>; |
@@ -1,2 +0,2 @@ | ||
import { DiscountType, DisplayPage, OrderType, ServiceType } from '../../global'; | ||
import { DiscountType, AuthType, OrderType, ServiceType } from '../../global'; | ||
import { MenuItems } from '../menu'; | ||
@@ -17,3 +17,3 @@ import { OrderItemImage } from '../order'; | ||
amount: string; | ||
auth_type: DisplayPage; | ||
auth_type: AuthType; | ||
dayparts: Array<DayPart>; | ||
@@ -20,0 +20,0 @@ description: string; |
@@ -136,1 +136,11 @@ import { RequestedAt } from '../datetimes'; | ||
export declare type SoldOut = number[]; | ||
export interface DiscountedItem { | ||
id: number; | ||
category_id: number; | ||
name: string; | ||
short_name: string; | ||
} | ||
export interface DiscountedItems { | ||
items: Array<DiscountedItem>; | ||
quantity: number; | ||
} |
@@ -39,2 +39,2 @@ export declare type Decimal = `${number}.${number}`; | ||
export declare type PicklistOptions = PicklistOption[]; | ||
export declare type DisplayPage = 'GUEST' | 'ACCOUNT'; | ||
export declare type AuthType = 'GUEST' | 'ACCOUNT'; |
{ | ||
"name": "@open-tender/types", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"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", |
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
140551
211
4812