lzh-common 0.0.597 → 0.0.598

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.
@@ -1,2 +1,3 @@
1
1
  export * from './base.js';
2
+ export * from './system.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collection_account_stats_daily/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collection_account_stats_daily/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './base.js';
2
+ export * from './system.js';
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @description 收款账户日统计相关类型定义(系统端)
3
+ */
4
+ import { CollectionPaymentMethodEnum } from "../enum.js";
5
+ export type ICollectionAccountStatsDailyReq = {
6
+ /** 统计开始日期,格式:YYYY-MM-DD */
7
+ stat_date_start?: string;
8
+ /** 统计结束日期,格式:YYYY-MM-DD */
9
+ stat_date_end?: string;
10
+ };
11
+ /**
12
+ * 返回参数:收款账户每日收款统计
13
+ **/
14
+ export type ICollectionAccountStatsDailyRes = {
15
+ /** 日期,格式:YYYY-MM-DD */
16
+ date: string;
17
+ /** 收款账户配置ID */
18
+ collection_account_config_id: number;
19
+ /** 账户名称 */
20
+ account_name: string;
21
+ /** 收款方式 */
22
+ payment_method: CollectionPaymentMethodEnum;
23
+ /** 当天收款金额 */
24
+ collection_amount: string;
25
+ };
26
+ //# sourceMappingURL=system.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/collection_account_stats_daily/system.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAEzD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,2BAA2B;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AAED;;IAEI;AACJ,MAAM,MAAM,+BAA+B,GAAG;IAC5C,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe;IACf,4BAA4B,EAAE,MAAM,CAAC;IACrC,WAAW;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW;IACX,cAAc,EAAE,2BAA2B,CAAC;IAC5C,aAAa;IACb,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAA"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @description 收款账户日统计相关类型定义(系统端)
3
+ */
4
+ export {};
@@ -1,3 +1,4 @@
1
1
  export * from './base.js';
2
2
  export * from './system.js';
3
+ export * from './super.js';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/merchant_wechat_pay/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/merchant_wechat_pay/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
@@ -1,2 +1,3 @@
1
1
  export * from './base.js';
2
2
  export * from './system.js';
3
+ export * from './super.js';
@@ -1,52 +1,25 @@
1
- import { IMerchantWechatPayStatsDailyDB } from "../merchant_wechat_pay_stats_daily/base.js";
2
- import { IMerchantWechatPayDB } from "./base.js";
3
- /** 请求参数:微信商家每日收款统计 */
4
- export type IMerchantWechatPayDailyStatsReq = {
5
- /** 统计开始日期,格式:YYYY-MM-DD */
6
- start_date?: IMerchantWechatPayStatsDailyDB['stat_date'];
7
- /** 统计结束日期,格式:YYYY-MM-DD */
8
- end_date?: IMerchantWechatPayStatsDailyDB['stat_date'];
9
- /** 可选的商家ID,用于筛选特定商家 */
10
- merchant_wechat_pay_id?: IMerchantWechatPayDB['id'];
11
- /** 可选的租户域名,用于筛选特定租户 */
12
- tenant_domain?: string;
13
- };
14
- /** 返回数据:微信商家每日收款统计 */
15
- export type IMerchantWechatPayDailyStatsRes = {
16
- /** 统计日期,格式:YYYY-MM-DD */
17
- date: string;
18
- /** 商家ID */
19
- merchant_wechat_pay_id: number;
1
+ /** 租户绑定信息 */
2
+ export interface IMerchantWechatPayTenantBinding {
3
+ /** 租户域名 */
4
+ tenant_domain: string;
5
+ /** 配置记录ID */
6
+ id: number;
7
+ /** 创建时间 */
8
+ create_time: string;
9
+ /** 更新时间 */
10
+ update_time: string;
11
+ /** 是否是该租户当前使用的配置 */
12
+ is_current: boolean;
13
+ }
14
+ /** 返回参数: 跨租户微信商家绑定列表 */
15
+ export type IMerchantWechatPayBindingListRes = {
20
16
  /** 微信支付商户号 */
21
17
  mch_id: string;
22
18
  /** 商户名称 */
23
19
  mch_name: string;
24
- /** 总收款金额(所有交易类型汇总) */
25
- total_amount: string;
26
- /** 总交易笔数 */
27
- transaction_count: number;
28
- /** 按交易类型分类的明细 */
29
- detail: {
30
- /** 充值金额 */
31
- recharge_amount: string;
32
- /** 充值笔数 */
33
- recharge_count: number;
34
- /** 订单金额 */
35
- order_amount: string;
36
- /** 订单笔数 */
37
- order_count: number;
38
- /** 保证金金额 */
39
- deposit_amount: string;
40
- /** 保证金笔数 */
41
- deposit_count: number;
42
- /** 会费金额 */
43
- dues_amount: string;
44
- /** 会费笔数 */
45
- dues_count: number;
46
- /** 打赏金额 */
47
- tip_amount: string;
48
- /** 打赏笔数 */
49
- tip_count: number;
50
- };
51
- };
20
+ /** 商户简称 */
21
+ mch_short_name: string;
22
+ /** 绑定的租户列表 */
23
+ tenants: IMerchantWechatPayTenantBinding[];
24
+ }[];
52
25
  //# sourceMappingURL=super.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"super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AE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"super.d.ts","sourceRoot":"","sources":["../../src/merchant_wechat_pay/super.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,MAAM,WAAW,+BAA+B;IAC9C,WAAW;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa;IACb,EAAE,EAAE,MAAM,CAAC;IACX,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAwB;AACxB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,cAAc;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc;IACd,OAAO,EAAE,+BAA+B,EAAE,CAAC;CAC5C,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lzh-common",
3
- "version": "0.0.597",
3
+ "version": "0.0.598",
4
4
  "description": "Shared TypeScript interfaces",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",