meemup-library 1.0.96 → 1.0.98
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,98 @@
|
|
|
1
|
+
export default interface ITurnoverDetail {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
dateTime: string;
|
|
5
|
+
since: string;
|
|
6
|
+
until: string;
|
|
7
|
+
details: RootObjectDetails[];
|
|
8
|
+
categories: RootObjectCategories[];
|
|
9
|
+
channels: RootObjectChannels[];
|
|
10
|
+
deliveryZones: RootObjectDeliveryZones[];
|
|
11
|
+
drivers: RootObjectDriver[];
|
|
12
|
+
orderTypes: RootObjectOrderTypes[];
|
|
13
|
+
payments: RootObjectPayments[];
|
|
14
|
+
thirdPartySales: RootThirdPartySales[];
|
|
15
|
+
}
|
|
16
|
+
export declare const initTurnoverDetail: ITurnoverDetail;
|
|
17
|
+
export interface RootObjectDetails {
|
|
18
|
+
amount: number;
|
|
19
|
+
count: number;
|
|
20
|
+
title: string;
|
|
21
|
+
}
|
|
22
|
+
export interface RootObjectCategoriesChannels {
|
|
23
|
+
amount: number;
|
|
24
|
+
count: number;
|
|
25
|
+
title: string;
|
|
26
|
+
}
|
|
27
|
+
export interface RootObjectCategories {
|
|
28
|
+
id: number;
|
|
29
|
+
channels: RootObjectCategoriesChannels[];
|
|
30
|
+
amount: number;
|
|
31
|
+
count: number;
|
|
32
|
+
title: string;
|
|
33
|
+
}
|
|
34
|
+
export interface RootObjectChannelsOrderTypes {
|
|
35
|
+
tip: number;
|
|
36
|
+
type: number;
|
|
37
|
+
amount: number;
|
|
38
|
+
count: number;
|
|
39
|
+
title: string;
|
|
40
|
+
}
|
|
41
|
+
export interface RootObjectChannelsPaymentTypes {
|
|
42
|
+
tip: number;
|
|
43
|
+
type: number;
|
|
44
|
+
amount: number;
|
|
45
|
+
count: number;
|
|
46
|
+
title: string;
|
|
47
|
+
}
|
|
48
|
+
export interface RootObjectChannels {
|
|
49
|
+
id: number;
|
|
50
|
+
tip: number;
|
|
51
|
+
orderTypes: RootObjectChannelsOrderTypes[];
|
|
52
|
+
paymentTypes: RootObjectChannelsPaymentTypes[];
|
|
53
|
+
discount: number;
|
|
54
|
+
tax: number;
|
|
55
|
+
companyFee: number;
|
|
56
|
+
serviceFee: number;
|
|
57
|
+
amount: number;
|
|
58
|
+
count: number;
|
|
59
|
+
title: string;
|
|
60
|
+
}
|
|
61
|
+
export interface RootObjectDeliveryZones {
|
|
62
|
+
tip: number;
|
|
63
|
+
amount: number;
|
|
64
|
+
count: number;
|
|
65
|
+
deliveryCosts: number;
|
|
66
|
+
title: string;
|
|
67
|
+
}
|
|
68
|
+
export interface RootObjectDriver {
|
|
69
|
+
id: number;
|
|
70
|
+
tip: number;
|
|
71
|
+
deliveryCosts: number;
|
|
72
|
+
distance: number;
|
|
73
|
+
cashTip: number;
|
|
74
|
+
onlineTip: number;
|
|
75
|
+
terminalTip: number;
|
|
76
|
+
amount: number;
|
|
77
|
+
count: number;
|
|
78
|
+
title: string;
|
|
79
|
+
}
|
|
80
|
+
export interface RootObjectOrderTypes {
|
|
81
|
+
tip: number;
|
|
82
|
+
type: number;
|
|
83
|
+
amount: number;
|
|
84
|
+
count: number;
|
|
85
|
+
title: string;
|
|
86
|
+
}
|
|
87
|
+
export interface RootObjectPayments {
|
|
88
|
+
tip: number;
|
|
89
|
+
type: number;
|
|
90
|
+
amount: number;
|
|
91
|
+
count: number;
|
|
92
|
+
title: string;
|
|
93
|
+
}
|
|
94
|
+
export interface RootThirdPartySales {
|
|
95
|
+
title: string;
|
|
96
|
+
count: number;
|
|
97
|
+
amount: number;
|
|
98
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const initTurnoverDetail = {
|
|
2
|
+
title: "",
|
|
3
|
+
description: "",
|
|
4
|
+
dateTime: "",
|
|
5
|
+
since: "",
|
|
6
|
+
until: "",
|
|
7
|
+
details: [],
|
|
8
|
+
categories: [],
|
|
9
|
+
channels: [],
|
|
10
|
+
deliveryZones: [],
|
|
11
|
+
drivers: [],
|
|
12
|
+
orderTypes: [],
|
|
13
|
+
payments: [],
|
|
14
|
+
thirdPartySales: [],
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.98",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "yarn build:esm && yarn build:cjs",
|
|
8
|
+
"build": "yarn remove:one && yarn remove:two && yarn build:esm && yarn build:cjs",
|
|
9
9
|
"build:esm": "tsc",
|
|
10
10
|
"build:cjs": "tsc --module commonjs --outDir src/dist",
|
|
11
|
+
"remove:one": "rimraf dist",
|
|
12
|
+
"remove:two": "rimraf ./src/dist",
|
|
11
13
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
12
14
|
},
|
|
13
|
-
"files": [
|
|
15
|
+
"files": [
|
|
16
|
+
"/dist"
|
|
17
|
+
],
|
|
14
18
|
"keywords": [],
|
|
15
19
|
"author": "",
|
|
16
20
|
"license": "ISC",
|
|
17
21
|
"devDependencies": {
|
|
22
|
+
"rimraf": "^5.0.5",
|
|
18
23
|
"typescript": "^5.2.2"
|
|
19
24
|
},
|
|
20
25
|
"dependencies": {
|