@open-tender/types 0.4.86 → 0.4.88

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.
@@ -352,6 +352,7 @@ export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
352
352
  made_for?: string | null;
353
353
  phone?: string | null;
354
354
  prep_type?: PrepType | null;
355
+ notes_internal?: string | null;
355
356
  }
356
357
  export interface OrderCreateSendReceipt {
357
358
  email: string | null;
@@ -74,6 +74,7 @@ export interface ConfigBrand {
74
74
  catering_id: number;
75
75
  como_business_id: number | null;
76
76
  description: string;
77
+ display_view_only_menu: boolean;
77
78
  email: string;
78
79
  favicon: string;
79
80
  fulfillment: ConfigFulfillment;
@@ -206,6 +207,7 @@ export interface ConfigContent {
206
207
  skip: string;
207
208
  };
208
209
  mobile: string;
210
+ pointsShop: ConfigContentField;
209
211
  profile: ConfigContentField;
210
212
  punctuation: string;
211
213
  recentItems: ConfigContentField;
@@ -385,6 +387,8 @@ export interface ConfigContent {
385
387
  };
386
388
  revenueCenters: ConfigContentField & {
387
389
  background: string;
390
+ display_full_address: boolean;
391
+ display_location_images_mobile: boolean;
388
392
  mobile: string;
389
393
  statusMessages: {
390
394
  [keys in RevenueCenterStatus]: ConfigContentField;
@@ -530,4 +534,5 @@ export interface ConfigAccordion {
530
534
  hasCustomize: boolean;
531
535
  hasMadeFor: boolean;
532
536
  hasNotes: boolean;
537
+ hasIngredients: boolean;
533
538
  }
@@ -1,5 +1,5 @@
1
1
  import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
2
- import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global';
2
+ import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, PrepType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global';
3
3
  import { CreditCard, CreditCards } from './creditCards';
4
4
  import { Address, Customer, GiftCard, HouseAccounts } from './customer';
5
5
  import { PrepStatus } from './kds';
@@ -138,6 +138,7 @@ export interface OrderPrep {
138
138
  fire_at: ISOString | null;
139
139
  is_in_prep_queue: boolean;
140
140
  prep_status: PrepStatus;
141
+ prep_type: PrepType | null;
141
142
  ready_at: ISOString | null;
142
143
  requested_at: ISOString;
143
144
  }
@@ -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[];
@@ -352,6 +352,7 @@ export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
352
352
  made_for?: string | null;
353
353
  phone?: string | null;
354
354
  prep_type?: PrepType | null;
355
+ notes_internal?: string | null;
355
356
  }
356
357
  export interface OrderCreateSendReceipt {
357
358
  email: string | null;
@@ -74,6 +74,7 @@ export interface ConfigBrand {
74
74
  catering_id: number;
75
75
  como_business_id: number | null;
76
76
  description: string;
77
+ display_view_only_menu: boolean;
77
78
  email: string;
78
79
  favicon: string;
79
80
  fulfillment: ConfigFulfillment;
@@ -206,6 +207,7 @@ export interface ConfigContent {
206
207
  skip: string;
207
208
  };
208
209
  mobile: string;
210
+ pointsShop: ConfigContentField;
209
211
  profile: ConfigContentField;
210
212
  punctuation: string;
211
213
  recentItems: ConfigContentField;
@@ -385,6 +387,8 @@ export interface ConfigContent {
385
387
  };
386
388
  revenueCenters: ConfigContentField & {
387
389
  background: string;
390
+ display_full_address: boolean;
391
+ display_location_images_mobile: boolean;
388
392
  mobile: string;
389
393
  statusMessages: {
390
394
  [keys in RevenueCenterStatus]: ConfigContentField;
@@ -530,4 +534,5 @@ export interface ConfigAccordion {
530
534
  hasCustomize: boolean;
531
535
  hasMadeFor: boolean;
532
536
  hasNotes: boolean;
537
+ hasIngredients: boolean;
533
538
  }
@@ -1,5 +1,5 @@
1
1
  import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
2
- import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global';
2
+ import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, PrepType, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global';
3
3
  import { CreditCard, CreditCards } from './creditCards';
4
4
  import { Address, Customer, GiftCard, HouseAccounts } from './customer';
5
5
  import { PrepStatus } from './kds';
@@ -138,6 +138,7 @@ export interface OrderPrep {
138
138
  fire_at: ISOString | null;
139
139
  is_in_prep_queue: boolean;
140
140
  prep_status: PrepStatus;
141
+ prep_type: PrepType | null;
141
142
  ready_at: ISOString | null;
142
143
  requested_at: ISOString;
143
144
  }
@@ -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.86",
3
+ "version": "0.4.88",
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",
@@ -55,6 +55,5 @@
55
55
  "peerDependencies": {
56
56
  "@reduxjs/toolkit": "^1.8.5",
57
57
  "react": "^18.2.0"
58
- },
59
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
58
+ }
60
59
  }
package/dist/.DS_Store DELETED
Binary file