@etsoo/smarterp-core 1.1.65 → 1.1.66
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/__tests__/OrgApi.ts +9 -9
- package/lib/cjs/CoreApp.d.ts +16 -5
- package/lib/cjs/CoreApp.js +10 -1
- package/lib/cjs/OrgApi.d.ts +0 -9
- package/lib/cjs/OrgApi.js +0 -9
- package/lib/cjs/ReportApi.d.ts +62 -0
- package/lib/cjs/ReportApi.js +68 -0
- package/lib/cjs/dto/report/OrderDailyReportData.d.ts +26 -0
- package/lib/cjs/dto/report/OrderDailyReportQueryData.d.ts +56 -0
- package/lib/cjs/dto/report/OrderMonthlyReportData.d.ts +26 -0
- package/lib/cjs/dto/report/OrderMonthlyReportData.js +2 -0
- package/lib/cjs/dto/report/OrderMonthlyReportQueryData.d.ts +56 -0
- package/lib/cjs/dto/report/OrderMonthlyReportQueryData.js +2 -0
- package/lib/cjs/dto/report/PeriodReportData.d.ts +16 -0
- package/lib/cjs/dto/report/PeriodReportData.js +2 -0
- package/lib/cjs/dto/report/TitleReportData.d.ts +16 -0
- package/lib/cjs/dto/report/TitleReportData.js +2 -0
- package/lib/cjs/index.d.ts +11 -2
- package/lib/cjs/index.js +17 -2
- package/lib/cjs/rq/report/OrderDailyReportQueryRQ.d.ts +22 -0
- package/lib/cjs/rq/report/OrderDailyReportQueryRQ.js +2 -0
- package/lib/cjs/rq/report/OrderDailyReportRQ.d.ts +22 -0
- package/lib/cjs/rq/report/OrderDailyReportRQ.js +2 -0
- package/lib/cjs/rq/report/OrderMonthlyReportQueryRQ.d.ts +22 -0
- package/lib/cjs/rq/report/OrderMonthlyReportQueryRQ.js +2 -0
- package/lib/cjs/rq/report/OrderMonthlyReportRQ.d.ts +22 -0
- package/lib/cjs/rq/report/OrderMonthlyReportRQ.js +2 -0
- package/lib/cjs/rq/report/OrgUsageReportRQ.js +2 -0
- package/lib/mjs/CoreApp.d.ts +16 -5
- package/lib/mjs/CoreApp.js +10 -1
- package/lib/mjs/OrgApi.d.ts +0 -9
- package/lib/mjs/OrgApi.js +0 -9
- package/lib/mjs/ReportApi.d.ts +62 -0
- package/lib/mjs/ReportApi.js +64 -0
- package/lib/mjs/dto/report/OrderDailyReportData.d.ts +26 -0
- package/lib/mjs/dto/report/OrderDailyReportQueryData.d.ts +56 -0
- package/lib/mjs/dto/report/OrderMonthlyReportData.d.ts +26 -0
- package/lib/mjs/dto/report/OrderMonthlyReportData.js +1 -0
- package/lib/mjs/dto/report/OrderMonthlyReportQueryData.d.ts +56 -0
- package/lib/mjs/dto/report/OrderMonthlyReportQueryData.js +1 -0
- package/lib/mjs/dto/report/PeriodReportData.d.ts +16 -0
- package/lib/mjs/dto/report/PeriodReportData.js +1 -0
- package/lib/mjs/dto/report/TitleReportData.d.ts +16 -0
- package/lib/mjs/dto/report/TitleReportData.js +1 -0
- package/lib/mjs/index.d.ts +11 -2
- package/lib/mjs/index.js +17 -2
- package/lib/mjs/rq/report/OrderDailyReportQueryRQ.d.ts +22 -0
- package/lib/mjs/rq/report/OrderDailyReportQueryRQ.js +1 -0
- package/lib/mjs/rq/report/OrderDailyReportRQ.d.ts +22 -0
- package/lib/mjs/rq/report/OrderDailyReportRQ.js +1 -0
- package/lib/mjs/rq/report/OrderMonthlyReportQueryRQ.d.ts +22 -0
- package/lib/mjs/rq/report/OrderMonthlyReportQueryRQ.js +1 -0
- package/lib/mjs/rq/report/OrderMonthlyReportRQ.d.ts +22 -0
- package/lib/mjs/rq/report/OrderMonthlyReportRQ.js +1 -0
- package/lib/mjs/rq/report/OrgUsageReportRQ.js +1 -0
- package/package.json +1 -1
- package/src/CoreApp.ts +21 -6
- package/src/OrgApi.ts +0 -12
- package/src/ReportApi.ts +92 -0
- package/src/dto/report/OrderDailyReportData.ts +29 -0
- package/src/dto/report/OrderDailyReportQueryData.ts +65 -0
- package/src/dto/report/OrderMonthlyReportData.ts +29 -0
- package/src/dto/report/OrderMonthlyReportQueryData.ts +65 -0
- package/src/dto/report/PeriodReportData.ts +17 -0
- package/src/dto/report/TitleReportData.ts +17 -0
- package/src/index.ts +19 -2
- package/src/rq/report/OrderDailyReportQueryRQ.ts +25 -0
- package/src/rq/report/OrderDailyReportRQ.ts +25 -0
- package/src/rq/report/OrderMonthlyReportQueryRQ.ts +25 -0
- package/src/rq/report/OrderMonthlyReportRQ.ts +25 -0
- package/lib/cjs/dto/org/OrgReportData.d.ts +0 -38
- package/lib/mjs/dto/org/OrgReportData.d.ts +0 -38
- package/src/dto/org/OrgReportData.ts +0 -41
- /package/lib/cjs/dto/{org/OrgReportData.js → report/OrderDailyReportData.js} +0 -0
- /package/lib/cjs/{rq/org/OrgUsageReportRQ.js → dto/report/OrderDailyReportQueryData.js} +0 -0
- /package/lib/cjs/rq/{org → report}/OrgUsageReportRQ.d.ts +0 -0
- /package/lib/mjs/dto/{org/OrgReportData.js → report/OrderDailyReportData.js} +0 -0
- /package/lib/mjs/{rq/org/OrgUsageReportRQ.js → dto/report/OrderDailyReportQueryData.js} +0 -0
- /package/lib/mjs/rq/{org → report}/OrgUsageReportRQ.d.ts +0 -0
- /package/src/rq/{org → report}/OrgUsageReportRQ.ts +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AppActionData } from "@etsoo/appscript";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Order monthly report request data
|
|
5
|
+
* 订单月报表请求数据
|
|
6
|
+
*/
|
|
7
|
+
export type OrderMonthlyReportRQ = {
|
|
8
|
+
/**
|
|
9
|
+
* Action signed data
|
|
10
|
+
* 操作签名数据
|
|
11
|
+
*/
|
|
12
|
+
Action: AppActionData;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Year
|
|
16
|
+
* 年
|
|
17
|
+
*/
|
|
18
|
+
Year?: number;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Whether to include last year data
|
|
22
|
+
* 是否包含去年数据
|
|
23
|
+
*/
|
|
24
|
+
HasLastYear?: boolean;
|
|
25
|
+
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Organization usage report data
|
|
3
|
-
* 机构使用报告数据
|
|
4
|
-
*/
|
|
5
|
-
type OrgUsageReportData = {
|
|
6
|
-
/**
|
|
7
|
-
* Period
|
|
8
|
-
* 周期
|
|
9
|
-
*/
|
|
10
|
-
period: number;
|
|
11
|
-
/**
|
|
12
|
-
* Qty.
|
|
13
|
-
* 数量
|
|
14
|
-
*/
|
|
15
|
-
qty: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Organization amount report data
|
|
19
|
-
* 机构金额报告数据
|
|
20
|
-
*/
|
|
21
|
-
type OrgAmountReportData = {
|
|
22
|
-
/**
|
|
23
|
-
* Period
|
|
24
|
-
* 周期
|
|
25
|
-
*/
|
|
26
|
-
period: number;
|
|
27
|
-
/**
|
|
28
|
-
* Amount
|
|
29
|
-
* 金额
|
|
30
|
-
*/
|
|
31
|
-
amount: number;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Organization report data
|
|
35
|
-
* 机构报告数据
|
|
36
|
-
*/
|
|
37
|
-
export type OrgReportData = OrgUsageReportData | OrgAmountReportData;
|
|
38
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Organization usage report data
|
|
3
|
-
* 机构使用报告数据
|
|
4
|
-
*/
|
|
5
|
-
type OrgUsageReportData = {
|
|
6
|
-
/**
|
|
7
|
-
* Period
|
|
8
|
-
* 周期
|
|
9
|
-
*/
|
|
10
|
-
period: number;
|
|
11
|
-
/**
|
|
12
|
-
* Qty.
|
|
13
|
-
* 数量
|
|
14
|
-
*/
|
|
15
|
-
qty: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Organization amount report data
|
|
19
|
-
* 机构金额报告数据
|
|
20
|
-
*/
|
|
21
|
-
type OrgAmountReportData = {
|
|
22
|
-
/**
|
|
23
|
-
* Period
|
|
24
|
-
* 周期
|
|
25
|
-
*/
|
|
26
|
-
period: number;
|
|
27
|
-
/**
|
|
28
|
-
* Amount
|
|
29
|
-
* 金额
|
|
30
|
-
*/
|
|
31
|
-
amount: number;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Organization report data
|
|
35
|
-
* 机构报告数据
|
|
36
|
-
*/
|
|
37
|
-
export type OrgReportData = OrgUsageReportData | OrgAmountReportData;
|
|
38
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Organization usage report data
|
|
3
|
-
* 机构使用报告数据
|
|
4
|
-
*/
|
|
5
|
-
type OrgUsageReportData = {
|
|
6
|
-
/**
|
|
7
|
-
* Period
|
|
8
|
-
* 周期
|
|
9
|
-
*/
|
|
10
|
-
period: number;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Qty.
|
|
14
|
-
* 数量
|
|
15
|
-
*/
|
|
16
|
-
qty: number;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Organization amount report data
|
|
21
|
-
* 机构金额报告数据
|
|
22
|
-
*/
|
|
23
|
-
type OrgAmountReportData = {
|
|
24
|
-
/**
|
|
25
|
-
* Period
|
|
26
|
-
* 周期
|
|
27
|
-
*/
|
|
28
|
-
period: number;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Amount
|
|
32
|
-
* 金额
|
|
33
|
-
*/
|
|
34
|
-
amount: number;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Organization report data
|
|
39
|
-
* 机构报告数据
|
|
40
|
-
*/
|
|
41
|
-
export type OrgReportData = OrgUsageReportData | OrgAmountReportData;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|