@open-tender/types 0.4.117 → 0.4.119

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.
@@ -58,6 +58,7 @@ export interface TPLSPointsShopReward {
58
58
  name: string;
59
59
  points: number | null;
60
60
  end_date: string | null;
61
+ end_at: DateString | null;
61
62
  }
62
63
  export declare type TPLSPointsShopRewards = TPLSPointsShopReward[];
63
64
  export interface TPLSTerms {
@@ -53,6 +53,7 @@ export interface Discount {
53
53
  short_description: string;
54
54
  start_date: DateString | null;
55
55
  title: string;
56
+ end_at: DateString | null;
56
57
  }
57
58
  export declare type Discounts = Discount[];
58
59
  export interface DiscountEnhanced extends Discount {
@@ -8,3 +8,10 @@ export interface Settings {
8
8
  export interface InternalSettings {
9
9
  is_offline: boolean;
10
10
  }
11
+ export declare type DeliveryProvider = 'DOORDASH' | 'ONFLEET' | 'RELAY' | 'UBER_DIRECT';
12
+ export interface MapDeliveryProvider {
13
+ delivery_provider: DeliveryProvider;
14
+ location_id: number;
15
+ role_id: number;
16
+ store_id: number;
17
+ }
@@ -58,6 +58,7 @@ export interface TPLSPointsShopReward {
58
58
  name: string;
59
59
  points: number | null;
60
60
  end_date: string | null;
61
+ end_at: DateString | null;
61
62
  }
62
63
  export declare type TPLSPointsShopRewards = TPLSPointsShopReward[];
63
64
  export interface TPLSTerms {
@@ -53,6 +53,7 @@ export interface Discount {
53
53
  short_description: string;
54
54
  start_date: DateString | null;
55
55
  title: string;
56
+ end_at: DateString | null;
56
57
  }
57
58
  export declare type Discounts = Discount[];
58
59
  export interface DiscountEnhanced extends Discount {
@@ -8,3 +8,10 @@ export interface Settings {
8
8
  export interface InternalSettings {
9
9
  is_offline: boolean;
10
10
  }
11
+ export declare type DeliveryProvider = 'DOORDASH' | 'ONFLEET' | 'RELAY' | 'UBER_DIRECT';
12
+ export interface MapDeliveryProvider {
13
+ delivery_provider: DeliveryProvider;
14
+ location_id: number;
15
+ role_id: number;
16
+ store_id: number;
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.117",
3
+ "version": "0.4.119",
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",