@aptos-scp/scp-component-store-selling-features-domain-model 1.23.0 → 1.24.1
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.
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IStateModelDefinition } from "@aptos-scp/scp-component-store-selling-core";
|
|
2
|
+
import { IUiBusinessEventDefinition } from "@aptos-scp/scp-component-store-selling-core";
|
|
3
|
+
export declare const TERMINAL_STATE_UNKNOWN: string;
|
|
4
|
+
export declare const TERMINAL_STATE_UNKNOWN_IN_MERCHANDISE_TRANSACTION: string;
|
|
5
|
+
export declare const TERMINAL_STATE_UNKNOWN_IN_REPRINT_RECEIPT_TRANSACTION: string;
|
|
6
|
+
export declare const TERMINAL_STATE_UNKNOWN_IN_TENDER_CONTROL_TRANSACTION: string;
|
|
7
|
+
export declare const IN_USER_TRANSACTION: string;
|
|
8
|
+
export declare const LOGGED_OFF: string;
|
|
9
|
+
export declare const USER_SESSION_LOCKED: string;
|
|
10
|
+
export declare const TERMINAL_CLOSED: string;
|
|
11
|
+
export declare const NOT_IN_TRANSACTION: string;
|
|
12
|
+
export declare const IN_MERCHANDISE_TRANSACTION: string;
|
|
13
|
+
export declare const IN_MERCHANDISE_TRANSACTION_WAITING: string;
|
|
14
|
+
export declare const IN_MERCHANDISE_TRANSACTION_WAITING_TO_CLOSE: string;
|
|
15
|
+
export declare const IN_REPRINT_RECEIPT_TRANSACTION: string;
|
|
16
|
+
export declare const IN_TENDER_CONTROL_TRANSACTION: string;
|
|
17
|
+
export declare const IN_TENDER_CONTROL_TRANSACTION_WAITING_TO_CLOSE: string;
|
|
18
|
+
export declare const IN_TENDER_CONTROL_TRANSACTION_WAITING: string;
|
|
19
|
+
export declare const IN_MERCHANDISE_TRANSACTION_READY_TO_CLOSE: string;
|
|
20
|
+
export declare const IN_TILL_CONTROL_TRANSACTION: string;
|
|
21
|
+
export declare const IN_TILL_CONTROL_TRANSACTION_WAITING: string;
|
|
22
|
+
export declare const IN_TILL_CONTROL_TRANSACTION_WAITING_TO_CLOSE: string;
|
|
23
|
+
export declare const IN_TERMINAL_CONTROL_TRANSACTION: string;
|
|
24
|
+
export declare const IN_TERMINAL_CONTROL_TRANSACTION_WAITING_TO_CLOSE: string;
|
|
25
|
+
export declare const IN_NO_SALE_TRANSACTION: string;
|
|
26
|
+
export declare const IN_NO_SALE_TRANSACTION_WAITING: string;
|
|
27
|
+
export declare const IN_NO_SALE_TRANSACTION_WAITING_TO_CLOSE: string;
|
|
28
|
+
export declare const IN_FISCAL_CONTROL_TRANSACTION: string;
|
|
29
|
+
export declare const IN_FISCAL_CONTROL_TRANSACTION_WAITING_TO_CLOSE: string;
|
|
30
|
+
export declare const IN_TAX_REFUND_CONTROL_TRANSACTION: string;
|
|
31
|
+
export declare const IN_TAX_REFUND_CONTROL_TRANSACTION_WAITING_TO_CLOSE: string;
|
|
32
|
+
export declare const IN_CUSTOMER_SERVICE_TRANSACTION: string;
|
|
33
|
+
export declare const IN_CUSTOMER_SERVICE_TRANSACTION_WAITING: string;
|
|
34
|
+
export declare const getCoreStateModel: () => IStateModelDefinition;
|
|
35
|
+
export declare const addUIBusinessEvents: (stateModel: IStateModelDefinition, uiBusinessEvents: IUiBusinessEventDefinition[], logicalState?: string) => IStateModelDefinition;
|
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const _ = require("lodash");
|
|
4
|
+
const scp_component_logging_1 = require("@aptos-scp/scp-component-logging");
|
|
5
|
+
const scp_component_store_selling_core_1 = require("@aptos-scp/scp-component-store-selling-core");
|
|
6
|
+
const domain_1 = require("../domain");
|
|
7
|
+
const logger = scp_component_logging_1.LogManager.getLogger("com.aptos.storesellingfeatures.config.CoreStateModel");
|
|
8
|
+
// Logical States
|
|
9
|
+
exports.TERMINAL_STATE_UNKNOWN = "TerminalStateUnknown";
|
|
10
|
+
exports.TERMINAL_STATE_UNKNOWN_IN_MERCHANDISE_TRANSACTION = "TerminalStateUnknownInMerchandiseTransaction";
|
|
11
|
+
exports.TERMINAL_STATE_UNKNOWN_IN_REPRINT_RECEIPT_TRANSACTION = "TerminalStateUnknownInReprintReceiptTransaction";
|
|
12
|
+
exports.TERMINAL_STATE_UNKNOWN_IN_TENDER_CONTROL_TRANSACTION = "TerminalStateUnknownInTenderControlTransaction";
|
|
13
|
+
exports.IN_USER_TRANSACTION = "InUserTransaction";
|
|
14
|
+
exports.LOGGED_OFF = "LoggedOff";
|
|
15
|
+
exports.USER_SESSION_LOCKED = "UserSessionLocked";
|
|
16
|
+
exports.TERMINAL_CLOSED = "TerminalClosed";
|
|
17
|
+
exports.NOT_IN_TRANSACTION = "NotInTransaction";
|
|
18
|
+
exports.IN_MERCHANDISE_TRANSACTION = "InMerchandiseTransaction";
|
|
19
|
+
exports.IN_MERCHANDISE_TRANSACTION_WAITING = "InMerchandiseTransactionWaiting";
|
|
20
|
+
exports.IN_MERCHANDISE_TRANSACTION_WAITING_TO_CLOSE = "InMerchandiseTransactionWaitingToClose";
|
|
21
|
+
exports.IN_REPRINT_RECEIPT_TRANSACTION = "InReprintReceiptTransaction";
|
|
22
|
+
exports.IN_TENDER_CONTROL_TRANSACTION = "InTenderControlTransaction";
|
|
23
|
+
exports.IN_TENDER_CONTROL_TRANSACTION_WAITING_TO_CLOSE = "InTenderControlTransactionWaitingToClose";
|
|
24
|
+
exports.IN_TENDER_CONTROL_TRANSACTION_WAITING = "InTenderControlTransactionWaiting";
|
|
25
|
+
exports.IN_MERCHANDISE_TRANSACTION_READY_TO_CLOSE = "InMerchandiseTransactionReadyToClose";
|
|
26
|
+
exports.IN_TILL_CONTROL_TRANSACTION = "InTillControlTransaction";
|
|
27
|
+
exports.IN_TILL_CONTROL_TRANSACTION_WAITING = "InTillControlTransactionWaiting";
|
|
28
|
+
exports.IN_TILL_CONTROL_TRANSACTION_WAITING_TO_CLOSE = "InTillControlTransactionWaitingToClose";
|
|
29
|
+
exports.IN_TERMINAL_CONTROL_TRANSACTION = "InTerminalControlTransaction";
|
|
30
|
+
exports.IN_TERMINAL_CONTROL_TRANSACTION_WAITING_TO_CLOSE = "InTerminalControlTransactionWaitingToClose";
|
|
31
|
+
exports.IN_NO_SALE_TRANSACTION = "InNoSaleTransaction";
|
|
32
|
+
exports.IN_NO_SALE_TRANSACTION_WAITING = "InNoSaleTransactionWaiting";
|
|
33
|
+
exports.IN_NO_SALE_TRANSACTION_WAITING_TO_CLOSE = "InNoSaleTransactionWaitingToClose";
|
|
34
|
+
exports.IN_FISCAL_CONTROL_TRANSACTION = "InFiscalControlTransaction";
|
|
35
|
+
exports.IN_FISCAL_CONTROL_TRANSACTION_WAITING_TO_CLOSE = "InFiscalControlTransactionWaitingToClose";
|
|
36
|
+
exports.IN_TAX_REFUND_CONTROL_TRANSACTION = "InTaxRefundControlTransaction";
|
|
37
|
+
exports.IN_TAX_REFUND_CONTROL_TRANSACTION_WAITING_TO_CLOSE = "InTaxRefundControlTransactionWaitingToClose";
|
|
38
|
+
exports.IN_CUSTOMER_SERVICE_TRANSACTION = "InCustomerServiceTransaction";
|
|
39
|
+
exports.IN_CUSTOMER_SERVICE_TRANSACTION_WAITING = "InCustomerServiceTransactionWaiting";
|
|
40
|
+
// The CoreStateModel define here is just a skeleton and the UIBEs will be injected later by the each feature repository
|
|
41
|
+
// that holds all the actions/qualifiers, etc
|
|
42
|
+
const coreStateModel = {
|
|
43
|
+
description: "This is the state model for the MVP0 POS app.",
|
|
44
|
+
// The UI business events that are included in the statelessUiBusinessEvents property are allowed in every logical
|
|
45
|
+
// state. This event configuration will be used, if the event is not found under a logical state.
|
|
46
|
+
statelessUiBusinessEvents: [],
|
|
47
|
+
logicalStates: [
|
|
48
|
+
{
|
|
49
|
+
logicalName: exports.TERMINAL_STATE_UNKNOWN,
|
|
50
|
+
stateMatchers: [
|
|
51
|
+
{
|
|
52
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
53
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
54
|
+
fieldMatchers: [{ field: "stateIsKnown", value: false }],
|
|
55
|
+
},
|
|
56
|
+
{ matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction, transactionType: null },
|
|
57
|
+
],
|
|
58
|
+
uiBusinessEvents: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
/**
|
|
62
|
+
* Logical state created to prevent crash when upgrading app from version without open/close terminal feature to
|
|
63
|
+
* a version with that feature.
|
|
64
|
+
* Without TERMINAL_STATE_UNKNOWN_IN_MERCHANDISE_TRANSACTION logical state, app will crash if upgraded while in a
|
|
65
|
+
* Merchandise Transaction.
|
|
66
|
+
*/
|
|
67
|
+
logicalName: exports.TERMINAL_STATE_UNKNOWN_IN_MERCHANDISE_TRANSACTION,
|
|
68
|
+
stateMatchers: [
|
|
69
|
+
{
|
|
70
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
71
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
72
|
+
fieldMatchers: [{ field: "stateIsKnown", value: false }],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
76
|
+
transactionType: domain_1.MERCHANDISE_TRANSACTION_TYPE,
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
uiBusinessEvents: [],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
/**
|
|
83
|
+
* Logical state created to prevent crash when upgrading app from version without open/close terminal feature to
|
|
84
|
+
* a version with that feature.
|
|
85
|
+
* Without TERMINAL_STATE_UNKNOWN_IN_REPRINT_RECEIPT_TRANSACTION logical state, app will crash if upgraded while
|
|
86
|
+
* in a Reprint Receipt Transaction.
|
|
87
|
+
*/
|
|
88
|
+
logicalName: exports.TERMINAL_STATE_UNKNOWN_IN_REPRINT_RECEIPT_TRANSACTION,
|
|
89
|
+
stateMatchers: [
|
|
90
|
+
{
|
|
91
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
92
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
93
|
+
fieldMatchers: [{ field: "stateIsKnown", value: false }],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
97
|
+
transactionType: domain_1.REPRINT_RECEIPT_TRANSACTION_TYPE,
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
uiBusinessEvents: [],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
/**
|
|
104
|
+
* Logical state created to prevent crash when upgrading app from version without open/close terminal feature to
|
|
105
|
+
* a version with that feature.
|
|
106
|
+
* Without TERMINAL_STATE_UNKNOWN_IN_TENDER_CONTROL_TRANSACTION logical state, app will crash if upgraded while in
|
|
107
|
+
* a Tender Control Transaction.
|
|
108
|
+
*/
|
|
109
|
+
logicalName: exports.TERMINAL_STATE_UNKNOWN_IN_TENDER_CONTROL_TRANSACTION,
|
|
110
|
+
stateMatchers: [
|
|
111
|
+
{
|
|
112
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
113
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
114
|
+
fieldMatchers: [{ field: "stateIsKnown", value: false }],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
118
|
+
transactionType: domain_1.TENDER_CONTROL_TRANSACTION_TYPE,
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
uiBusinessEvents: [],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
logicalName: exports.LOGGED_OFF,
|
|
125
|
+
stateMatchers: [
|
|
126
|
+
{
|
|
127
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
128
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
129
|
+
fieldMatchers: [{ field: "loggedOff", value: true }],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
133
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
134
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
135
|
+
},
|
|
136
|
+
{ matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction, transactionType: null },
|
|
137
|
+
],
|
|
138
|
+
uiBusinessEvents: [],
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
logicalName: exports.USER_SESSION_LOCKED,
|
|
142
|
+
stateMatchers: [
|
|
143
|
+
{
|
|
144
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
145
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
146
|
+
fieldMatchers: [{ field: "locked", value: true }],
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
150
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
151
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
uiBusinessEvents: [],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
logicalName: exports.TERMINAL_CLOSED,
|
|
158
|
+
stateMatchers: [
|
|
159
|
+
{
|
|
160
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
161
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
162
|
+
fieldMatchers: [{ field: "isClosed", value: true }],
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
166
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
167
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
168
|
+
},
|
|
169
|
+
{ matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction, transactionType: null },
|
|
170
|
+
],
|
|
171
|
+
uiBusinessEvents: [],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
logicalName: exports.NOT_IN_TRANSACTION,
|
|
175
|
+
stateMatchers: [
|
|
176
|
+
{
|
|
177
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
178
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
179
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
180
|
+
},
|
|
181
|
+
{ matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction, transactionType: null },
|
|
182
|
+
{
|
|
183
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
184
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
185
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
uiBusinessEvents: [],
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
logicalName: exports.IN_MERCHANDISE_TRANSACTION_WAITING,
|
|
192
|
+
stateMatchers: [
|
|
193
|
+
{
|
|
194
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
195
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
196
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
200
|
+
transactionType: domain_1.MERCHANDISE_TRANSACTION_TYPE,
|
|
201
|
+
fieldMatchers: [{ field: "isWaiting", value: true }],
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
205
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
206
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
uiBusinessEvents: [],
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
logicalName: exports.IN_MERCHANDISE_TRANSACTION_WAITING_TO_CLOSE,
|
|
213
|
+
stateMatchers: [
|
|
214
|
+
{
|
|
215
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
216
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
217
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
221
|
+
transactionType: domain_1.MERCHANDISE_TRANSACTION_TYPE,
|
|
222
|
+
fieldMatchers: [{ field: "isWaitingToClose", value: true }],
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
226
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
227
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
228
|
+
},
|
|
229
|
+
],
|
|
230
|
+
uiBusinessEvents: [],
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
logicalName: exports.IN_MERCHANDISE_TRANSACTION,
|
|
234
|
+
stateMatchers: [
|
|
235
|
+
{
|
|
236
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
237
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
238
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
242
|
+
transactionType: domain_1.MERCHANDISE_TRANSACTION_TYPE,
|
|
243
|
+
fieldMatchers: [{ field: "isOpenOrResuming", value: true }],
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
247
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
248
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
uiBusinessEvents: [],
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
logicalName: exports.IN_REPRINT_RECEIPT_TRANSACTION,
|
|
255
|
+
stateMatchers: [
|
|
256
|
+
{
|
|
257
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
258
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
259
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
263
|
+
transactionType: domain_1.REPRINT_RECEIPT_TRANSACTION_TYPE,
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
267
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
268
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
uiBusinessEvents: [],
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
logicalName: exports.IN_TENDER_CONTROL_TRANSACTION,
|
|
275
|
+
stateMatchers: [
|
|
276
|
+
{
|
|
277
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
278
|
+
transactionType: domain_1.TENDER_CONTROL_TRANSACTION_TYPE,
|
|
279
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
283
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
284
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
uiBusinessEvents: [],
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
logicalName: exports.IN_TENDER_CONTROL_TRANSACTION_WAITING_TO_CLOSE,
|
|
291
|
+
stateMatchers: [
|
|
292
|
+
{
|
|
293
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
294
|
+
transactionType: domain_1.TENDER_CONTROL_TRANSACTION_TYPE,
|
|
295
|
+
fieldMatchers: [{ field: "isWaitingToClose", value: true }],
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
299
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
300
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
uiBusinessEvents: [],
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
logicalName: exports.IN_TENDER_CONTROL_TRANSACTION_WAITING,
|
|
307
|
+
stateMatchers: [
|
|
308
|
+
{
|
|
309
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
310
|
+
transactionType: domain_1.TENDER_CONTROL_TRANSACTION_TYPE,
|
|
311
|
+
fieldMatchers: [{ field: "isWaiting", value: true }],
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
315
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
316
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
uiBusinessEvents: [],
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
logicalName: exports.IN_TILL_CONTROL_TRANSACTION,
|
|
323
|
+
stateMatchers: [
|
|
324
|
+
{
|
|
325
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
326
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
327
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
331
|
+
transactionType: domain_1.TILL_CONTROL_TRANSACTION_TYPE,
|
|
332
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
336
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
337
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
uiBusinessEvents: [],
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
logicalName: exports.IN_TILL_CONTROL_TRANSACTION_WAITING,
|
|
344
|
+
stateMatchers: [
|
|
345
|
+
{
|
|
346
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
347
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
348
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
352
|
+
transactionType: domain_1.TILL_CONTROL_TRANSACTION_TYPE,
|
|
353
|
+
fieldMatchers: [{ field: "isWaiting", value: true }],
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
357
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
358
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
359
|
+
},
|
|
360
|
+
],
|
|
361
|
+
uiBusinessEvents: [],
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
logicalName: exports.IN_TILL_CONTROL_TRANSACTION_WAITING_TO_CLOSE,
|
|
365
|
+
stateMatchers: [
|
|
366
|
+
{
|
|
367
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
368
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
369
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
373
|
+
transactionType: domain_1.TILL_CONTROL_TRANSACTION_TYPE,
|
|
374
|
+
fieldMatchers: [{ field: "isWaitingToClose", value: true }],
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
378
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
379
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
uiBusinessEvents: [],
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
logicalName: exports.IN_FISCAL_CONTROL_TRANSACTION,
|
|
386
|
+
stateMatchers: [
|
|
387
|
+
{
|
|
388
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
389
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
390
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
394
|
+
transactionType: domain_1.FISCAL_CONTROL_TRANSACTION_TYPE,
|
|
395
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
399
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
400
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
uiBusinessEvents: [],
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
logicalName: exports.IN_NO_SALE_TRANSACTION,
|
|
407
|
+
stateMatchers: [
|
|
408
|
+
{
|
|
409
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
410
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
411
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
415
|
+
transactionType: domain_1.NO_SALE_TRANSACTION_TYPE,
|
|
416
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
420
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
421
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
uiBusinessEvents: [],
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
logicalName: exports.IN_NO_SALE_TRANSACTION_WAITING,
|
|
428
|
+
stateMatchers: [
|
|
429
|
+
{
|
|
430
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
431
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
432
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
436
|
+
transactionType: domain_1.NO_SALE_TRANSACTION_TYPE,
|
|
437
|
+
fieldMatchers: [{ field: "isWaiting", value: true }],
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
441
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
442
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
uiBusinessEvents: [],
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
logicalName: exports.IN_NO_SALE_TRANSACTION_WAITING_TO_CLOSE,
|
|
449
|
+
stateMatchers: [
|
|
450
|
+
{
|
|
451
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
452
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
453
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
457
|
+
transactionType: domain_1.NO_SALE_TRANSACTION_TYPE,
|
|
458
|
+
fieldMatchers: [{ field: "isWaitingToClose", value: true }],
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
462
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
463
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
uiBusinessEvents: [],
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
logicalName: exports.IN_FISCAL_CONTROL_TRANSACTION_WAITING_TO_CLOSE,
|
|
470
|
+
stateMatchers: [
|
|
471
|
+
{
|
|
472
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
473
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
474
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
478
|
+
transactionType: domain_1.FISCAL_CONTROL_TRANSACTION_TYPE,
|
|
479
|
+
fieldMatchers: [{ field: "isWaitingToClose", value: true }],
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
483
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
484
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
485
|
+
},
|
|
486
|
+
],
|
|
487
|
+
uiBusinessEvents: [],
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
logicalName: exports.IN_TAX_REFUND_CONTROL_TRANSACTION,
|
|
491
|
+
stateMatchers: [
|
|
492
|
+
{
|
|
493
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
494
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
495
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
499
|
+
transactionType: domain_1.TAX_REFUND_CONTROL_TRANSACTION_TYPE,
|
|
500
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
504
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
505
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
uiBusinessEvents: [],
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
logicalName: exports.IN_TAX_REFUND_CONTROL_TRANSACTION_WAITING_TO_CLOSE,
|
|
512
|
+
stateMatchers: [
|
|
513
|
+
{
|
|
514
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
515
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
516
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
520
|
+
transactionType: domain_1.TAX_REFUND_CONTROL_TRANSACTION_TYPE,
|
|
521
|
+
fieldMatchers: [{ field: "isWaitingToClose", value: true }],
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
525
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
526
|
+
fieldMatchers: [{ field: "stateIsKnown", value: true }],
|
|
527
|
+
},
|
|
528
|
+
],
|
|
529
|
+
uiBusinessEvents: [],
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
logicalName: exports.IN_CUSTOMER_SERVICE_TRANSACTION,
|
|
533
|
+
stateMatchers: [
|
|
534
|
+
{
|
|
535
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
536
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
537
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
541
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
542
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
546
|
+
transactionType: domain_1.CUSTOMER_TRANSACTION_TYPE,
|
|
547
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
548
|
+
},
|
|
549
|
+
],
|
|
550
|
+
uiBusinessEvents: [],
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
logicalName: exports.IN_CUSTOMER_SERVICE_TRANSACTION_WAITING,
|
|
554
|
+
stateMatchers: [
|
|
555
|
+
{
|
|
556
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
557
|
+
stateObjectType: domain_1.TERMINAL_SESSION,
|
|
558
|
+
fieldMatchers: [{ field: "isOpen", value: true }],
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.StateObject,
|
|
562
|
+
stateObjectType: domain_1.USER_SESSION,
|
|
563
|
+
fieldMatchers: [{ field: "loggedOn", value: true }],
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
matcherType: scp_component_store_selling_core_1.StateMatcherDefinitionType.Transaction,
|
|
567
|
+
transactionType: domain_1.CUSTOMER_TRANSACTION_TYPE,
|
|
568
|
+
fieldMatchers: [{ field: "isWaiting", value: true }],
|
|
569
|
+
},
|
|
570
|
+
],
|
|
571
|
+
uiBusinessEvents: [],
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
};
|
|
575
|
+
exports.getCoreStateModel = () => {
|
|
576
|
+
return coreStateModel;
|
|
577
|
+
};
|
|
578
|
+
exports.addUIBusinessEvents = (stateModel, uiBusinessEvents, logicalState) => {
|
|
579
|
+
if (logicalState) {
|
|
580
|
+
const logicalStateIndex = stateModel.logicalStates.findIndex((state) => state.logicalName === logicalState);
|
|
581
|
+
if (logicalStateIndex > -1) {
|
|
582
|
+
const newUIBusinessEvents = uiBusinessEvents.filter((event) => !stateModel.logicalStates[logicalStateIndex].uiBusinessEvents.find((e) => e.eventType === event.eventType));
|
|
583
|
+
if (newUIBusinessEvents.length > 0) {
|
|
584
|
+
const newCoreStateModel = _.cloneDeep(stateModel);
|
|
585
|
+
newCoreStateModel.logicalStates[logicalStateIndex].uiBusinessEvents = [
|
|
586
|
+
...newCoreStateModel.logicalStates[logicalStateIndex].uiBusinessEvents,
|
|
587
|
+
...newUIBusinessEvents,
|
|
588
|
+
];
|
|
589
|
+
const existingUIBusinessEvents = uiBusinessEvents.filter((event) => !newUIBusinessEvents.includes(event));
|
|
590
|
+
if (existingUIBusinessEvents.length > 0) {
|
|
591
|
+
logger.warn(`UIBusinessEvents for logial state "${logicalState}" were not added to the CoreStateModel because they were already present`, {
|
|
592
|
+
metaData: new Map([["uiBusinessEvents", existingUIBusinessEvents]]),
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
return newCoreStateModel;
|
|
596
|
+
}
|
|
597
|
+
else {
|
|
598
|
+
logger.warn(`UIBusinessEvents for logial state "${logicalState}" were not added to the CoreStateModel because they were already present`, {
|
|
599
|
+
metaData: new Map([["uiBusinessEvents", uiBusinessEvents]]),
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
else {
|
|
604
|
+
logger.warn(`UIBusinessEvents were not added to the CoreStateModel because logial state "${logicalState}" was not found`, {
|
|
605
|
+
metaData: new Map([["uiBusinessEvents", uiBusinessEvents]]),
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
else {
|
|
610
|
+
const newUIBusinessEvents = uiBusinessEvents.filter((event) => !stateModel.statelessUiBusinessEvents.find((e) => e.eventType === event.eventType));
|
|
611
|
+
if (newUIBusinessEvents.length > 0) {
|
|
612
|
+
const newCoreStateModel = _.cloneDeep(stateModel);
|
|
613
|
+
newCoreStateModel.statelessUiBusinessEvents = [
|
|
614
|
+
...newCoreStateModel.statelessUiBusinessEvents,
|
|
615
|
+
...newUIBusinessEvents,
|
|
616
|
+
];
|
|
617
|
+
const existingUIBusinessEvents = uiBusinessEvents.filter((event) => !newUIBusinessEvents.includes(event));
|
|
618
|
+
if (existingUIBusinessEvents.length > 0) {
|
|
619
|
+
logger.warn(`Stateless UIBusinessEvents were not added to the CoreStateModel because they were already present`, {
|
|
620
|
+
metaData: new Map([["uiBusinessEvents", existingUIBusinessEvents]]),
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
return newCoreStateModel;
|
|
624
|
+
}
|
|
625
|
+
else {
|
|
626
|
+
logger.warn(`Stateless UIBusinessEvents were not added to the CoreStateModel because they were already present`, {
|
|
627
|
+
metaData: new Map([["uiBusinessEvents", uiBusinessEvents]]),
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
return stateModel;
|
|
632
|
+
};
|
|
633
|
+
//# sourceMappingURL=CoreStateModel.js.map
|
package/lib/config/index.d.ts
CHANGED
package/lib/config/index.js
CHANGED
|
@@ -312,3 +312,4 @@ export declare const APPLY_ITEM_EXTENSIBILITY_FORM_DATA_EVENT: string;
|
|
|
312
312
|
export declare const APPLY_ITEM_SEND_SALE_EVENT: string;
|
|
313
313
|
export declare const UPDATE_LINE_DISPLAY_EVENT: string;
|
|
314
314
|
export declare const AUTO_LOG_ON_EVENT: string;
|
|
315
|
+
export declare const TRANSACTION_VOID_RECOVER_RECEIPT_EVENT: string;
|
|
@@ -319,4 +319,5 @@ exports.APPLY_ITEM_EXTENSIBILITY_FORM_DATA_EVENT = "ApplyItemExtensibilityFormDa
|
|
|
319
319
|
exports.APPLY_ITEM_SEND_SALE_EVENT = "ApplyItemSendSale";
|
|
320
320
|
exports.UPDATE_LINE_DISPLAY_EVENT = "UpdateLineDisplay";
|
|
321
321
|
exports.AUTO_LOG_ON_EVENT = "AutoLogOn";
|
|
322
|
+
exports.TRANSACTION_VOID_RECOVER_RECEIPT_EVENT = "TransactionVoidRecoverReceipt";
|
|
322
323
|
//# sourceMappingURL=UIBusinessEventTypes.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-scp/scp-component-store-selling-features-domain-model",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@aptos-scp/scp-component-business-core": "^1.12.7",
|
|
56
56
|
"@aptos-scp/scp-component-logging": "^2.1.16",
|
|
57
|
-
"@aptos-scp/scp-component-pricing": "^7.
|
|
57
|
+
"@aptos-scp/scp-component-pricing": "^7.56.3",
|
|
58
58
|
"@aptos-scp/scp-component-store-items": "^1.19.0",
|
|
59
59
|
"@aptos-scp/scp-component-store-selling-core": "^18.9.3",
|
|
60
60
|
"@aptos-scp/scp-component-taxation": "^5.27.3",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@aptos-scp/scp-component-business-core": "^1.12.7",
|
|
77
77
|
"@aptos-scp/scp-component-commit-configs": "^4.1.3",
|
|
78
78
|
"@aptos-scp/scp-component-logging": "^2.1.16",
|
|
79
|
-
"@aptos-scp/scp-component-pricing": "^7.
|
|
79
|
+
"@aptos-scp/scp-component-pricing": "^7.56.3",
|
|
80
80
|
"@aptos-scp/scp-component-rn-circuit-breaker": "^1.0.15",
|
|
81
81
|
"@aptos-scp/scp-component-store-items": "^1.19.0",
|
|
82
82
|
"@aptos-scp/scp-component-store-selling-core": "^18.9.3",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@aptos-scp/scp-types-inventory": "^2.0.0",
|
|
95
95
|
"@aptos-scp/scp-types-loyalty-memberships": "^2.3.0",
|
|
96
96
|
"@aptos-scp/scp-types-orders": "^4.11.0",
|
|
97
|
-
"@aptos-scp/scp-types-pricing": "^4.24.
|
|
97
|
+
"@aptos-scp/scp-types-pricing": "^4.24.1",
|
|
98
98
|
"@aptos-scp/scp-types-ss-transaction-history": "^1.6.0",
|
|
99
99
|
"@aptos-scp/scp-types-store-items": "^1.23.0",
|
|
100
100
|
"@aptos-scp/scp-types-terminal-settings": "^1.3.0",
|