@open-tender/types 0.0.69 → 0.0.71

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.
@@ -102,7 +102,7 @@ export interface MenuItem extends Item {
102
102
  sizes: MenuItemSizes | null;
103
103
  upsell_items: number[] | null;
104
104
  use_options_wizard: 1 | 0;
105
- favorite?: Favorite;
105
+ favorite?: Partial<Favorite>;
106
106
  }
107
107
  export declare type MenuItems = Array<MenuItem>;
108
108
  export declare type MenuCategoryAppearance = 'small' | 'medium' | 'large';
@@ -1,6 +1,6 @@
1
1
  import { DateString, ISOString, ISOStringOffset, RequestedAt, TimezonePython } from '../datetimes';
2
2
  import { CardType, ChannelType, Decimal, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, SurchargeType, Temperature, TenderStatus, TenderType } from '../global';
3
- import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, LoyaltyPoints, RevenueCenterGroupOrdering } from './customer';
3
+ import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, FirstTime, LoyaltyPoints, RevenueCenterGroupOrdering, RevenueCenterOrderTimes } from './customer';
4
4
  import { PrepStatus, TicketStatus } from './kds';
5
5
  export interface OrderChannel {
6
6
  ext_id?: string | null;
@@ -66,6 +66,10 @@ export interface OrderRevenueCenter {
66
66
  order_minimum?: {
67
67
  [key in ServiceType]: Money;
68
68
  };
69
+ first_times?: {
70
+ [key in ServiceType]?: FirstTime | null;
71
+ };
72
+ order_times?: RevenueCenterOrderTimes;
69
73
  }
70
74
  export interface OrderItemDiscount {
71
75
  discount_id: number;
@@ -102,7 +102,7 @@ export interface MenuItem extends Item {
102
102
  sizes: MenuItemSizes | null;
103
103
  upsell_items: number[] | null;
104
104
  use_options_wizard: 1 | 0;
105
- favorite?: Favorite;
105
+ favorite?: Partial<Favorite>;
106
106
  }
107
107
  export declare type MenuItems = Array<MenuItem>;
108
108
  export declare type MenuCategoryAppearance = 'small' | 'medium' | 'large';
@@ -1,6 +1,6 @@
1
1
  import { DateString, ISOString, ISOStringOffset, RequestedAt, TimezonePython } from '../datetimes';
2
2
  import { CardType, ChannelType, Decimal, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, SurchargeType, Temperature, TenderStatus, TenderType } from '../global';
3
- import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, LoyaltyPoints, RevenueCenterGroupOrdering } from './customer';
3
+ import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, FirstTime, LoyaltyPoints, RevenueCenterGroupOrdering, RevenueCenterOrderTimes } from './customer';
4
4
  import { PrepStatus, TicketStatus } from './kds';
5
5
  export interface OrderChannel {
6
6
  ext_id?: string | null;
@@ -66,6 +66,10 @@ export interface OrderRevenueCenter {
66
66
  order_minimum?: {
67
67
  [key in ServiceType]: Money;
68
68
  };
69
+ first_times?: {
70
+ [key in ServiceType]?: FirstTime | null;
71
+ };
72
+ order_times?: RevenueCenterOrderTimes;
69
73
  }
70
74
  export interface OrderItemDiscount {
71
75
  discount_id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.0.69",
3
+ "version": "0.0.71",
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",