@open-tender/types 0.2.80 → 0.2.82

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,5 +1,5 @@
1
1
  import { TimezonePython } from '../datetimes';
2
- import { OrderType, ServiceType } from '../global';
2
+ import { LatLng, OrderType, ServiceType } from '../global';
3
3
  import { CustomerCreate, LoyaltyType, NotificationChannel } from './customer';
4
4
  import { RevenueCenterStatus } from './revenueCenter';
5
5
  export interface ConfigApp {
@@ -50,6 +50,8 @@ export interface ConfigOrderNotifications {
50
50
  description: string;
51
51
  title: string;
52
52
  }
53
+ export declare type OrderRatingType = 'OLO' | 'CATERING';
54
+ export declare type OrderRatingTypes = OrderRatingType[];
53
55
  export interface ConfigBrand {
54
56
  accepts_marketing: ConfigAcceptMarketing | null;
55
57
  applePayMerchantId: string;
@@ -83,6 +85,7 @@ export interface ConfigBrand {
83
85
  olo_id: number;
84
86
  openGraphImage: string | null;
85
87
  order_notifications: ConfigOrderNotifications | null;
88
+ order_rating_types: OrderRatingTypes;
86
89
  origin: string;
87
90
  pilot_slug: string | null;
88
91
  timezone: TimezonePython;
@@ -386,10 +389,6 @@ export interface ConfigDisplaySetting {
386
389
  storePhone: boolean;
387
390
  tags: boolean;
388
391
  }
389
- export interface GoogleMapsCenter {
390
- lat: number;
391
- lng: number;
392
- }
393
392
  export interface GoogleMapsAnchor {
394
393
  x: number;
395
394
  y: number;
@@ -418,7 +417,7 @@ export interface GoogleMapsStyles {
418
417
  export interface GoogleMaps {
419
418
  apiKey: string;
420
419
  apiKeyApp: string;
421
- defaultCenter: GoogleMapsCenter;
420
+ defaultCenter: LatLng;
422
421
  icons: GoogleMapsIcons;
423
422
  styles: GoogleMapsStyles;
424
423
  zoom: number;
@@ -1,5 +1,5 @@
1
1
  import { TimezonePython } from '../datetimes';
2
- import { OrderType, ServiceType } from '../global';
2
+ import { LatLng, OrderType, ServiceType } from '../global';
3
3
  import { CustomerCreate, LoyaltyType, NotificationChannel } from './customer';
4
4
  import { RevenueCenterStatus } from './revenueCenter';
5
5
  export interface ConfigApp {
@@ -50,6 +50,8 @@ export interface ConfigOrderNotifications {
50
50
  description: string;
51
51
  title: string;
52
52
  }
53
+ export declare type OrderRatingType = 'OLO' | 'CATERING';
54
+ export declare type OrderRatingTypes = OrderRatingType[];
53
55
  export interface ConfigBrand {
54
56
  accepts_marketing: ConfigAcceptMarketing | null;
55
57
  applePayMerchantId: string;
@@ -83,6 +85,7 @@ export interface ConfigBrand {
83
85
  olo_id: number;
84
86
  openGraphImage: string | null;
85
87
  order_notifications: ConfigOrderNotifications | null;
88
+ order_rating_types: OrderRatingTypes;
86
89
  origin: string;
87
90
  pilot_slug: string | null;
88
91
  timezone: TimezonePython;
@@ -386,10 +389,6 @@ export interface ConfigDisplaySetting {
386
389
  storePhone: boolean;
387
390
  tags: boolean;
388
391
  }
389
- export interface GoogleMapsCenter {
390
- lat: number;
391
- lng: number;
392
- }
393
392
  export interface GoogleMapsAnchor {
394
393
  x: number;
395
394
  y: number;
@@ -418,7 +417,7 @@ export interface GoogleMapsStyles {
418
417
  export interface GoogleMaps {
419
418
  apiKey: string;
420
419
  apiKeyApp: string;
421
- defaultCenter: GoogleMapsCenter;
420
+ defaultCenter: LatLng;
422
421
  icons: GoogleMapsIcons;
423
422
  styles: GoogleMapsStyles;
424
423
  zoom: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.80",
3
+ "version": "0.2.82",
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",