lzh-common 0.0.423 → 0.0.425

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,30 @@
1
+ /** 请求参数:打手排行榜 */
2
+ export type IAssigneeStatsDailyClientRankingReq = {
3
+ period: 'week' | 'month';
4
+ type: 'orders' | 'revenue' | 'both';
5
+ };
6
+ /** 返回参数:打手接单排行榜数据项 */
7
+ export type IAssigneeStatsDailyClientRankingOrdersDatum = {
8
+ assignee_id: number;
9
+ assignee_open_id: string;
10
+ nickname: string;
11
+ avatar: string;
12
+ order_count: number;
13
+ rank: number;
14
+ };
15
+ /** 返回参数:打手收入排行榜数据项 */
16
+ export type IAssigneeStatsDailyClientRankingRevenueDatum = {
17
+ assignee_id: number;
18
+ assignee_open_id: string;
19
+ nickname: string;
20
+ avatar: string;
21
+ income_amount: number;
22
+ rank: number;
23
+ };
24
+ /** 返回参数:打手排行榜 */
25
+ export type IAssigneeStatsDailyClientRankingRes = {
26
+ period: string;
27
+ orders_ranking?: IAssigneeStatsDailyClientRankingOrdersDatum[];
28
+ revenue_ranking?: IAssigneeStatsDailyClientRankingRevenueDatum[];
29
+ };
30
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/assignee_stats_daily/client.ts"],"names":[],"mappings":"AAIA,iBAAiB;AACjB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;CACrC,CAAC;AAEF,sBAAsB;AACtB,MAAM,MAAM,2CAA2C,GAAG;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,sBAAsB;AACtB,MAAM,MAAM,4CAA4C,GAAG;IACzD,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,iBAAiB;AACjB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,2CAA2C,EAAE,CAAC;IAC/D,eAAe,CAAC,EAAE,4CAA4C,EAAE,CAAC;CAClE,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -3,6 +3,7 @@ import { IF2ePaginationReqData } from "../http.js";
3
3
  export type ITenantStatsDailySystemListReq = IF2ePaginationReqData & {
4
4
  filters?: {
5
5
  stat_date?: ITenantStatsDailyDB['stat_date'];
6
+ stat_date_start?: ITenantStatsDailyDB['stat_date'];
6
7
  };
7
8
  };
8
9
  export type ITenantStatsDailySystemListDatum = ITenantStatsDailyDB;
@@ -1 +1 @@
1
- {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/tenant_stats_daily/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,MAAM,8BAA8B,GAAG,qBAAqB,GAAG;IACnE,OAAO,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,mBAAmB,CAAC"}
1
+ {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/tenant_stats_daily/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,MAAM,8BAA8B,GAAG,qBAAqB,GAAG;IACnE,OAAO,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;QAC7C,eAAe,CAAC,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;KACpD,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lzh-common",
3
- "version": "0.0.423",
3
+ "version": "0.0.425",
4
4
  "description": "Shared TypeScript interfaces",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",