@open-tender/cloud 0.1.74 → 0.1.76

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.
@@ -22,7 +22,7 @@ export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<i
22
22
  loyalty: import("..").CustomerLoyaltyState;
23
23
  order: import("..").CustomerOrderState;
24
24
  orders: import("..").CustomerOrdersState;
25
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
25
+ pointsShop: import("..").PointsShopState;
26
26
  qrcode: import("..").CustomerQRCodeState;
27
27
  rewards: import("..").CustomerRewardsState;
28
28
  thanx: import("..").CustomerThanxState;
@@ -21,7 +21,7 @@ export declare const appReducer: import("redux").Reducer<import("redux").Combine
21
21
  loyalty: import("../slices").CustomerLoyaltyState;
22
22
  order: import("../slices").CustomerOrderState;
23
23
  orders: import("../slices").CustomerOrdersState;
24
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
24
+ pointsShop: import("../slices").PointsShopState;
25
25
  qrcode: import("../slices").CustomerQRCodeState;
26
26
  rewards: import("../slices").CustomerRewardsState;
27
27
  thanx: import("../slices").CustomerThanxState;
@@ -80,7 +80,7 @@ declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore
80
80
  loyalty: import("../slices").CustomerLoyaltyState;
81
81
  order: import("../slices").CustomerOrderState;
82
82
  orders: import("../slices").CustomerOrdersState;
83
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
83
+ pointsShop: import("../slices").PointsShopState;
84
84
  qrcode: import("../slices").CustomerQRCodeState;
85
85
  rewards: import("../slices").CustomerRewardsState;
86
86
  thanx: import("../slices").CustomerThanxState;
@@ -137,7 +137,7 @@ declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore
137
137
  loyalty: import("../slices").CustomerLoyaltyState;
138
138
  order: import("../slices").CustomerOrderState;
139
139
  orders: import("../slices").CustomerOrdersState;
140
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
140
+ pointsShop: import("../slices").PointsShopState;
141
141
  qrcode: import("../slices").CustomerQRCodeState;
142
142
  rewards: import("../slices").CustomerRewardsState;
143
143
  thanx: import("../slices").CustomerThanxState;
@@ -49,7 +49,7 @@ export declare const selectSelectedAllergenNames: ((state: import("redux").Empty
49
49
  loyalty: import("./customer").CustomerLoyaltyState;
50
50
  order: import("./customer").CustomerOrderState;
51
51
  orders: import("./customer").CustomerOrdersState;
52
- pointsShop: import("./customer/pointsShop").PointsShopState;
52
+ pointsShop: import("./customer").PointsShopState;
53
53
  qrcode: import("./customer").CustomerQRCodeState;
54
54
  rewards: import("./customer").CustomerRewardsState;
55
55
  thanx: import("./customer").CustomerThanxState;
@@ -105,7 +105,7 @@ export declare const selectOptIns: ((state: import("redux").EmptyObject & {
105
105
  loyalty: import("./customer").CustomerLoyaltyState;
106
106
  order: import("./customer").CustomerOrderState;
107
107
  orders: import("./customer").CustomerOrdersState;
108
- pointsShop: import("./customer/pointsShop").PointsShopState;
108
+ pointsShop: import("./customer").PointsShopState;
109
109
  qrcode: import("./customer").CustomerQRCodeState;
110
110
  rewards: import("./customer").CustomerRewardsState;
111
111
  thanx: import("./customer").CustomerThanxState;
@@ -31,6 +31,7 @@ export * from './houseAccounts';
31
31
  export * from './loyalty';
32
32
  export * from './order';
33
33
  export * from './orders';
34
+ export * from './pointsShop';
34
35
  export * from './qrCode';
35
36
  export * from './rewards';
36
37
  export * from './thanx';
@@ -55,6 +55,7 @@ tslib_1.__exportStar(require("./houseAccounts"), exports);
55
55
  tslib_1.__exportStar(require("./loyalty"), exports);
56
56
  tslib_1.__exportStar(require("./order"), exports);
57
57
  tslib_1.__exportStar(require("./orders"), exports);
58
+ tslib_1.__exportStar(require("./pointsShop"), exports);
58
59
  tslib_1.__exportStar(require("./qrCode"), exports);
59
60
  tslib_1.__exportStar(require("./rewards"), exports);
60
61
  tslib_1.__exportStar(require("./thanx"), exports);
@@ -28,7 +28,70 @@ export declare const selectCustomerLoyaltyProgram: (state: AppState) => {
28
28
  loading: RequestStatus;
29
29
  error: RequestError;
30
30
  };
31
- export declare const selectCustomerPointsProgram: (orderType: OrderType | null) => (state: AppState) => import("@open-tender/types").CustomerLoyalty | null;
31
+ export declare const selectCustomerPointsProgram: (orderType: OrderType | null) => ((state: import("redux").EmptyObject & {
32
+ alerts: import("@open-tender/types").Alerts;
33
+ allergens: import("..").AllergensState;
34
+ announcements: import("..").AnnouncementsState;
35
+ checkout: import("..").CheckoutState;
36
+ completedOrders: import("..").CompletedOrdersState;
37
+ config: import("..").ConfigState;
38
+ confirmation: import("..").ConfirmationState;
39
+ customer: import("redux").CombinedState<{
40
+ account: import("./account").AccountState;
41
+ communicationPreferences: import("./communicationPreferences").CustomerCommunicationPrefsState;
42
+ creditCards: import("./creditCards").CustomerCreditCardsState;
43
+ allergens: import("./allergens").CustomerAllergensState;
44
+ addresses: import("./addresses").CustomerAddressesState;
45
+ favorites: import("./favorites").CustomerFavoritesState;
46
+ fcmToken: import("./fcmToken").CustomerFcmTokenState;
47
+ giftCards: import("./giftCards").CustomerGiftCardsState;
48
+ groupOrders: import("./groupOrders").CustomerGroupOrdersState;
49
+ houseAccounts: import("./houseAccounts").CustomerHouseAccountsState;
50
+ loyalty: CustomerLoyaltyState;
51
+ order: import("./order").CustomerOrderState;
52
+ orders: import("./orders").CustomerOrdersState;
53
+ pointsShop: import("./pointsShop").PointsShopState;
54
+ qrcode: import("./qrCode").CustomerQRCodeState;
55
+ rewards: import("./rewards").CustomerRewardsState;
56
+ thanx: import("./thanx").CustomerThanxState;
57
+ tpls: import("./tpls").CustomerTplsState;
58
+ }>;
59
+ deals: import("..").DealsState;
60
+ donations: import("..").DonationState;
61
+ geolocation: import("..").GeoLocationState;
62
+ giftCards: import("..").GiftCardsState;
63
+ groupOrder: import("..").GroupOrderState;
64
+ guest: import("..").GuestState;
65
+ loader: import("..").LoaderState;
66
+ menu: import("..").MenuState;
67
+ menuDisplay: import("..").MenuDisplayState;
68
+ menuItems: import("..").MenuItemsState;
69
+ modal: import("@open-tender/types").Modal;
70
+ misc: import("..").MiscState;
71
+ nav: import("..").NavState;
72
+ navSite: import("..").NavSiteState;
73
+ notifications: import("@open-tender/types").Notifications;
74
+ oneTimePasscode: import("..").OneTimePasscodeState;
75
+ order: import("..").OrderState;
76
+ orderFulfillment: import("..").OrderFulfillmentState;
77
+ orderRating: import("..").OrderRatingState;
78
+ posts: import("..").PostsSlice;
79
+ qr: import("..").QrState;
80
+ resetPassword: import("..").ResetPasswordState;
81
+ revenueCenters: import("..").RevenueCentersState;
82
+ sidebar: import("..").SidebarState;
83
+ sidebarModal: import("..").SidebarModalState;
84
+ signUp: import("..").SignUpState;
85
+ tags: import("..").TagsState;
86
+ validTimes: import("..").ValidTimesState;
87
+ verifyAccount: import("..").VerifyAccountState;
88
+ }) => import("@open-tender/types").CustomerLoyalty | null) & import("reselect").OutputSelectorFields<(args_0: {
89
+ loyalty: CustomerLoyaltyState;
90
+ }) => import("@open-tender/types").CustomerLoyalty | null, {
91
+ clearCache: () => void;
92
+ }> & {
93
+ clearCache: () => void;
94
+ };
32
95
  export declare const selectCustomerPoints: (orderType: OrderType | null) => (state: AppState) => import("@open-tender/types").LoyaltyPoints | null;
33
96
  export declare const selectPointsProgram: (state: AppState) => import("@open-tender/types").CustomerLoyalty | null;
34
97
  export declare const customerLoyaltyReducer: import("redux").Reducer<CustomerLoyaltyState, import("redux").AnyAction>;
@@ -72,12 +72,16 @@ const selectCustomerLoyaltyProgram = (state) => {
72
72
  return { program, loading, error };
73
73
  };
74
74
  exports.selectCustomerLoyaltyProgram = selectCustomerLoyaltyProgram;
75
- const selectCustomerPointsProgram = (orderType) => (state) => {
75
+ const selectCustomerPointsProgram = (orderType) => (0, toolkit_1.createSelector)((state) => {
76
76
  const { loyalty } = state.customer;
77
+ return { loyalty };
78
+ }, ({ loyalty }) => {
79
+ if (!loyalty)
80
+ return null;
77
81
  const programs = loyalty.entities.filter(i => i.loyalty_type === 'POINTS' &&
78
82
  (i.spend.order_type === null || i.spend.order_type === orderType));
79
83
  return programs.length ? programs[0] : null;
80
- };
84
+ });
81
85
  exports.selectCustomerPointsProgram = selectCustomerPointsProgram;
82
86
  const selectCustomerPoints = (orderType) => (state) => {
83
87
  const program = (0, exports.selectCustomerPointsProgram)(orderType)(state);
@@ -150,7 +150,7 @@ export declare const selectOrderLimits: ((state: import("redux").EmptyObject & {
150
150
  loyalty: import("./customer").CustomerLoyaltyState;
151
151
  order: import("./customer").CustomerOrderState;
152
152
  orders: import("./customer").CustomerOrdersState;
153
- pointsShop: import("./customer/pointsShop").PointsShopState;
153
+ pointsShop: import("./customer").PointsShopState;
154
154
  qrcode: import("./customer").CustomerQRCodeState;
155
155
  rewards: import("./customer").CustomerRewardsState;
156
156
  thanx: import("./customer").CustomerThanxState;
@@ -223,7 +223,7 @@ export declare const selectCartIds: ((state: import("redux").EmptyObject & {
223
223
  loyalty: import("./customer").CustomerLoyaltyState;
224
224
  order: import("./customer").CustomerOrderState;
225
225
  orders: import("./customer").CustomerOrdersState;
226
- pointsShop: import("./customer/pointsShop").PointsShopState;
226
+ pointsShop: import("./customer").PointsShopState;
227
227
  qrcode: import("./customer").CustomerQRCodeState;
228
228
  rewards: import("./customer").CustomerRewardsState;
229
229
  thanx: import("./customer").CustomerThanxState;
@@ -291,7 +291,7 @@ export declare const selectMenuVars: ((state: import("redux").EmptyObject & {
291
291
  loyalty: import("./customer").CustomerLoyaltyState;
292
292
  order: import("./customer").CustomerOrderState;
293
293
  orders: import("./customer").CustomerOrdersState;
294
- pointsShop: import("./customer/pointsShop").PointsShopState;
294
+ pointsShop: import("./customer").PointsShopState;
295
295
  qrcode: import("./customer").CustomerQRCodeState;
296
296
  rewards: import("./customer").CustomerRewardsState;
297
297
  thanx: import("./customer").CustomerThanxState;
@@ -49,7 +49,7 @@ export declare const selectSelectedTagNames: ((state: import("redux").EmptyObjec
49
49
  loyalty: import("./customer").CustomerLoyaltyState;
50
50
  order: import("./customer").CustomerOrderState;
51
51
  orders: import("./customer").CustomerOrdersState;
52
- pointsShop: import("./customer/pointsShop").PointsShopState;
52
+ pointsShop: import("./customer").PointsShopState;
53
53
  qrcode: import("./customer").CustomerQRCodeState;
54
54
  rewards: import("./customer").CustomerRewardsState;
55
55
  thanx: import("./customer").CustomerThanxState;
@@ -22,7 +22,7 @@ export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<i
22
22
  loyalty: import("..").CustomerLoyaltyState;
23
23
  order: import("..").CustomerOrderState;
24
24
  orders: import("..").CustomerOrdersState;
25
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
25
+ pointsShop: import("..").PointsShopState;
26
26
  qrcode: import("..").CustomerQRCodeState;
27
27
  rewards: import("..").CustomerRewardsState;
28
28
  thanx: import("..").CustomerThanxState;
@@ -21,7 +21,7 @@ export declare const appReducer: import("redux").Reducer<import("redux").Combine
21
21
  loyalty: import("../slices").CustomerLoyaltyState;
22
22
  order: import("../slices").CustomerOrderState;
23
23
  orders: import("../slices").CustomerOrdersState;
24
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
24
+ pointsShop: import("../slices").PointsShopState;
25
25
  qrcode: import("../slices").CustomerQRCodeState;
26
26
  rewards: import("../slices").CustomerRewardsState;
27
27
  thanx: import("../slices").CustomerThanxState;
@@ -80,7 +80,7 @@ declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore
80
80
  loyalty: import("../slices").CustomerLoyaltyState;
81
81
  order: import("../slices").CustomerOrderState;
82
82
  orders: import("../slices").CustomerOrdersState;
83
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
83
+ pointsShop: import("../slices").PointsShopState;
84
84
  qrcode: import("../slices").CustomerQRCodeState;
85
85
  rewards: import("../slices").CustomerRewardsState;
86
86
  thanx: import("../slices").CustomerThanxState;
@@ -137,7 +137,7 @@ declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore
137
137
  loyalty: import("../slices").CustomerLoyaltyState;
138
138
  order: import("../slices").CustomerOrderState;
139
139
  orders: import("../slices").CustomerOrdersState;
140
- pointsShop: import("../slices/customer/pointsShop").PointsShopState;
140
+ pointsShop: import("../slices").PointsShopState;
141
141
  qrcode: import("../slices").CustomerQRCodeState;
142
142
  rewards: import("../slices").CustomerRewardsState;
143
143
  thanx: import("../slices").CustomerThanxState;
@@ -49,7 +49,7 @@ export declare const selectSelectedAllergenNames: ((state: import("redux").Empty
49
49
  loyalty: import("./customer").CustomerLoyaltyState;
50
50
  order: import("./customer").CustomerOrderState;
51
51
  orders: import("./customer").CustomerOrdersState;
52
- pointsShop: import("./customer/pointsShop").PointsShopState;
52
+ pointsShop: import("./customer").PointsShopState;
53
53
  qrcode: import("./customer").CustomerQRCodeState;
54
54
  rewards: import("./customer").CustomerRewardsState;
55
55
  thanx: import("./customer").CustomerThanxState;
@@ -105,7 +105,7 @@ export declare const selectOptIns: ((state: import("redux").EmptyObject & {
105
105
  loyalty: import("./customer").CustomerLoyaltyState;
106
106
  order: import("./customer").CustomerOrderState;
107
107
  orders: import("./customer").CustomerOrdersState;
108
- pointsShop: import("./customer/pointsShop").PointsShopState;
108
+ pointsShop: import("./customer").PointsShopState;
109
109
  qrcode: import("./customer").CustomerQRCodeState;
110
110
  rewards: import("./customer").CustomerRewardsState;
111
111
  thanx: import("./customer").CustomerThanxState;
@@ -31,6 +31,7 @@ export * from './houseAccounts';
31
31
  export * from './loyalty';
32
32
  export * from './order';
33
33
  export * from './orders';
34
+ export * from './pointsShop';
34
35
  export * from './qrCode';
35
36
  export * from './rewards';
36
37
  export * from './thanx';
@@ -51,6 +51,7 @@ export * from './houseAccounts';
51
51
  export * from './loyalty';
52
52
  export * from './order';
53
53
  export * from './orders';
54
+ export * from './pointsShop';
54
55
  export * from './qrCode';
55
56
  export * from './rewards';
56
57
  export * from './thanx';
@@ -28,7 +28,70 @@ export declare const selectCustomerLoyaltyProgram: (state: AppState) => {
28
28
  loading: RequestStatus;
29
29
  error: RequestError;
30
30
  };
31
- export declare const selectCustomerPointsProgram: (orderType: OrderType | null) => (state: AppState) => import("@open-tender/types").CustomerLoyalty | null;
31
+ export declare const selectCustomerPointsProgram: (orderType: OrderType | null) => ((state: import("redux").EmptyObject & {
32
+ alerts: import("@open-tender/types").Alerts;
33
+ allergens: import("..").AllergensState;
34
+ announcements: import("..").AnnouncementsState;
35
+ checkout: import("..").CheckoutState;
36
+ completedOrders: import("..").CompletedOrdersState;
37
+ config: import("..").ConfigState;
38
+ confirmation: import("..").ConfirmationState;
39
+ customer: import("redux").CombinedState<{
40
+ account: import("./account").AccountState;
41
+ communicationPreferences: import("./communicationPreferences").CustomerCommunicationPrefsState;
42
+ creditCards: import("./creditCards").CustomerCreditCardsState;
43
+ allergens: import("./allergens").CustomerAllergensState;
44
+ addresses: import("./addresses").CustomerAddressesState;
45
+ favorites: import("./favorites").CustomerFavoritesState;
46
+ fcmToken: import("./fcmToken").CustomerFcmTokenState;
47
+ giftCards: import("./giftCards").CustomerGiftCardsState;
48
+ groupOrders: import("./groupOrders").CustomerGroupOrdersState;
49
+ houseAccounts: import("./houseAccounts").CustomerHouseAccountsState;
50
+ loyalty: CustomerLoyaltyState;
51
+ order: import("./order").CustomerOrderState;
52
+ orders: import("./orders").CustomerOrdersState;
53
+ pointsShop: import("./pointsShop").PointsShopState;
54
+ qrcode: import("./qrCode").CustomerQRCodeState;
55
+ rewards: import("./rewards").CustomerRewardsState;
56
+ thanx: import("./thanx").CustomerThanxState;
57
+ tpls: import("./tpls").CustomerTplsState;
58
+ }>;
59
+ deals: import("..").DealsState;
60
+ donations: import("..").DonationState;
61
+ geolocation: import("..").GeoLocationState;
62
+ giftCards: import("..").GiftCardsState;
63
+ groupOrder: import("..").GroupOrderState;
64
+ guest: import("..").GuestState;
65
+ loader: import("..").LoaderState;
66
+ menu: import("..").MenuState;
67
+ menuDisplay: import("..").MenuDisplayState;
68
+ menuItems: import("..").MenuItemsState;
69
+ modal: import("@open-tender/types").Modal;
70
+ misc: import("..").MiscState;
71
+ nav: import("..").NavState;
72
+ navSite: import("..").NavSiteState;
73
+ notifications: import("@open-tender/types").Notifications;
74
+ oneTimePasscode: import("..").OneTimePasscodeState;
75
+ order: import("..").OrderState;
76
+ orderFulfillment: import("..").OrderFulfillmentState;
77
+ orderRating: import("..").OrderRatingState;
78
+ posts: import("..").PostsSlice;
79
+ qr: import("..").QrState;
80
+ resetPassword: import("..").ResetPasswordState;
81
+ revenueCenters: import("..").RevenueCentersState;
82
+ sidebar: import("..").SidebarState;
83
+ sidebarModal: import("..").SidebarModalState;
84
+ signUp: import("..").SignUpState;
85
+ tags: import("..").TagsState;
86
+ validTimes: import("..").ValidTimesState;
87
+ verifyAccount: import("..").VerifyAccountState;
88
+ }) => import("@open-tender/types").CustomerLoyalty | null) & import("reselect").OutputSelectorFields<(args_0: {
89
+ loyalty: CustomerLoyaltyState;
90
+ }) => import("@open-tender/types").CustomerLoyalty | null, {
91
+ clearCache: () => void;
92
+ }> & {
93
+ clearCache: () => void;
94
+ };
32
95
  export declare const selectCustomerPoints: (orderType: OrderType | null) => (state: AppState) => import("@open-tender/types").LoyaltyPoints | null;
33
96
  export declare const selectPointsProgram: (state: AppState) => import("@open-tender/types").CustomerLoyalty | null;
34
97
  export declare const customerLoyaltyReducer: import("redux").Reducer<CustomerLoyaltyState, import("redux").AnyAction>;
@@ -1,5 +1,5 @@
1
1
  import { __awaiter } from "tslib";
2
- import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
2
+ import { createAsyncThunk, createSelector, createSlice } from '@reduxjs/toolkit';
3
3
  import { ReducerType } from '../types';
4
4
  import { MISSING_CUSTOMER } from '@open-tender/types';
5
5
  import { checkAuth, selectToken } from './account';
@@ -66,12 +66,16 @@ export const selectCustomerLoyaltyProgram = (state) => {
66
66
  const program = programs.length ? programs[0] : null;
67
67
  return { program, loading, error };
68
68
  };
69
- export const selectCustomerPointsProgram = (orderType) => (state) => {
69
+ export const selectCustomerPointsProgram = (orderType) => createSelector((state) => {
70
70
  const { loyalty } = state.customer;
71
+ return { loyalty };
72
+ }, ({ loyalty }) => {
73
+ if (!loyalty)
74
+ return null;
71
75
  const programs = loyalty.entities.filter(i => i.loyalty_type === 'POINTS' &&
72
76
  (i.spend.order_type === null || i.spend.order_type === orderType));
73
77
  return programs.length ? programs[0] : null;
74
- };
78
+ });
75
79
  export const selectCustomerPoints = (orderType) => (state) => {
76
80
  const program = selectCustomerPointsProgram(orderType)(state);
77
81
  return program ? program.points : null;
@@ -150,7 +150,7 @@ export declare const selectOrderLimits: ((state: import("redux").EmptyObject & {
150
150
  loyalty: import("./customer").CustomerLoyaltyState;
151
151
  order: import("./customer").CustomerOrderState;
152
152
  orders: import("./customer").CustomerOrdersState;
153
- pointsShop: import("./customer/pointsShop").PointsShopState;
153
+ pointsShop: import("./customer").PointsShopState;
154
154
  qrcode: import("./customer").CustomerQRCodeState;
155
155
  rewards: import("./customer").CustomerRewardsState;
156
156
  thanx: import("./customer").CustomerThanxState;
@@ -223,7 +223,7 @@ export declare const selectCartIds: ((state: import("redux").EmptyObject & {
223
223
  loyalty: import("./customer").CustomerLoyaltyState;
224
224
  order: import("./customer").CustomerOrderState;
225
225
  orders: import("./customer").CustomerOrdersState;
226
- pointsShop: import("./customer/pointsShop").PointsShopState;
226
+ pointsShop: import("./customer").PointsShopState;
227
227
  qrcode: import("./customer").CustomerQRCodeState;
228
228
  rewards: import("./customer").CustomerRewardsState;
229
229
  thanx: import("./customer").CustomerThanxState;
@@ -291,7 +291,7 @@ export declare const selectMenuVars: ((state: import("redux").EmptyObject & {
291
291
  loyalty: import("./customer").CustomerLoyaltyState;
292
292
  order: import("./customer").CustomerOrderState;
293
293
  orders: import("./customer").CustomerOrdersState;
294
- pointsShop: import("./customer/pointsShop").PointsShopState;
294
+ pointsShop: import("./customer").PointsShopState;
295
295
  qrcode: import("./customer").CustomerQRCodeState;
296
296
  rewards: import("./customer").CustomerRewardsState;
297
297
  thanx: import("./customer").CustomerThanxState;
@@ -49,7 +49,7 @@ export declare const selectSelectedTagNames: ((state: import("redux").EmptyObjec
49
49
  loyalty: import("./customer").CustomerLoyaltyState;
50
50
  order: import("./customer").CustomerOrderState;
51
51
  orders: import("./customer").CustomerOrdersState;
52
- pointsShop: import("./customer/pointsShop").PointsShopState;
52
+ pointsShop: import("./customer").PointsShopState;
53
53
  qrcode: import("./customer").CustomerQRCodeState;
54
54
  rewards: import("./customer").CustomerRewardsState;
55
55
  thanx: import("./customer").CustomerThanxState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.1.74",
3
+ "version": "0.1.76",
4
4
  "description": "A library of hooks, reducers, utility functions, and 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",