@open-tender/types 0.2.117 → 0.3.1

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.
@@ -104,6 +104,8 @@ export interface ConfigBrand {
104
104
  order_rating_types: OrderRatingTypes;
105
105
  origin: string;
106
106
  pilot_slug: string | null;
107
+ privacy_url: string | null;
108
+ terms_url: string | null;
107
109
  timezone: TimezonePython;
108
110
  title: string;
109
111
  tpls: 'COMO' | 'THANX' | 'PUNCHH' | 'SPARKFLY' | null;
@@ -1,5 +1,5 @@
1
1
  import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
2
- import { CardType, CardTypeName, ChannelType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, TenderType } from '../global';
2
+ import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, 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';
@@ -228,6 +228,7 @@ export interface Order {
228
228
  customer: OrderCustomer;
229
229
  delivery: OrderDelivery | null;
230
230
  details: OrderDetails | null;
231
+ device_type: DeviceType;
231
232
  discounts: OrderDiscounts;
232
233
  estimated_at: ISOStringOffset | null;
233
234
  gift_cards: OrderGiftCards;
@@ -104,6 +104,8 @@ export interface ConfigBrand {
104
104
  order_rating_types: OrderRatingTypes;
105
105
  origin: string;
106
106
  pilot_slug: string | null;
107
+ privacy_url: string | null;
108
+ terms_url: string | null;
107
109
  timezone: TimezonePython;
108
110
  title: string;
109
111
  tpls: 'COMO' | 'THANX' | 'PUNCHH' | 'SPARKFLY' | null;
@@ -1,5 +1,5 @@
1
1
  import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
2
- import { CardType, CardTypeName, ChannelType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, TenderType } from '../global';
2
+ import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, 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';
@@ -228,6 +228,7 @@ export interface Order {
228
228
  customer: OrderCustomer;
229
229
  delivery: OrderDelivery | null;
230
230
  details: OrderDetails | null;
231
+ device_type: DeviceType;
231
232
  discounts: OrderDiscounts;
232
233
  estimated_at: ISOStringOffset | null;
233
234
  gift_cards: OrderGiftCards;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.117",
3
+ "version": "0.3.1",
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",