@open-tender/types 0.4.84 → 0.4.86
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.
- package/dist/.DS_Store +0 -0
- package/dist/cjs/types/api/checkout.d.ts +0 -1
- package/dist/cjs/types/api/config.d.ts +0 -2
- package/dist/cjs/types/api/order.d.ts +1 -2
- package/dist/cjs/types/api/store.d.ts +1 -9
- package/dist/esm/types/api/checkout.d.ts +0 -1
- package/dist/esm/types/api/config.d.ts +0 -2
- package/dist/esm/types/api/order.d.ts +1 -2
- package/dist/esm/types/api/store.d.ts +1 -9
- package/package.json +3 -2
package/dist/.DS_Store
ADDED
|
Binary file
|
|
@@ -352,7 +352,6 @@ export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
|
|
|
352
352
|
made_for?: string | null;
|
|
353
353
|
phone?: string | null;
|
|
354
354
|
prep_type?: PrepType | null;
|
|
355
|
-
notes_internal?: string | null;
|
|
356
355
|
}
|
|
357
356
|
export interface OrderCreateSendReceipt {
|
|
358
357
|
email: string | null;
|
|
@@ -206,7 +206,6 @@ export interface ConfigContent {
|
|
|
206
206
|
skip: string;
|
|
207
207
|
};
|
|
208
208
|
mobile: string;
|
|
209
|
-
pointsShop: ConfigContentField;
|
|
210
209
|
profile: ConfigContentField;
|
|
211
210
|
punctuation: string;
|
|
212
211
|
recentItems: ConfigContentField;
|
|
@@ -386,7 +385,6 @@ export interface ConfigContent {
|
|
|
386
385
|
};
|
|
387
386
|
revenueCenters: ConfigContentField & {
|
|
388
387
|
background: string;
|
|
389
|
-
display_full_address: boolean;
|
|
390
388
|
mobile: string;
|
|
391
389
|
statusMessages: {
|
|
392
390
|
[keys in RevenueCenterStatus]: ConfigContentField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType,
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, 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';
|
|
@@ -138,7 +138,6 @@ export interface OrderPrep {
|
|
|
138
138
|
fire_at: ISOString | null;
|
|
139
139
|
is_in_prep_queue: boolean;
|
|
140
140
|
prep_status: PrepStatus;
|
|
141
|
-
prep_type: PrepType | null;
|
|
142
141
|
ready_at: ISOString | null;
|
|
143
142
|
requested_at: ISOString;
|
|
144
143
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TimeString } from '../datetimes';
|
|
2
2
|
import { Decimal, Money, PrepType, ServiceType, TenderType, Weekday } from '../global';
|
|
3
3
|
export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
|
|
4
4
|
export interface PaymentProcessing {
|
|
@@ -56,8 +56,6 @@ export interface StoreGratuity {
|
|
|
56
56
|
default_gratuity_percentage: number;
|
|
57
57
|
percentage_options: number[];
|
|
58
58
|
}
|
|
59
|
-
export declare type MenuType = 'SCROLLABLE' | 'PAGE';
|
|
60
|
-
export declare type NavigationPageType = 'TOP' | 'LEFT' | 'RIGHT';
|
|
61
59
|
export interface Store {
|
|
62
60
|
address: StoreAddress;
|
|
63
61
|
alert_minutes: number;
|
|
@@ -127,11 +125,5 @@ export interface Store {
|
|
|
127
125
|
walkin_prep_minutes: number;
|
|
128
126
|
warning_minutes: number;
|
|
129
127
|
week_start_day: Weekday;
|
|
130
|
-
disable_kiosk_until: ISOString | null;
|
|
131
|
-
display_category_nav_page: boolean;
|
|
132
|
-
guest_name_required: boolean;
|
|
133
|
-
menu_type: MenuType;
|
|
134
|
-
navigation_page: NavigationPageType;
|
|
135
|
-
collect_table_number: boolean;
|
|
136
128
|
}
|
|
137
129
|
export declare type Stores = Store[];
|
|
@@ -352,7 +352,6 @@ export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
|
|
|
352
352
|
made_for?: string | null;
|
|
353
353
|
phone?: string | null;
|
|
354
354
|
prep_type?: PrepType | null;
|
|
355
|
-
notes_internal?: string | null;
|
|
356
355
|
}
|
|
357
356
|
export interface OrderCreateSendReceipt {
|
|
358
357
|
email: string | null;
|
|
@@ -206,7 +206,6 @@ export interface ConfigContent {
|
|
|
206
206
|
skip: string;
|
|
207
207
|
};
|
|
208
208
|
mobile: string;
|
|
209
|
-
pointsShop: ConfigContentField;
|
|
210
209
|
profile: ConfigContentField;
|
|
211
210
|
punctuation: string;
|
|
212
211
|
recentItems: ConfigContentField;
|
|
@@ -386,7 +385,6 @@ export interface ConfigContent {
|
|
|
386
385
|
};
|
|
387
386
|
revenueCenters: ConfigContentField & {
|
|
388
387
|
background: string;
|
|
389
|
-
display_full_address: boolean;
|
|
390
388
|
mobile: string;
|
|
391
389
|
statusMessages: {
|
|
392
390
|
[keys in RevenueCenterStatus]: ConfigContentField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType,
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, 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';
|
|
@@ -138,7 +138,6 @@ export interface OrderPrep {
|
|
|
138
138
|
fire_at: ISOString | null;
|
|
139
139
|
is_in_prep_queue: boolean;
|
|
140
140
|
prep_status: PrepStatus;
|
|
141
|
-
prep_type: PrepType | null;
|
|
142
141
|
ready_at: ISOString | null;
|
|
143
142
|
requested_at: ISOString;
|
|
144
143
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TimeString } from '../datetimes';
|
|
2
2
|
import { Decimal, Money, PrepType, ServiceType, TenderType, Weekday } from '../global';
|
|
3
3
|
export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
|
|
4
4
|
export interface PaymentProcessing {
|
|
@@ -56,8 +56,6 @@ export interface StoreGratuity {
|
|
|
56
56
|
default_gratuity_percentage: number;
|
|
57
57
|
percentage_options: number[];
|
|
58
58
|
}
|
|
59
|
-
export declare type MenuType = 'SCROLLABLE' | 'PAGE';
|
|
60
|
-
export declare type NavigationPageType = 'TOP' | 'LEFT' | 'RIGHT';
|
|
61
59
|
export interface Store {
|
|
62
60
|
address: StoreAddress;
|
|
63
61
|
alert_minutes: number;
|
|
@@ -127,11 +125,5 @@ export interface Store {
|
|
|
127
125
|
walkin_prep_minutes: number;
|
|
128
126
|
warning_minutes: number;
|
|
129
127
|
week_start_day: Weekday;
|
|
130
|
-
disable_kiosk_until: ISOString | null;
|
|
131
|
-
display_category_nav_page: boolean;
|
|
132
|
-
guest_name_required: boolean;
|
|
133
|
-
menu_type: MenuType;
|
|
134
|
-
navigation_page: NavigationPageType;
|
|
135
|
-
collect_table_number: boolean;
|
|
136
128
|
}
|
|
137
129
|
export declare type Stores = Store[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/types",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.86",
|
|
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",
|
|
@@ -55,5 +55,6 @@
|
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@reduxjs/toolkit": "^1.8.5",
|
|
57
57
|
"react": "^18.2.0"
|
|
58
|
-
}
|
|
58
|
+
},
|
|
59
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
59
60
|
}
|