meemup-library 1.5.90 → 1.5.92
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/pos/IPointOfSaleAccount.d.ts +4 -0
- package/dist/interfaces/pos/IPointOfSaleAccount.js +3 -1
- package/dist/interfaces/print/IOrderDetailThirdPartyDeliverySupport.d.ts +4 -0
- package/dist/interfaces/print/IOrderDetailThirdPartyDeliverySupport.js +1 -0
- package/dist/interfaces/print/IOrderDetails.d.ts +7 -5
- package/dist/interfaces/print/IOrderDetails.js +1 -0
- package/package.json +2 -2
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import EnumAccountRole from "../../enums/EnumAccountRole";
|
|
2
|
+
import EnumManagementOperationMode from "../../enums/EnumManagementOperationMode";
|
|
1
3
|
import IAccount from "../IAccount";
|
|
2
4
|
export default interface IPointOfSaleAccount extends IAccount {
|
|
3
5
|
deviceIdentifier: string;
|
|
4
6
|
clientAgent: string;
|
|
7
|
+
operationModel: EnumManagementOperationMode;
|
|
8
|
+
role: EnumAccountRole;
|
|
5
9
|
}
|
|
6
10
|
export declare const initPointOfSaleAccount: IPointOfSaleAccount;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
import EnumAccountRole from "../../enums/EnumAccountRole";
|
|
2
|
+
import EnumManagementOperationMode from "../../enums/EnumManagementOperationMode";
|
|
1
3
|
import { initAccount } from "../IAccount";
|
|
2
|
-
export const initPointOfSaleAccount = Object.assign(Object.assign({}, initAccount), { deviceIdentifier: "", clientAgent: "pos" });
|
|
4
|
+
export const initPointOfSaleAccount = Object.assign(Object.assign({}, initAccount), { deviceIdentifier: "", clientAgent: "pos", operationModel: EnumManagementOperationMode.Independent, role: EnumAccountRole.Member });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import IGeneralInformation from "../IGeneralInformation";
|
|
2
2
|
import ITextValue from "../ITextValue";
|
|
3
|
+
import IPointOfSaleOrderTransaction from "../pos/IPointOfSaleOrderTransaction";
|
|
4
|
+
import IModifiedDetails from "./IModifiedDetails";
|
|
3
5
|
import IOrderDetailCustomer from "./IOrderDetailCustomer";
|
|
4
|
-
import IOrderDetailProduct from "./IOrderDetailProduct";
|
|
5
|
-
import IOrderDetailOrder from "./IOrderDetailOrder";
|
|
6
6
|
import IOrderDetailDriver from "./IOrderDetailDriver";
|
|
7
|
+
import IOrderDetailOrder from "./IOrderDetailOrder";
|
|
7
8
|
import IOrderDetailPaymentInfo from "./IOrderDetailPaymentInfo";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
9
|
+
import IOrderDetailProduct from "./IOrderDetailProduct";
|
|
10
|
+
import IOrderDetailThirdPartyDeliverySupport from "./IOrderDetailThirdPartyDeliverySupport";
|
|
10
11
|
import IOrderDetailThirdPartyDriver from "./IOrderDetailThirdPartyDriver";
|
|
11
|
-
import IPointOfSaleOrderTransaction from "../pos/IPointOfSaleOrderTransaction";
|
|
12
12
|
import IOrderDetailThirdPartyTransportingInfo from "./IOrderDetailThirdPartyTransportingInfo";
|
|
13
|
+
import IOrderDetailTimeLine from "./IOrderDetailTimeLine";
|
|
13
14
|
interface IOrderDetails {
|
|
14
15
|
order: IOrderDetailOrder;
|
|
15
16
|
customer: IOrderDetailCustomer;
|
|
@@ -27,6 +28,7 @@ interface IOrderDetails {
|
|
|
27
28
|
thirdPartyDriver: IOrderDetailThirdPartyDriver | null;
|
|
28
29
|
thirdPartyTransportingInfo: IOrderDetailThirdPartyTransportingInfo | null;
|
|
29
30
|
paymentTransactions: IPointOfSaleOrderTransaction[];
|
|
31
|
+
thirdPartyDeliverySupports: IOrderDetailThirdPartyDeliverySupport[];
|
|
30
32
|
estimatedNetPayout: number;
|
|
31
33
|
deductionDetails: null | ITextValue[];
|
|
32
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.92",
|
|
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.5.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.5.92\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|