@open-tender/types 0.4.79 → 0.4.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { TimeString } from '../datetimes';
1
+ import { ISOString, TimeString } from '../datetimes';
2
2
  import { Decimal, Money, PrepType, ServiceType, TenderType, Weekday } from '../global';
3
3
  export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
4
4
  export interface PaymentProcessing {
@@ -56,6 +56,8 @@ export interface StoreGratuity {
56
56
  default_gratuity_percentage: number;
57
57
  percentage_options: number[];
58
58
  }
59
+ export declare type MenuType = 'SCROLLABLE' | 'PAGE';
60
+ export declare type NavigationPageType = 'TOP' | 'LEFT' | 'RIGHT';
59
61
  export interface Store {
60
62
  address: StoreAddress;
61
63
  alert_minutes: number;
@@ -125,5 +127,11 @@ export interface Store {
125
127
  walkin_prep_minutes: number;
126
128
  warning_minutes: number;
127
129
  week_start_day: Weekday;
130
+ disable_kiosk_until: ISOString | null;
131
+ display_category_nav_page: boolean;
132
+ guest_name_required: boolean;
133
+ menu_type: MenuType;
134
+ navigation_page: NavigationPageType;
135
+ collect_table_number: boolean;
128
136
  }
129
137
  export declare type Stores = Store[];
@@ -1,4 +1,4 @@
1
- import { TimeString } from '../datetimes';
1
+ import { ISOString, TimeString } from '../datetimes';
2
2
  import { Decimal, Money, PrepType, ServiceType, TenderType, Weekday } from '../global';
3
3
  export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
4
4
  export interface PaymentProcessing {
@@ -56,6 +56,8 @@ export interface StoreGratuity {
56
56
  default_gratuity_percentage: number;
57
57
  percentage_options: number[];
58
58
  }
59
+ export declare type MenuType = 'SCROLLABLE' | 'PAGE';
60
+ export declare type NavigationPageType = 'TOP' | 'LEFT' | 'RIGHT';
59
61
  export interface Store {
60
62
  address: StoreAddress;
61
63
  alert_minutes: number;
@@ -125,5 +127,11 @@ export interface Store {
125
127
  walkin_prep_minutes: number;
126
128
  warning_minutes: number;
127
129
  week_start_day: Weekday;
130
+ disable_kiosk_until: ISOString | null;
131
+ display_category_nav_page: boolean;
132
+ guest_name_required: boolean;
133
+ menu_type: MenuType;
134
+ navigation_page: NavigationPageType;
135
+ collect_table_number: boolean;
128
136
  }
129
137
  export declare type Stores = Store[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.79",
3
+ "version": "0.4.80",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",