@open-tender/store 1.1.81 → 1.1.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.
- package/dist/cjs/app/hooks.d.ts +2 -2
- package/dist/cjs/app/store.d.ts +8 -8
- package/dist/cjs/components/Cart.d.ts +1 -2
- package/dist/cjs/components/Cart.js +3 -3
- package/dist/cjs/components/CartItem.d.ts +1 -2
- package/dist/cjs/components/CartItem.js +2 -1
- package/dist/cjs/components/CartUpsells.d.ts +1 -2
- package/dist/cjs/components/CartUpsells.js +2 -1
- package/dist/cjs/components/CheckoutCart.d.ts +1 -2
- package/dist/cjs/components/CheckoutCart.js +2 -2
- package/dist/cjs/hooks/useEmployee.d.ts +2 -1
- package/dist/cjs/hooks/useGiftCardBalance.d.ts +2 -1
- package/dist/cjs/hooks/useKioskImageUrl.d.ts +1 -1
- package/dist/cjs/hooks/useOrder.d.ts +16 -12
- package/dist/cjs/hooks/usePunch.d.ts +1 -0
- package/dist/cjs/hooks/useRefund.d.ts +1 -0
- package/dist/cjs/services/api.d.ts +1 -1
- package/dist/cjs/slices/alerts.d.ts +1 -0
- package/dist/cjs/slices/arrivals.d.ts +1 -1
- package/dist/cjs/slices/checkout.d.ts +15 -15
- package/dist/cjs/slices/config.d.ts +6 -6
- package/dist/cjs/slices/customer.d.ts +2 -2
- package/dist/cjs/slices/customerIdentify.d.ts +2 -2
- package/dist/cjs/slices/kds.d.ts +18 -18
- package/dist/cjs/slices/kiosk.d.ts +32 -32
- package/dist/cjs/slices/menu.d.ts +1 -1
- package/dist/cjs/slices/menuPages.d.ts +33 -9
- package/dist/cjs/slices/notifications.d.ts +1 -0
- package/dist/cjs/slices/order.d.ts +41 -41
- package/dist/cjs/slices/pos.d.ts +8 -5
- package/dist/cjs/slices/refund.d.ts +1 -1
- package/dist/cjs/slices/sendReceipt.d.ts +1 -1
- package/dist/cjs/slices/settings.d.ts +2 -2
- package/dist/cjs/slices/surcharges.d.ts +1 -1
- package/dist/cjs/utils/menu.d.ts +11 -4
- package/dist/cjs/utils/orders.d.ts +10 -10
- package/dist/cjs/utils/pos.d.ts +1 -0
- package/dist/cjs/utils/punches.d.ts +2 -2
- package/dist/cjs/utils/refunds.d.ts +14 -13
- package/dist/esm/app/hooks.d.ts +2 -2
- package/dist/esm/app/store.d.ts +8 -8
- package/dist/esm/components/Cart.d.ts +1 -2
- package/dist/esm/components/Cart.js +3 -3
- package/dist/esm/components/CartItem.d.ts +1 -2
- package/dist/esm/components/CartItem.js +3 -2
- package/dist/esm/components/CartUpsells.d.ts +1 -2
- package/dist/esm/components/CartUpsells.js +3 -2
- package/dist/esm/components/CheckoutCart.d.ts +1 -2
- package/dist/esm/components/CheckoutCart.js +2 -2
- package/dist/esm/hooks/useEmployee.d.ts +2 -1
- package/dist/esm/hooks/useGiftCardBalance.d.ts +2 -1
- package/dist/esm/hooks/useKioskImageUrl.d.ts +1 -1
- package/dist/esm/hooks/useOrder.d.ts +16 -12
- package/dist/esm/hooks/usePunch.d.ts +1 -0
- package/dist/esm/hooks/useRefund.d.ts +1 -0
- package/dist/esm/services/api.d.ts +1 -1
- package/dist/esm/slices/alerts.d.ts +1 -0
- package/dist/esm/slices/arrivals.d.ts +1 -1
- package/dist/esm/slices/checkout.d.ts +15 -15
- package/dist/esm/slices/config.d.ts +6 -6
- package/dist/esm/slices/customer.d.ts +2 -2
- package/dist/esm/slices/customerIdentify.d.ts +2 -2
- package/dist/esm/slices/kds.d.ts +18 -18
- package/dist/esm/slices/kiosk.d.ts +32 -32
- package/dist/esm/slices/menu.d.ts +1 -1
- package/dist/esm/slices/menuPages.d.ts +33 -9
- package/dist/esm/slices/notifications.d.ts +1 -0
- package/dist/esm/slices/order.d.ts +41 -41
- package/dist/esm/slices/pos.d.ts +8 -5
- package/dist/esm/slices/refund.d.ts +1 -1
- package/dist/esm/slices/sendReceipt.d.ts +1 -1
- package/dist/esm/slices/settings.d.ts +2 -2
- package/dist/esm/slices/surcharges.d.ts +1 -1
- package/dist/esm/utils/menu.d.ts +11 -4
- package/dist/esm/utils/orders.d.ts +10 -10
- package/dist/esm/utils/pos.d.ts +1 -0
- package/dist/esm/utils/punches.d.ts +2 -2
- package/dist/esm/utils/refunds.d.ts +14 -13
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Orders } from '@open-tender/types';
|
|
2
|
-
import { HeaderColors, ItemType, ItemTypes, ModifiersMetadata, OrderItem, OrderPrepTimes, PrepStatusMap } from '@open-tender/types';
|
|
1
|
+
import { Order, Orders } from '@open-tender/types';
|
|
2
|
+
import { HeaderColors, ItemType, ItemTypes, KdsOrderType, PrepStationPrepType, KdsStationCounts, KdsStationOrderTypeCount, ModifiersMetadata, OrderBuckets, OrderCart, OrderItem, OrderItemCount, OrderTickets, OrderPrepTimes, PrepStation, PrepStations, PrepStatus, PrepStatusMap, Store, TicketGroups, Timezone } from '@open-tender/types';
|
|
3
3
|
import { OrdersArgs, OrdersParams } from '../slices';
|
|
4
4
|
export declare const prepStatus: PrepStatusMap;
|
|
5
5
|
export declare const makeOrdersParams: ({ businessDate, receiptType, channelType, prepStatus, search, sortBy, sortDirection, parentOrderId }: OrdersArgs) => OrdersParams;
|
|
@@ -7,7 +7,7 @@ export declare const notDone: (prep_status: PrepStatus) => boolean;
|
|
|
7
7
|
export declare const isDone: (prep_status: PrepStatus) => boolean;
|
|
8
8
|
export declare const notCompleted: (prep_status: PrepStatus) => boolean;
|
|
9
9
|
export declare const isCompleted: (prep_status: PrepStatus) => boolean;
|
|
10
|
-
export declare const isFutureOrder: (order: Order) =>
|
|
10
|
+
export declare const isFutureOrder: (order: Order) => boolean | null;
|
|
11
11
|
export declare const makeKdsOrder: (order: Order) => Order;
|
|
12
12
|
export declare const makeKdsOrders: (orders: Orders) => Orders;
|
|
13
13
|
export declare const makeCurrentOrders: (orders: Orders) => Orders;
|
|
@@ -20,7 +20,7 @@ export declare const filterOrdersByPrepType: (orders: Orders, prepType: PrepStat
|
|
|
20
20
|
export declare const filterOrdersToday: (orders: Orders) => Orders;
|
|
21
21
|
export declare const makeOrdersForPrepStation: (orders: Orders, prepStation: PrepStation, orderType: KdsOrderType) => Orders;
|
|
22
22
|
export declare const makeOrderItemSignature: (item: OrderItem, withNotes?: boolean) => string;
|
|
23
|
-
export declare const makeItemCounts: (orders: Orders, withMods?: boolean) =>
|
|
23
|
+
export declare const makeItemCounts: (orders: Orders, withMods?: boolean) => Record<string, OrderItemCount>;
|
|
24
24
|
export declare const makeKdsCounts: (itemTypes: ItemTypes | null, orders: Orders | null) => {
|
|
25
25
|
current: null;
|
|
26
26
|
future: null;
|
|
@@ -40,17 +40,17 @@ export declare const makeOrderBuckets: (orders: Orders, tz: Timezone) => OrderBu
|
|
|
40
40
|
export declare const makeOrderBucketsCounts: (itemTypes?: ItemTypes, orders?: Orders) => Record<string, number>;
|
|
41
41
|
export declare const makeTicketCounts: (tickets: OrderTickets) => Record<string, number>;
|
|
42
42
|
export declare const makeItemTypeSettings: (itemType: ItemType) => {
|
|
43
|
-
is_default:
|
|
44
|
-
is_grouped:
|
|
45
|
-
is_hidden_assembly:
|
|
46
|
-
is_hidden_qa:
|
|
47
|
-
print_on_completed:
|
|
43
|
+
is_default: boolean;
|
|
44
|
+
is_grouped: boolean;
|
|
45
|
+
is_hidden_assembly: boolean;
|
|
46
|
+
is_hidden_qa: boolean;
|
|
47
|
+
print_on_completed: boolean;
|
|
48
48
|
};
|
|
49
49
|
export declare const makeItemTypesMap: (itemTypes: ItemTypes) => Record<string, ItemType>;
|
|
50
50
|
export declare const makeCartLookup: (cart: OrderCart) => Record<string, OrderItem>;
|
|
51
51
|
export declare const makeModifiersMetadataLookup: (cart: ModifiersMetadata) => Record<string, OrderItem>;
|
|
52
52
|
export declare const makeTicketGroups: (tickets: OrderTickets, itemTypes: ItemTypes, isAssembly: boolean, cart: OrderCart, modifiersMetadata?: ModifiersMetadata | null) => TicketGroups;
|
|
53
|
-
export declare const makeDisplayCounts: (counts: Record<string, number>) =>
|
|
53
|
+
export declare const makeDisplayCounts: (counts: Record<string, number>) => number[] | "";
|
|
54
54
|
export declare const displayCounts: (counts: Record<string, number>) => string;
|
|
55
55
|
export declare const makeBucketColor: (settings: Store, minutes: number) => "" | "error" | "alert" | "text";
|
|
56
56
|
export declare const makeOrderPrepTimes: (order: Order, amPm?: boolean, warningMinutes?: number, alertMinutes?: number) => OrderPrepTimes | null;
|
package/dist/cjs/utils/pos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Shifts } from '@open-tender/types';
|
|
1
|
+
import { Employee, PunchType, PunchesProcessed, Shift, Shifts, Timezone } from '@open-tender/types';
|
|
2
2
|
export declare const punchTypes: {
|
|
3
3
|
PUNCH_IN: string;
|
|
4
4
|
BREAK_IN: string;
|
|
@@ -8,4 +8,4 @@ export declare const punchTypes: {
|
|
|
8
8
|
export declare const makePunchMessage: (employee: Employee, punch_type: PunchType) => string;
|
|
9
9
|
export declare const calcBreakSeconds: (breaks: PunchesProcessed) => number;
|
|
10
10
|
export declare const makeShifts: (employee: Employee, tz: Timezone) => Shifts | null;
|
|
11
|
-
export declare const processShift: (shift: Shift) =>
|
|
11
|
+
export declare const processShift: (shift: Shift) => string[];
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import { NegativeMoney, Order, OrderCart, Orders, RequestErrorAPI } from '@open-tender/types';
|
|
1
2
|
export declare const emptyRefund: (error: RequestErrorAPI) => boolean;
|
|
2
3
|
export declare const makeRefundCartLookup: (cart: OrderCart) => Record<string, unknown>;
|
|
3
4
|
export declare const makeRefundLookup: (order: Order) => {
|
|
4
5
|
cart: Record<string, unknown>;
|
|
5
|
-
gift_cards: Record<string,
|
|
6
|
-
surcharges: Record<string,
|
|
7
|
-
discounts: Record<string,
|
|
8
|
-
taxes: Record<string,
|
|
9
|
-
tenders: Record<string,
|
|
10
|
-
subtotal:
|
|
11
|
-
gift_card:
|
|
12
|
-
surcharge:
|
|
13
|
-
discount:
|
|
14
|
-
tax:
|
|
15
|
-
tip:
|
|
16
|
-
shipping:
|
|
17
|
-
total:
|
|
6
|
+
gift_cards: Record<string, `${number}.${number}`>;
|
|
7
|
+
surcharges: Record<string, `${number}.${number}`>;
|
|
8
|
+
discounts: Record<string, `${number}.${number}`>;
|
|
9
|
+
taxes: Record<string, `${number}.${number}`>;
|
|
10
|
+
tenders: Record<string, `${number}.${number}`>;
|
|
11
|
+
subtotal: `${number}.${number}`;
|
|
12
|
+
gift_card: `${number}.${number}`;
|
|
13
|
+
surcharge: `${number}.${number}`;
|
|
14
|
+
discount: NegativeMoney;
|
|
15
|
+
tax: `${number}.${number}`;
|
|
16
|
+
tip: `${number}.${number}`;
|
|
17
|
+
shipping: `${number}.${number}`;
|
|
18
|
+
total: `${number}.${number}`;
|
|
18
19
|
};
|
|
19
20
|
export declare const makeNetOrder: (order: Order, refunds: Orders) => Order;
|
package/dist/esm/app/hooks.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
2
2
|
import type { RootState } from './store';
|
|
3
3
|
export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
|
|
4
|
-
alerts: Alerts;
|
|
4
|
+
alerts: import("@open-tender/types").Alerts;
|
|
5
5
|
arrivals: import("..").ArrivalsState;
|
|
6
6
|
cartSummary: import("..").CartSummaryState;
|
|
7
7
|
checkout: import("..").CheckoutState;
|
|
@@ -16,7 +16,7 @@ export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
|
|
|
16
16
|
menu: import("..").MenuState;
|
|
17
17
|
menuPages: import("..").MenuPagesState;
|
|
18
18
|
modal: import("..").ModalState;
|
|
19
|
-
notifications: Notifications;
|
|
19
|
+
notifications: import("@open-tender/types").Notifications;
|
|
20
20
|
offlineAuths: import("..").OfflineAuthsState;
|
|
21
21
|
order: import("..").OrderState;
|
|
22
22
|
pos: import("..").PosState;
|
package/dist/esm/app/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Action, ThunkAction } from '@reduxjs/toolkit';
|
|
2
2
|
export declare const appReducer: import("redux").Reducer<{
|
|
3
|
-
alerts: Alerts;
|
|
3
|
+
alerts: import("@open-tender/types").Alerts;
|
|
4
4
|
arrivals: import("../slices").ArrivalsState;
|
|
5
5
|
cartSummary: import("../slices").CartSummaryState;
|
|
6
6
|
checkout: import("../slices").CheckoutState;
|
|
@@ -15,7 +15,7 @@ export declare const appReducer: import("redux").Reducer<{
|
|
|
15
15
|
menu: import("../slices").MenuState;
|
|
16
16
|
menuPages: import("../slices").MenuPagesState;
|
|
17
17
|
modal: import("../slices").ModalState;
|
|
18
|
-
notifications: Notifications;
|
|
18
|
+
notifications: import("@open-tender/types").Notifications;
|
|
19
19
|
offlineAuths: import("../slices").OfflineAuthsState;
|
|
20
20
|
order: import("../slices").OrderState;
|
|
21
21
|
pos: import("../slices").PosState;
|
|
@@ -27,7 +27,7 @@ export declare const appReducer: import("redux").Reducer<{
|
|
|
27
27
|
surcharges: import("../slices").SurchargesState;
|
|
28
28
|
taxes: import("../slices").TaxesState;
|
|
29
29
|
}, import("redux").UnknownAction, Partial<{
|
|
30
|
-
alerts:
|
|
30
|
+
alerts: import("@open-tender/types").Alerts | undefined;
|
|
31
31
|
arrivals: import("../slices").ArrivalsState | undefined;
|
|
32
32
|
cartSummary: import("../slices").CartSummaryState | undefined;
|
|
33
33
|
checkout: import("../slices").CheckoutState | undefined;
|
|
@@ -42,7 +42,7 @@ export declare const appReducer: import("redux").Reducer<{
|
|
|
42
42
|
menu: import("../slices").MenuState | undefined;
|
|
43
43
|
menuPages: import("../slices").MenuPagesState | undefined;
|
|
44
44
|
modal: import("../slices").ModalState | undefined;
|
|
45
|
-
notifications:
|
|
45
|
+
notifications: import("@open-tender/types").Notifications | undefined;
|
|
46
46
|
offlineAuths: import("../slices").OfflineAuthsState | undefined;
|
|
47
47
|
order: import("../slices").OrderState | undefined;
|
|
48
48
|
pos: import("../slices").PosState | undefined;
|
|
@@ -56,7 +56,7 @@ export declare const appReducer: import("redux").Reducer<{
|
|
|
56
56
|
}>>;
|
|
57
57
|
export type AppState = ReturnType<typeof appReducer>;
|
|
58
58
|
declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
59
|
-
alerts: Alerts;
|
|
59
|
+
alerts: import("@open-tender/types").Alerts;
|
|
60
60
|
arrivals: import("../slices").ArrivalsState;
|
|
61
61
|
cartSummary: import("../slices").CartSummaryState;
|
|
62
62
|
checkout: import("../slices").CheckoutState;
|
|
@@ -71,7 +71,7 @@ declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
71
71
|
menu: import("../slices").MenuState;
|
|
72
72
|
menuPages: import("../slices").MenuPagesState;
|
|
73
73
|
modal: import("../slices").ModalState;
|
|
74
|
-
notifications: Notifications;
|
|
74
|
+
notifications: import("@open-tender/types").Notifications;
|
|
75
75
|
offlineAuths: import("../slices").OfflineAuthsState;
|
|
76
76
|
order: import("../slices").OrderState;
|
|
77
77
|
pos: import("../slices").PosState;
|
|
@@ -84,7 +84,7 @@ declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
84
84
|
taxes: import("../slices").TaxesState;
|
|
85
85
|
}, Action, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
|
86
86
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
|
87
|
-
alerts: Alerts;
|
|
87
|
+
alerts: import("@open-tender/types").Alerts;
|
|
88
88
|
arrivals: import("../slices").ArrivalsState;
|
|
89
89
|
cartSummary: import("../slices").CartSummaryState;
|
|
90
90
|
checkout: import("../slices").CheckoutState;
|
|
@@ -99,7 +99,7 @@ declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
99
99
|
menu: import("../slices").MenuState;
|
|
100
100
|
menuPages: import("../slices").MenuPagesState;
|
|
101
101
|
modal: import("../slices").ModalState;
|
|
102
|
-
notifications: Notifications;
|
|
102
|
+
notifications: import("@open-tender/types").Notifications;
|
|
103
103
|
offlineAuths: import("../slices").OfflineAuthsState;
|
|
104
104
|
order: import("../slices").OrderState;
|
|
105
105
|
pos: import("../slices").PosState;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CartProps, CartUpsellsProps, CartItemProps, QuantityProps, CartUpsellItemProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const Cart: ({ navigate, children,
|
|
3
|
+
declare const Cart: ({ navigate, children, CartUpsellsView, CartItemView, QuantityView, CartUpsellItemView }: {
|
|
4
4
|
navigate: (route: string) => void;
|
|
5
5
|
children: (props: CartProps) => ReactNode;
|
|
6
|
-
apiUrl: string;
|
|
7
6
|
CartUpsellsView: (props: CartUpsellsProps) => ReactNode;
|
|
8
7
|
CartItemView: (props: CartItemProps) => ReactNode;
|
|
9
8
|
QuantityView: (props: QuantityProps) => ReactNode;
|
|
@@ -4,7 +4,7 @@ import { closeCartSummary, selectCartSummary, selectCartTotals, selectKioskConfi
|
|
|
4
4
|
import { default as CartItemContainer } from './CartItem';
|
|
5
5
|
import { default as CartUpsellsContainer } from './CartUpsells';
|
|
6
6
|
var Cart = function (_a) {
|
|
7
|
-
var navigate = _a.navigate, children = _a.children,
|
|
7
|
+
var navigate = _a.navigate, children = _a.children, CartUpsellsView = _a.CartUpsellsView, CartItemView = _a.CartItemView, QuantityView = _a.QuantityView, CartUpsellItemView = _a.CartUpsellItemView;
|
|
8
8
|
var dispatch = useAppDispatch();
|
|
9
9
|
var config = useAppSelector(selectKioskConfig).cart;
|
|
10
10
|
var cart = useAppSelector(selectOrder).cart;
|
|
@@ -19,8 +19,8 @@ var Cart = function (_a) {
|
|
|
19
19
|
return;
|
|
20
20
|
dispatch(closeCartSummary());
|
|
21
21
|
}, [dispatch, isOpen, isEmpty]);
|
|
22
|
-
var renderCartItem = useCallback(function (item, isLast) { return (React.createElement(CartItemContainer, { key: item.id, navigate: navigate, item: item, isLast: isLast,
|
|
23
|
-
var renderCartUpsells = useCallback(function () { return (React.createElement(CartUpsellsContainer, { CartUpsellItemView: CartUpsellItemView,
|
|
22
|
+
var renderCartItem = useCallback(function (item, isLast) { return (React.createElement(CartItemContainer, { key: item.id, navigate: navigate, item: item, isLast: isLast, children: CartItemView, QuantityView: QuantityView })); }, [navigate, CartItemView, QuantityView]);
|
|
23
|
+
var renderCartUpsells = useCallback(function () { return (React.createElement(CartUpsellsContainer, { CartUpsellItemView: CartUpsellItemView, children: CartUpsellsView })); }, [CartUpsellsView, CartUpsellItemView]);
|
|
24
24
|
if (!config)
|
|
25
25
|
return null;
|
|
26
26
|
return children({
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { CartItem as CartItemType } from '@open-tender/types';
|
|
2
2
|
import { CartItemProps, QuantityProps } from '@open-tender/ui';
|
|
3
3
|
import React, { ReactNode } from 'react';
|
|
4
|
-
declare const CartItem: ({ item, isLast, isEditable, navigate, children,
|
|
4
|
+
declare const CartItem: ({ item, isLast, isEditable, navigate, children, QuantityView }: {
|
|
5
5
|
item: CartItemType;
|
|
6
6
|
isLast?: boolean;
|
|
7
7
|
isEditable?: boolean;
|
|
8
8
|
navigate: (route: string) => void;
|
|
9
9
|
children: (props: CartItemProps) => ReactNode;
|
|
10
|
-
apiUrl: string;
|
|
11
10
|
QuantityView: (props: QuantityProps) => ReactNode;
|
|
12
11
|
}) => React.ReactNode;
|
|
13
12
|
export default CartItem;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
2
|
import { useAppDispatch, useAppSelector } from '../app/hooks';
|
|
3
|
-
import { decrementItemInCart, incrementItemInCart, removeItemFromCart, selectKioskConfig, setCurrentItem } from '../slices';
|
|
3
|
+
import { decrementItemInCart, incrementItemInCart, removeItemFromCart, selectKioskApi, selectKioskConfig, setCurrentItem } from '../slices';
|
|
4
4
|
import { default as QuantityContainer } from './Quantity';
|
|
5
5
|
var CartItem = function (_a) {
|
|
6
|
-
var item = _a.item, _b = _a.isLast, isLast = _b === void 0 ? false : _b, _c = _a.isEditable, isEditable = _c === void 0 ? true : _c, navigate = _a.navigate, children = _a.children,
|
|
6
|
+
var item = _a.item, _b = _a.isLast, isLast = _b === void 0 ? false : _b, _c = _a.isEditable, isEditable = _c === void 0 ? true : _c, navigate = _a.navigate, children = _a.children, QuantityView = _a.QuantityView;
|
|
7
7
|
var dispatch = useAppDispatch();
|
|
8
|
+
var apiUrl = useAppSelector(selectKioskApi);
|
|
8
9
|
var config = useAppSelector(selectKioskConfig).cartItem;
|
|
9
10
|
var increment = useCallback(function () { return dispatch(incrementItemInCart(item)); }, [item, dispatch]);
|
|
10
11
|
var decrement = useCallback(function () { return dispatch(decrementItemInCart(item)); }, [dispatch, item]);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CartUpsellItemProps, CartUpsellsProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const CartUpsells: ({ children,
|
|
3
|
+
declare const CartUpsells: ({ children, CartUpsellItemView }: {
|
|
4
4
|
children: (props: CartUpsellsProps) => ReactNode;
|
|
5
|
-
apiUrl: string;
|
|
6
5
|
CartUpsellItemView: (props: CartUpsellItemProps) => ReactNode;
|
|
7
6
|
}) => React.ReactNode;
|
|
8
7
|
export default CartUpsells;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { makeUpsellItemsForCart } from '@open-tender/utils';
|
|
2
2
|
import React, { useCallback, useMemo } from 'react';
|
|
3
3
|
import { useAppSelector } from '../app/hooks';
|
|
4
|
-
import { selectCartIds, selectKioskConfig, selectMenu } from '../slices';
|
|
4
|
+
import { selectCartIds, selectKioskApi, selectKioskConfig, selectMenu } from '../slices';
|
|
5
5
|
import { default as CartUpsellItemContainer } from './CartUpsellItem';
|
|
6
6
|
var CartUpsells = function (_a) {
|
|
7
|
-
var children = _a.children,
|
|
7
|
+
var children = _a.children, CartUpsellItemView = _a.CartUpsellItemView;
|
|
8
|
+
var apiUrl = useAppSelector(selectKioskApi);
|
|
8
9
|
var config = useAppSelector(selectKioskConfig).cartUpsells;
|
|
9
10
|
var cartIds = useAppSelector(selectCartIds);
|
|
10
11
|
var _b = useAppSelector(selectMenu), categories = _b.categories, soldOut = _b.soldOut;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Cart } from '@open-tender/types';
|
|
2
2
|
import { CartItemProps, CheckoutCartProps, QuantityProps } from '@open-tender/ui';
|
|
3
3
|
import React, { ReactNode } from 'react';
|
|
4
|
-
declare const CheckoutCart: ({ cart,
|
|
4
|
+
declare const CheckoutCart: ({ cart, navigate, children, QuantityView, CartItemView }: {
|
|
5
5
|
cart: Cart;
|
|
6
|
-
apiUrl: string;
|
|
7
6
|
navigate: (route: string) => void;
|
|
8
7
|
children: (props: CheckoutCartProps) => ReactNode;
|
|
9
8
|
QuantityView: (props: QuantityProps) => React.ReactNode;
|
|
@@ -3,9 +3,9 @@ import { useAppSelector } from '../app/hooks';
|
|
|
3
3
|
import { selectKioskConfig } from '../slices';
|
|
4
4
|
import { default as CartItemContainer } from './CartItem';
|
|
5
5
|
var CheckoutCart = function (_a) {
|
|
6
|
-
var cart = _a.cart,
|
|
6
|
+
var cart = _a.cart, navigate = _a.navigate, children = _a.children, QuantityView = _a.QuantityView, CartItemView = _a.CartItemView;
|
|
7
7
|
var config = useAppSelector(selectKioskConfig).checkoutCart;
|
|
8
|
-
var renderCartItem = useCallback(function (item, index) { return (React.createElement(CartItemContainer, { QuantityView: QuantityView,
|
|
8
|
+
var renderCartItem = useCallback(function (item, index) { return (React.createElement(CartItemContainer, { QuantityView: QuantityView, navigate: navigate, children: CartItemView, key: "".concat(item.id, "-").concat(index), item: item, isLast: index + 1 === cart.length, isEditable: false })); }, [QuantityView, navigate, CartItemView, cart.length]);
|
|
9
9
|
return children({ config: config, cart: cart, renderCartItem: renderCartItem });
|
|
10
10
|
};
|
|
11
11
|
export default CheckoutCart;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MenuCategory, MenuItem } from '@open-tender/types';
|
|
2
|
-
export declare const useKioskImageUrl: (entity: MenuItem | MenuCategory) =>
|
|
2
|
+
export declare const useKioskImageUrl: (entity: MenuItem | MenuCategory) => string | null;
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
+
import { Order } from '@open-tender/types';
|
|
1
2
|
declare const useOrder: (order: Order, callback?: () => void) => {
|
|
2
|
-
isInPrepQueue:
|
|
3
|
+
isInPrepQueue: boolean;
|
|
3
4
|
isUpcoming: boolean;
|
|
4
|
-
itemImages:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
itemImages: {
|
|
6
|
+
title: string;
|
|
7
|
+
imageUrl: string;
|
|
8
|
+
}[];
|
|
9
|
+
itemNames: string;
|
|
10
|
+
status: import("@open-tender/types").OrderStatus;
|
|
11
|
+
orderId: number | null;
|
|
12
|
+
orderPrep: import("@open-tender/types").OrderPrep | null;
|
|
13
|
+
orderType: import("@open-tender/types").OrderType;
|
|
14
|
+
orderTypeName: string | undefined;
|
|
11
15
|
reorder: () => void;
|
|
12
|
-
requestedAt:
|
|
13
|
-
revenueCenter:
|
|
14
|
-
serviceType:
|
|
16
|
+
requestedAt: string;
|
|
17
|
+
revenueCenter: import("@open-tender/types").OrderRevenueCenter;
|
|
18
|
+
serviceType: import("@open-tender/types").ServiceType;
|
|
15
19
|
subtitle: string;
|
|
16
20
|
orderNo: string;
|
|
17
21
|
title: string;
|
|
18
|
-
total:
|
|
22
|
+
total: `${number}.${number}`;
|
|
19
23
|
};
|
|
20
24
|
export default useOrder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckoutTender, CustomerEndpoints, CustomerIdentifier, OrderCreatePos, OrderUpdate, OrderType, RequestedAt, ServiceType, TicketUpdate, TicketsUpdate, TicketStatusUpdate, EntityType, InternalSettings, GiftCardCredit, Punch, CashEvent, ErrorAlert, CheckoutTenderPos, Refund, OrderCreateSendReceipt } from '@open-tender/types';
|
|
1
|
+
import { Arrivals, CheckoutTender, CustomerEndpoints, CustomerIdentifier, CustomerIdentify, Discount, Discounts, ItemTypes, Menu, Order, Orders, OrderCreatePos, OrderTender, OrderUpdate, OrderType, RequestedAt, RevenueCenter, SelectOptions, ServiceType, TicketUpdate, TicketsUpdate, TicketStatusUpdate, EntityType, KioskConfig, Store, Settings, InternalSettings, GiftCardCredit, GiftCardBalance, Employee, Punch, Employees, CashEvent, CashSummary, ErrorAlerts, ErrorAlert, OfflineAuths, OfflineAuthsResult, MenuColors, MenuPages, Surcharges, Taxes, CheckoutTenderPos, Refund, DeviceRead, OrderCreateSendReceipt } from '@open-tender/types';
|
|
2
2
|
import { OrdersParams } from '../slices';
|
|
3
3
|
export interface InitAPI {
|
|
4
4
|
apiUrl: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Alerts } from '@open-tender/types';
|
|
1
2
|
import { AppState } from '../app';
|
|
2
3
|
export declare const clearAlerts: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"alerts/clearAlerts">, addAlert: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "alerts/addAlert">, dismissAlert: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "alerts/dismissAlert">;
|
|
3
4
|
export declare const selectAlerts: (state: AppState) => Alerts;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomerIdentifier, CustomerIdentify, Money, Order, OrderCreate, OrderCreateDiscounts, OrderCreateGiftCards, OrderCreatePoints, OrderCreateSurcharges, RequestError, RequestStatus, Taxes } from '@open-tender/types';
|
|
1
|
+
import { CheckoutTenderPos, CustomerIdentifier, CustomerIdentify, Discount, Money, Order, OrderCreate, OrderCreateDiscount, OrderCreateDiscounts, OrderCreateGiftCards, OrderCreatePoints, OrderCreateSurcharge, OrderCreateSurcharges, OrderTender, RequestError, RequestStatus, Taxes } from '@open-tender/types';
|
|
2
2
|
import { AppState } from '../app';
|
|
3
3
|
import { OrderState } from './order';
|
|
4
4
|
export interface CheckoutState {
|
|
@@ -51,7 +51,7 @@ export declare const addPromoCode: import("@reduxjs/toolkit").AsyncThunk<Discoun
|
|
|
51
51
|
fulfilledMeta?: unknown;
|
|
52
52
|
rejectedMeta?: unknown;
|
|
53
53
|
}>;
|
|
54
|
-
export declare const addTender: import("@reduxjs/toolkit").AsyncThunk<
|
|
54
|
+
export declare const addTender: import("@reduxjs/toolkit").AsyncThunk<void | OrderTender, CheckoutTenderPos, {
|
|
55
55
|
state: AppState;
|
|
56
56
|
rejectValue: RequestError;
|
|
57
57
|
dispatch?: import("redux").Dispatch<import("redux").UnknownAction> | undefined;
|
|
@@ -61,7 +61,7 @@ export declare const addTender: import("@reduxjs/toolkit").AsyncThunk<any, Check
|
|
|
61
61
|
fulfilledMeta?: unknown;
|
|
62
62
|
rejectedMeta?: unknown;
|
|
63
63
|
}>;
|
|
64
|
-
export declare const removeTender: import("@reduxjs/toolkit").AsyncThunk<
|
|
64
|
+
export declare const removeTender: import("@reduxjs/toolkit").AsyncThunk<void | OrderTender, number, {
|
|
65
65
|
state: AppState;
|
|
66
66
|
rejectValue: RequestError;
|
|
67
67
|
dispatch?: import("redux").Dispatch<import("redux").UnknownAction> | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const removeTender: import("@reduxjs/toolkit").AsyncThunk<any, nu
|
|
|
71
71
|
fulfilledMeta?: unknown;
|
|
72
72
|
rejectedMeta?: unknown;
|
|
73
73
|
}>;
|
|
74
|
-
export declare const updateTender: import("@reduxjs/toolkit").AsyncThunk<
|
|
74
|
+
export declare const updateTender: import("@reduxjs/toolkit").AsyncThunk<void | OrderTender, void, {
|
|
75
75
|
state: AppState;
|
|
76
76
|
rejectValue: RequestError;
|
|
77
77
|
dispatch?: import("redux").Dispatch<import("redux").UnknownAction> | undefined;
|
|
@@ -96,7 +96,7 @@ export interface IdentifyCustomer {
|
|
|
96
96
|
callback?: () => void;
|
|
97
97
|
showError?: boolean;
|
|
98
98
|
}
|
|
99
|
-
export declare const identifyCustomer: import("@reduxjs/toolkit").AsyncThunk<
|
|
99
|
+
export declare const identifyCustomer: import("@reduxjs/toolkit").AsyncThunk<void | CustomerIdentify, IdentifyCustomer, {
|
|
100
100
|
state: AppState;
|
|
101
101
|
rejectValue: RequestError;
|
|
102
102
|
dispatch?: import("redux").Dispatch<import("redux").UnknownAction> | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const completeChipDNA: import("@reduxjs/toolkit").AsyncThunk<any,
|
|
|
116
116
|
fulfilledMeta?: unknown;
|
|
117
117
|
rejectedMeta?: unknown;
|
|
118
118
|
}>;
|
|
119
|
-
export declare const validatePosOrder: import("@reduxjs/toolkit").AsyncThunk<
|
|
119
|
+
export declare const validatePosOrder: import("@reduxjs/toolkit").AsyncThunk<void | Order, void, {
|
|
120
120
|
state: AppState;
|
|
121
121
|
rejectValue: RequestError;
|
|
122
122
|
dispatch?: import("redux").Dispatch<import("redux").UnknownAction> | undefined;
|
|
@@ -126,7 +126,7 @@ export declare const validatePosOrder: import("@reduxjs/toolkit").AsyncThunk<any
|
|
|
126
126
|
fulfilledMeta?: unknown;
|
|
127
127
|
rejectedMeta?: unknown;
|
|
128
128
|
}>;
|
|
129
|
-
export declare const submitPosOrder: import("@reduxjs/toolkit").AsyncThunk<
|
|
129
|
+
export declare const submitPosOrder: import("@reduxjs/toolkit").AsyncThunk<void | Order, void, {
|
|
130
130
|
state: AppState;
|
|
131
131
|
rejectValue: RequestError;
|
|
132
132
|
dispatch?: import("redux").Dispatch<import("redux").UnknownAction> | undefined;
|
|
@@ -136,7 +136,7 @@ export declare const submitPosOrder: import("@reduxjs/toolkit").AsyncThunk<any,
|
|
|
136
136
|
fulfilledMeta?: unknown;
|
|
137
137
|
rejectedMeta?: unknown;
|
|
138
138
|
}>;
|
|
139
|
-
export declare const voidPosOrder: import("@reduxjs/toolkit").AsyncThunk<
|
|
139
|
+
export declare const voidPosOrder: import("@reduxjs/toolkit").AsyncThunk<void | Order, void, {
|
|
140
140
|
state: AppState;
|
|
141
141
|
rejectValue: RequestError;
|
|
142
142
|
dispatch?: import("redux").Dispatch<import("redux").UnknownAction> | undefined;
|
|
@@ -156,16 +156,16 @@ export declare const activateGiftCards: import("@reduxjs/toolkit").AsyncThunk<an
|
|
|
156
156
|
fulfilledMeta?: unknown;
|
|
157
157
|
rejectedMeta?: unknown;
|
|
158
158
|
}>;
|
|
159
|
-
export declare const resetPosCheckout: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"checkout/resetPosCheckout">, resetPosCheck: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"checkout/resetPosCheck">, handleCheckoutError: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/handleCheckoutError">, addGiftCard: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/addGiftCard">, removeGiftCard: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/removeGiftCard">, addSurcharge: import("@reduxjs/toolkit").ActionCreatorWithPayload<
|
|
159
|
+
export declare const resetPosCheckout: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"checkout/resetPosCheckout">, resetPosCheck: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"checkout/resetPosCheck">, handleCheckoutError: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/handleCheckoutError">, addGiftCard: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/addGiftCard">, removeGiftCard: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/removeGiftCard">, addSurcharge: import("@reduxjs/toolkit").ActionCreatorWithPayload<OrderCreateSurcharge, "checkout/addSurcharge">, removeSurcharge: import("@reduxjs/toolkit").ActionCreatorWithPayload<OrderCreateSurcharge, "checkout/removeSurcharge">, addDiscount: import("@reduxjs/toolkit").ActionCreatorWithPayload<OrderCreateDiscount, "checkout/addDiscount">, removeDiscount: import("@reduxjs/toolkit").ActionCreatorWithPayload<OrderCreateDiscount, "checkout/removeDiscount">, addTax: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/addTax">, removeTax: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/removeTax">, addTip: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/addTip">, removeTip: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"checkout/removeTip">, setTaxExempt: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/setTaxExempt">, addCustomer: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/addCustomer">, removeCustomer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"checkout/removeCustomer">, setPendingDiscounts: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/setPendingDiscounts">, setPoints: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/setPoints">, setMadeFor: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/setMadeFor">, setPhone: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "checkout/setPhone">;
|
|
160
160
|
export declare const selectPosCheckout: (state: AppState) => CheckoutState;
|
|
161
|
-
export declare const selectPosCheck: (state: AppState) =>
|
|
162
|
-
export declare const selectPosCustomer: (state: AppState) =>
|
|
161
|
+
export declare const selectPosCheck: (state: AppState) => Order | null;
|
|
162
|
+
export declare const selectPosCustomer: (state: AppState) => CustomerIdentify | null;
|
|
163
163
|
export declare const selectPosCustomerName: (state: AppState) => string | null;
|
|
164
164
|
export declare const selectPosCustomerNameShort: (state: AppState) => string | null;
|
|
165
165
|
export declare const selectPosPendingDiscounts: (state: AppState) => boolean;
|
|
166
|
-
export declare const selectPosAmountDue: (state: AppState) =>
|
|
167
|
-
export declare const selectPosCheckSubtotal: (state: AppState) =>
|
|
168
|
-
export declare const selectPosCheckTotal: (state: AppState) =>
|
|
169
|
-
export declare const selectPosCheckTenders: (state: AppState) =>
|
|
166
|
+
export declare const selectPosAmountDue: (state: AppState) => `${number}.${number}` | null;
|
|
167
|
+
export declare const selectPosCheckSubtotal: (state: AppState) => `${number}.${number}`;
|
|
168
|
+
export declare const selectPosCheckTotal: (state: AppState) => `${number}.${number}`;
|
|
169
|
+
export declare const selectPosCheckTenders: (state: AppState) => import("@open-tender/types").OrderTenders;
|
|
170
170
|
export declare const checkoutReducer: import("redux").Reducer<CheckoutState>;
|
|
171
171
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Devices, MenuColors, RequestError, RequestStatus, SelectOptions, Store } from '@open-tender/types';
|
|
1
|
+
import { Devices, MenuColors, RequestError, RequestStatus, SelectOptions, Store, Timezone } from '@open-tender/types';
|
|
2
2
|
import { AppState } from '../app';
|
|
3
3
|
import { PosAPI } from '../services';
|
|
4
4
|
import { InitAPI } from '../services/api';
|
|
@@ -40,12 +40,12 @@ export declare const resetConfig: import("@reduxjs/toolkit").ActionCreatorWithou
|
|
|
40
40
|
export declare const selectConfig: (state: AppState) => ConfigState;
|
|
41
41
|
export declare const selectApi: (state: AppState) => PosAPI;
|
|
42
42
|
export declare const selectVersion: (state: AppState) => string | null | undefined;
|
|
43
|
-
export declare const selectDevices: (state: AppState) =>
|
|
44
|
-
export declare const selectStore: (state: AppState) =>
|
|
45
|
-
export declare const selectSelectOptions: (state: AppState) =>
|
|
46
|
-
export declare const selectMenuColors: (state: AppState) =>
|
|
43
|
+
export declare const selectDevices: (state: AppState) => Devices | null;
|
|
44
|
+
export declare const selectStore: (state: AppState) => Store | null;
|
|
45
|
+
export declare const selectSelectOptions: (state: AppState) => SelectOptions;
|
|
46
|
+
export declare const selectMenuColors: (state: AppState) => MenuColors;
|
|
47
47
|
export declare const selectTimezone: () => Timezone;
|
|
48
|
-
export declare const selectLoyalty: (state: AppState) =>
|
|
48
|
+
export declare const selectLoyalty: (state: AppState) => boolean;
|
|
49
49
|
export declare const selectPinpad: (state: AppState) => boolean;
|
|
50
50
|
export declare const selectCashDrawer: (state: AppState) => boolean;
|
|
51
51
|
export declare const configReducer: import("redux").Reducer<ConfigState>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Customer, Discounts, Favorites, GiftCards, LoyaltyPrograms, Orders, RequestError, RequestStatus } from '@open-tender/types';
|
|
1
|
+
import { Customer, CustomerEndpoints, CustomerEntities, Discounts, Favorites, GiftCards, LoyaltyPrograms, Orders, RequestError, RequestStatus } from '@open-tender/types';
|
|
2
2
|
import { AppState } from '../app';
|
|
3
3
|
export interface CustomerState {
|
|
4
4
|
account: Customer | null;
|
|
@@ -29,7 +29,7 @@ export declare const fetchCustomer: import("@reduxjs/toolkit").AsyncThunk<Custom
|
|
|
29
29
|
}>;
|
|
30
30
|
export declare const resetCustomer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"customer/resetCustomer">;
|
|
31
31
|
export declare const selectCustomer: (state: AppState) => CustomerState;
|
|
32
|
-
export declare const selectCustomerAccount: (state: AppState) =>
|
|
32
|
+
export declare const selectCustomerAccount: (state: AppState) => Customer | null;
|
|
33
33
|
export declare const selectCustomerDeals: (state: AppState) => Discounts;
|
|
34
34
|
export declare const selectCustomerFavorites: (state: AppState) => Favorites;
|
|
35
35
|
export declare const selectCustomerGiftCards: (state: AppState) => GiftCards;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomerIdentify, RequestError, RequestStatus } from '@open-tender/types';
|
|
1
|
+
import { CustomerIdentifier, CustomerIdentify, RequestError, RequestStatus } from '@open-tender/types';
|
|
2
2
|
import { AppState } from '../app';
|
|
3
3
|
export interface CustomerIdentifyState {
|
|
4
4
|
data: CustomerIdentify | null;
|
|
@@ -20,5 +20,5 @@ export declare const fetchCustomerIdentify: import("@reduxjs/toolkit").AsyncThun
|
|
|
20
20
|
}>;
|
|
21
21
|
export declare const resetCustomerIdentify: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"customerIdentify/resetCustomerIdentify">;
|
|
22
22
|
export declare const selectCustomerIdentify: (state: AppState) => CustomerIdentifyState;
|
|
23
|
-
export declare const selectCustomerIdentified: (state: AppState) =>
|
|
23
|
+
export declare const selectCustomerIdentified: (state: AppState) => CustomerIdentify | null;
|
|
24
24
|
export declare const customerIdentifyReducer: import("redux").Reducer<CustomerIdentifyState>;
|