@open-tender/types 0.4.89 → 0.4.91

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.
@@ -388,6 +388,7 @@ export interface ConfigContent {
388
388
  revenueCenters: ConfigContentField & {
389
389
  background: string;
390
390
  display_full_address: boolean;
391
+ display_location_images_mobile: boolean;
391
392
  mobile: string;
392
393
  statusMessages: {
393
394
  [keys in RevenueCenterStatus]: ConfigContentField;
@@ -533,5 +534,4 @@ export interface ConfigAccordion {
533
534
  hasCustomize: boolean;
534
535
  hasMadeFor: boolean;
535
536
  hasNotes: boolean;
536
- hasIngredients: boolean;
537
537
  }
@@ -1,4 +1,4 @@
1
- import { DateString, TimeString } from '../datetimes';
1
+ import { DateString, ISOString, TimeString } from '../datetimes';
2
2
  import { ChannelType, DiscountAuthType, DiscountType, Images, Money, OrderType, ServiceType } from '../global';
3
3
  export interface DiscountDaypart {
4
4
  daypart_id: number;
@@ -33,6 +33,7 @@ export interface Discount {
33
33
  discount_type: DiscountType;
34
34
  discounted_items: DiscountItems;
35
35
  end_date: DateString | null;
36
+ expires_at: ISOString | null;
36
37
  images: Images;
37
38
  max_amount: Money | null;
38
39
  max_order_size: Money | null;
@@ -388,6 +388,7 @@ export interface ConfigContent {
388
388
  revenueCenters: ConfigContentField & {
389
389
  background: string;
390
390
  display_full_address: boolean;
391
+ display_location_images_mobile: boolean;
391
392
  mobile: string;
392
393
  statusMessages: {
393
394
  [keys in RevenueCenterStatus]: ConfigContentField;
@@ -533,5 +534,4 @@ export interface ConfigAccordion {
533
534
  hasCustomize: boolean;
534
535
  hasMadeFor: boolean;
535
536
  hasNotes: boolean;
536
- hasIngredients: boolean;
537
537
  }
@@ -1,4 +1,4 @@
1
- import { DateString, TimeString } from '../datetimes';
1
+ import { DateString, ISOString, TimeString } from '../datetimes';
2
2
  import { ChannelType, DiscountAuthType, DiscountType, Images, Money, OrderType, ServiceType } from '../global';
3
3
  export interface DiscountDaypart {
4
4
  daypart_id: number;
@@ -33,6 +33,7 @@ export interface Discount {
33
33
  discount_type: DiscountType;
34
34
  discounted_items: DiscountItems;
35
35
  end_date: DateString | null;
36
+ expires_at: ISOString | null;
36
37
  images: Images;
37
38
  max_amount: Money | null;
38
39
  max_order_size: Money | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.89",
3
+ "version": "0.4.91",
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",
@@ -56,5 +56,5 @@
56
56
  "@reduxjs/toolkit": "^1.8.5",
57
57
  "react": "^18.2.0"
58
58
  },
59
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
59
+ "packageManager": "yarn@1.22.22"
60
60
  }