lzh-common 0.0.209 → 0.0.211
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/merchant_wechat_pay/base.d.ts +25 -0
- package/dist/merchant_wechat_pay/base.d.ts.map +1 -0
- package/dist/merchant_wechat_pay/base.js +1 -0
- package/dist/merchant_wechat_pay/system.d.ts +11 -0
- package/dist/merchant_wechat_pay/system.d.ts.map +1 -0
- package/dist/merchant_wechat_pay/system.js +1 -0
- package/dist/message/base.d.ts +1 -1
- package/dist/message/client.d.ts +5 -1
- package/dist/message/client.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface IMerchantWechatPayDB {
|
|
2
|
+
/** 主键ID */
|
|
3
|
+
id: number;
|
|
4
|
+
/** 微信支付商户号 */
|
|
5
|
+
mch_id: string;
|
|
6
|
+
/** 商户名称 */
|
|
7
|
+
mch_name: string;
|
|
8
|
+
/** 商户简称 */
|
|
9
|
+
mch_short_name: string;
|
|
10
|
+
/** 商户证书序列号 */
|
|
11
|
+
apiv3_serial_no: string;
|
|
12
|
+
/** 商户私钥 */
|
|
13
|
+
apiv3_private_key: string;
|
|
14
|
+
/** 商户公钥 */
|
|
15
|
+
apiv3_public_key: string;
|
|
16
|
+
/** 'APIv3密钥 */
|
|
17
|
+
apiv3_platform_key: string;
|
|
18
|
+
/** 创建时间 */
|
|
19
|
+
create_time: string;
|
|
20
|
+
/** 更新时间*/
|
|
21
|
+
update_time: string;
|
|
22
|
+
/** 对应的租户二级域名 */
|
|
23
|
+
tenant_domain: string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/merchant_wechat_pay/base.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,WAAW;IACX,EAAE,EAAE,MAAM,CAAC;IACX,cAAc;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW;IACX,cAAc,EAAE,MAAM,CAAC;IAEvB,cAAc;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW;IACX,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW;IACX,gBAAgB,EAAE,MAAM,CAAC;IAEzB,eAAe;IACf,kBAAkB,EAAE,MAAM,CAAC;IAE3B,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU;IACV,WAAW,EAAE,MAAM,CAAC;IAEpB,gBAAgB;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IF2ePaginationReqData } from "../http.js";
|
|
2
|
+
import { IMerchantWechatPayDB } from "./base.js";
|
|
3
|
+
/** 请求参数: 列表 */
|
|
4
|
+
export type IMerchantWechatPaySystemListReq = IF2ePaginationReqData;
|
|
5
|
+
/** 返回参数: 列表 */
|
|
6
|
+
export type IMerchantWechatPaySystemListDatumRes = IMerchantWechatPayDB;
|
|
7
|
+
/** 请求参数:新增 */
|
|
8
|
+
export type IMerchantWechatPaySystemAddReq = Pick<IMerchantWechatPayDB, "mch_id" | "mch_name" | "mch_short_name" | "apiv3_serial_no" | "apiv3_private_key" | "apiv3_public_key" | "apiv3_platform_key">;
|
|
9
|
+
/** 请求参数: 编辑 */
|
|
10
|
+
export type IMerchantWechatPaySystemEditReq = Pick<IMerchantWechatPayDB, "mch_id" | "mch_name" | "mch_short_name" | "apiv3_serial_no" | "apiv3_private_key" | "apiv3_public_key" | "apiv3_platform_key">;
|
|
11
|
+
//# sourceMappingURL=system.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/merchant_wechat_pay/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,eAAe;AACf,MAAM,MAAM,+BAA+B,GAAG,qBAAqB,CAAA;AAEnE,eAAe;AACf,MAAM,MAAM,oCAAoC,GAAG,oBAAoB,CAAA;AAEvE,cAAc;AACd,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,oBAAoB,EAClB,QAAQ,GACR,UAAU,GACV,gBAAgB,GAEhB,iBAAiB,GACjB,mBAAmB,GACnB,kBAAkB,GAClB,oBAAoB,CACvB,CAAC;AAEF,eAAe;AACf,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,oBAAoB,EAClB,QAAQ,GACR,UAAU,GACV,gBAAgB,GAEhB,iBAAiB,GACjB,mBAAmB,GACnB,kBAAkB,GAClB,oBAAoB,CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/message/base.d.ts
CHANGED
package/dist/message/client.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IMessageDB } from "./base.js";
|
|
2
2
|
export interface IMessageClientListOfOrderReq {
|
|
3
3
|
filters: {
|
|
4
|
-
order_id
|
|
4
|
+
order_id?: string;
|
|
5
|
+
last_message_id?: number;
|
|
5
6
|
};
|
|
6
7
|
}
|
|
7
8
|
export type IMessageClientListOfOrderRes = IMessageDB;
|
|
@@ -11,6 +12,9 @@ export interface IMessageClientSendReq {
|
|
|
11
12
|
sender_user_id: IMessageDB['sender_user_id'];
|
|
12
13
|
receiver_user_id: IMessageDB['receiver_user_id'];
|
|
13
14
|
}
|
|
15
|
+
export type IMessageClientSendRes = {
|
|
16
|
+
insertId: number;
|
|
17
|
+
};
|
|
14
18
|
export interface IMessageClientSetIsReadReq {
|
|
15
19
|
message_id: IMessageDB['id'];
|
|
16
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/message/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAOvC,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/message/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAOvC,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE;QACP,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAA;CACF;AAED,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAA;AAMrD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC7C,gBAAgB,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAC;CAClD;AAID,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAGD,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;CAC7B"}
|