@open-tender/types 0.0.95 → 0.0.97

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.
@@ -2,6 +2,7 @@ import { DateString, ISOString, ISOStringOffset, RequestedAt, TimezonePython } f
2
2
  import { CardType, ChannelType, Decimal, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, SurchargeType, Temperature, TenderStatus, TenderType } from '../global';
3
3
  import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, FirstTime, LoyaltyPoints, RevenueCenterGroupOrdering, RevenueCenterOrderTimes } from './customer';
4
4
  import { PrepStatus, TicketStatus } from './kds';
5
+ import { ConfigFulfillmentField } from './config';
5
6
  export interface OrderChannel {
6
7
  ext_id?: string | null;
7
8
  ext_name?: string | null;
@@ -30,6 +31,9 @@ export interface OrderDiscount {
30
31
  }
31
32
  export declare type OrderDiscounts = Array<OrderDiscount>;
32
33
  export interface OrderFulfillment {
34
+ title?: string;
35
+ description?: string;
36
+ fields?: Array<ConfigFulfillmentField>;
33
37
  acknowledged: boolean;
34
38
  arrival_info: string | null;
35
39
  has_arrived: boolean;
@@ -117,7 +121,7 @@ export interface OrderItem {
117
121
  made_for?: string;
118
122
  name: string;
119
123
  notes?: string;
120
- points?: number | null;
124
+ points?: any;
121
125
  points_total?: number;
122
126
  price?: Money;
123
127
  price_quantity?: number;
@@ -2,6 +2,7 @@ import { DateString, ISOString, ISOStringOffset, RequestedAt, TimezonePython } f
2
2
  import { CardType, ChannelType, Decimal, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, SurchargeType, Temperature, TenderStatus, TenderType } from '../global';
3
3
  import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, FirstTime, LoyaltyPoints, RevenueCenterGroupOrdering, RevenueCenterOrderTimes } from './customer';
4
4
  import { PrepStatus, TicketStatus } from './kds';
5
+ import { ConfigFulfillmentField } from './config';
5
6
  export interface OrderChannel {
6
7
  ext_id?: string | null;
7
8
  ext_name?: string | null;
@@ -30,6 +31,9 @@ export interface OrderDiscount {
30
31
  }
31
32
  export declare type OrderDiscounts = Array<OrderDiscount>;
32
33
  export interface OrderFulfillment {
34
+ title?: string;
35
+ description?: string;
36
+ fields?: Array<ConfigFulfillmentField>;
33
37
  acknowledged: boolean;
34
38
  arrival_info: string | null;
35
39
  has_arrived: boolean;
@@ -117,7 +121,7 @@ export interface OrderItem {
117
121
  made_for?: string;
118
122
  name: string;
119
123
  notes?: string;
120
- points?: number | null;
124
+ points?: any;
121
125
  points_total?: number;
122
126
  price?: Money;
123
127
  price_quantity?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.0.95",
3
+ "version": "0.0.97",
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",