meemup-library 1.4.38 → 1.4.40
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/interfaces/management/IManagementOnlineStoreBlock.d.ts +1 -0
- package/dist/interfaces/management/IManagementOnlineStoreBlock.js +2 -1
- package/dist/interfaces/pos/IPointOfSaleLocalSetting.js +2 -2
- package/dist/interfaces/pos/IPointOfSaleOrderTransaction.d.ts +2 -0
- package/dist/interfaces/pos/IPointOfSaleStore.d.ts +1 -0
- package/package.json +2 -2
|
@@ -12,7 +12,7 @@ import { initPointOfSaleSettingTemplateReceipt } from "./IPointOfSaleSettingTemp
|
|
|
12
12
|
export const initPointOfSaleLocalSetting = {
|
|
13
13
|
defaultTerminal: INIT_TERMINAL,
|
|
14
14
|
deskCount: 10,
|
|
15
|
-
newOrderWarning: EnumNewOrderWarning.
|
|
15
|
+
newOrderWarning: EnumNewOrderWarning.REPEAT_ALARM,
|
|
16
16
|
startingOrderNumberFrom: 1000,
|
|
17
17
|
isMaster: true,
|
|
18
18
|
udpPort: 8000,
|
|
@@ -24,7 +24,7 @@ export const initPointOfSaleLocalSetting = {
|
|
|
24
24
|
broadcastIpAddress: "127.0.0.255",
|
|
25
25
|
timeoutAfterOnePeriodOfSyncLocalOrders: 300,
|
|
26
26
|
timeoutAfterFailSyncOneLocalOrder: 15,
|
|
27
|
-
actionForOnlineStoreNewOrder: EnumNotifyOnlineStoreNewOrder.
|
|
27
|
+
actionForOnlineStoreNewOrder: EnumNotifyOnlineStoreNewOrder.NOTIFY_AND_OPEN_IF_POSSIBLE,
|
|
28
28
|
defaultCashPaymentState: EnumPaymentState.NotPaid,
|
|
29
29
|
defaultDebitMachinePaymentState: EnumPaymentState.NotPaid,
|
|
30
30
|
defaultTerminalPaymentState: EnumPaymentState.NotPaid,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import EnumPaymentType from "../../enums/EnumPaymentType";
|
|
2
|
+
import ITextValue from "../ITextValue";
|
|
2
3
|
export default interface IPointOfSaleOrderTransaction {
|
|
3
4
|
id: number;
|
|
4
5
|
dateTime: string;
|
|
@@ -15,4 +16,5 @@ export default interface IPointOfSaleOrderTransaction {
|
|
|
15
16
|
oldId?: number;
|
|
16
17
|
refundAmount?: number;
|
|
17
18
|
lastFourDigits: string;
|
|
19
|
+
paymentMetadata: ITextValue[];
|
|
18
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.40",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"remove:one": "rimraf dist",
|
|
12
12
|
"remove:two": "rimraf ./src/dist",
|
|
13
13
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"commit": "git add . && git commit -m \"version.1.4.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.4.40 \" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|