@open-tender/types 0.4.86 → 0.4.87
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/cjs/types/api/checkout.d.ts +1 -0
- package/dist/cjs/types/api/config.d.ts +4 -0
- package/dist/cjs/types/api/order.d.ts +2 -1
- package/dist/cjs/types/api/store.d.ts +9 -1
- package/dist/esm/types/api/checkout.d.ts +1 -0
- package/dist/esm/types/api/config.d.ts +4 -0
- package/dist/esm/types/api/order.d.ts +2 -1
- package/dist/esm/types/api/store.d.ts +9 -1
- package/package.json +1 -1
- package/dist/.DS_Store +0 -0
|
@@ -352,6 +352,7 @@ 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;
|
|
355
356
|
}
|
|
356
357
|
export interface OrderCreateSendReceipt {
|
|
357
358
|
email: string | null;
|
|
@@ -74,6 +74,7 @@ export interface ConfigBrand {
|
|
|
74
74
|
catering_id: number;
|
|
75
75
|
como_business_id: number | null;
|
|
76
76
|
description: string;
|
|
77
|
+
display_view_only_menu: boolean;
|
|
77
78
|
email: string;
|
|
78
79
|
favicon: string;
|
|
79
80
|
fulfillment: ConfigFulfillment;
|
|
@@ -206,6 +207,7 @@ export interface ConfigContent {
|
|
|
206
207
|
skip: string;
|
|
207
208
|
};
|
|
208
209
|
mobile: string;
|
|
210
|
+
pointsShop: ConfigContentField;
|
|
209
211
|
profile: ConfigContentField;
|
|
210
212
|
punctuation: string;
|
|
211
213
|
recentItems: ConfigContentField;
|
|
@@ -385,6 +387,7 @@ export interface ConfigContent {
|
|
|
385
387
|
};
|
|
386
388
|
revenueCenters: ConfigContentField & {
|
|
387
389
|
background: string;
|
|
390
|
+
display_full_address: boolean;
|
|
388
391
|
mobile: string;
|
|
389
392
|
statusMessages: {
|
|
390
393
|
[keys in RevenueCenterStatus]: ConfigContentField;
|
|
@@ -530,4 +533,5 @@ export interface ConfigAccordion {
|
|
|
530
533
|
hasCustomize: boolean;
|
|
531
534
|
hasMadeFor: boolean;
|
|
532
535
|
hasNotes: boolean;
|
|
536
|
+
hasIngredients: boolean;
|
|
533
537
|
}
|
|
@@ -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, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global';
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, PrepType, 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,6 +138,7 @@ 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;
|
|
141
142
|
ready_at: ISOString | null;
|
|
142
143
|
requested_at: ISOString;
|
|
143
144
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TimeString } from '../datetimes';
|
|
1
|
+
import { ISOString, 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,6 +56,8 @@ 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';
|
|
59
61
|
export interface Store {
|
|
60
62
|
address: StoreAddress;
|
|
61
63
|
alert_minutes: number;
|
|
@@ -125,5 +127,11 @@ export interface Store {
|
|
|
125
127
|
walkin_prep_minutes: number;
|
|
126
128
|
warning_minutes: number;
|
|
127
129
|
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;
|
|
128
136
|
}
|
|
129
137
|
export declare type Stores = Store[];
|
|
@@ -352,6 +352,7 @@ 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;
|
|
355
356
|
}
|
|
356
357
|
export interface OrderCreateSendReceipt {
|
|
357
358
|
email: string | null;
|
|
@@ -74,6 +74,7 @@ export interface ConfigBrand {
|
|
|
74
74
|
catering_id: number;
|
|
75
75
|
como_business_id: number | null;
|
|
76
76
|
description: string;
|
|
77
|
+
display_view_only_menu: boolean;
|
|
77
78
|
email: string;
|
|
78
79
|
favicon: string;
|
|
79
80
|
fulfillment: ConfigFulfillment;
|
|
@@ -206,6 +207,7 @@ export interface ConfigContent {
|
|
|
206
207
|
skip: string;
|
|
207
208
|
};
|
|
208
209
|
mobile: string;
|
|
210
|
+
pointsShop: ConfigContentField;
|
|
209
211
|
profile: ConfigContentField;
|
|
210
212
|
punctuation: string;
|
|
211
213
|
recentItems: ConfigContentField;
|
|
@@ -385,6 +387,7 @@ export interface ConfigContent {
|
|
|
385
387
|
};
|
|
386
388
|
revenueCenters: ConfigContentField & {
|
|
387
389
|
background: string;
|
|
390
|
+
display_full_address: boolean;
|
|
388
391
|
mobile: string;
|
|
389
392
|
statusMessages: {
|
|
390
393
|
[keys in RevenueCenterStatus]: ConfigContentField;
|
|
@@ -530,4 +533,5 @@ export interface ConfigAccordion {
|
|
|
530
533
|
hasCustomize: boolean;
|
|
531
534
|
hasMadeFor: boolean;
|
|
532
535
|
hasNotes: boolean;
|
|
536
|
+
hasIngredients: boolean;
|
|
533
537
|
}
|
|
@@ -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, ReceiptType, ServiceType, TenderStatus, TenderType } from '../global';
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, PrepType, 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,6 +138,7 @@ 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;
|
|
141
142
|
ready_at: ISOString | null;
|
|
142
143
|
requested_at: ISOString;
|
|
143
144
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TimeString } from '../datetimes';
|
|
1
|
+
import { ISOString, 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,6 +56,8 @@ 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';
|
|
59
61
|
export interface Store {
|
|
60
62
|
address: StoreAddress;
|
|
61
63
|
alert_minutes: number;
|
|
@@ -125,5 +127,11 @@ export interface Store {
|
|
|
125
127
|
walkin_prep_minutes: number;
|
|
126
128
|
warning_minutes: number;
|
|
127
129
|
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;
|
|
128
136
|
}
|
|
129
137
|
export declare type Stores = Store[];
|
package/package.json
CHANGED
package/dist/.DS_Store
DELETED
|
Binary file
|