From b823ca3d9f2e6dd6cdc2d388576d02c73d5f9896 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 01 十二月 2025 13:20:45 +0800
Subject: [PATCH] release: @life-payment/core v0.0.4
---
packages/services/api/typings.d.ts | 122 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 122 insertions(+), 0 deletions(-)
diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts
index 6640eab..81c5ffa 100644
--- a/packages/services/api/typings.d.ts
+++ b/packages/services/api/typings.d.ts
@@ -139,6 +139,10 @@
column?: ModuleColumnDto[];
}
+ type AnnouncementStatusEnum = 10 | 20 | 30;
+
+ type AnnouncementTypeEnum = 10 | 20;
+
interface APIaddOrEditModuleStatusParams {
id?: string;
isMenu?: number;
@@ -169,6 +173,10 @@
id?: string;
}
+ interface APIdeleteLifePayAnnouncementParams {
+ id?: string;
+ }
+
interface APIdeleteModuleButtonParams {
id?: string;
}
@@ -178,6 +186,10 @@
}
interface APIdeleteModuleParams {
+ id?: string;
+ }
+
+ interface APIdeleteRateChannelParams {
id?: string;
}
@@ -390,6 +402,11 @@
interface APIsetLifePayChannelsStatusParams {
id?: string;
status?: LifePayChannelsStatsEnum;
+ }
+
+ interface APIsetRateChannelStatusParams {
+ id?: string;
+ status?: LifePayRateChannelStatus;
}
interface APIstatisticsByDateParams {
@@ -717,6 +734,36 @@
customerResources?: string;
}
+ interface CreateEditLifePayAnnouncementInput {
+ id?: string;
+ announcementType: AnnouncementTypeEnum;
+ /** 鐢熸晥鏃ユ湡 */
+ startTime: string;
+ /** 鎴鏃ユ湡 */
+ endTime: string;
+ /** 鍏憡鍐呭 */
+ announcementContent: string;
+ }
+
+ interface CreateEditLifePayAnnouncementOutput {
+ id?: string;
+ announcementType: AnnouncementTypeEnum;
+ /** 鐢熸晥鏃ユ湡 */
+ startTime: string;
+ /** 鎴鏃ユ湡 */
+ endTime: string;
+ /** 鍏憡鍐呭 */
+ announcementContent: string;
+ creationTime?: string;
+ status?: AnnouncementStatusEnum;
+ }
+
+ interface CreateEditLifePayAnnouncementOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: CreateEditLifePayAnnouncementOutput[];
+ }
+
interface CreateEditPayChannelsInput {
id?: string;
channlesName?: string;
@@ -741,6 +788,45 @@
pageModel?: Pagination;
objectData?: any;
data?: CreateEditPayChannelsInput[];
+ }
+
+ interface CreateEditRateChannelInput {
+ id?: string;
+ lifePayOrderType: LifePayOrderTypeEnum;
+ /** 閫氶亾 */
+ rateChannelName: string;
+ /** ID */
+ code: string;
+ /** 渚涘簲鍟嗘姌鎵� */
+ supplierRate: number;
+ /** 骞冲彴鎶樻墸 */
+ platformRate: number;
+ status: LifePayRateChannelStatus;
+ /** 閫氱煡鍐呭 */
+ remark: string;
+ }
+
+ interface CreateEditRateChannelOutput {
+ id?: string;
+ lifePayOrderType: LifePayOrderTypeEnum;
+ /** 閫氶亾 */
+ rateChannelName: string;
+ /** ID */
+ code: string;
+ /** 渚涘簲鍟嗘姌鎵� */
+ supplierRate: number;
+ /** 骞冲彴鎶樻墸 */
+ platformRate: number;
+ status: LifePayRateChannelStatus;
+ /** 閫氱煡鍐呭 */
+ remark: string;
+ creationTime?: string;
+ }
+
+ interface CreateEditRateChannelOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: CreateEditRateChannelOutput[];
}
interface CreateLifePayOrderOutput {
@@ -1052,6 +1138,15 @@
groups?: FeatureGroupDto[];
}
+ interface GetLifePayAnnouncementPageInput {
+ pageModel?: Pagination;
+ creationTimeBegin?: string;
+ creationTimeEnd?: string;
+ startTime?: string;
+ endTime?: string;
+ status?: AnnouncementStatusEnum;
+ }
+
interface GetOperateHistoryInput {
pageModel?: Pagination;
relationId?: string;
@@ -1093,6 +1188,10 @@
pageModel?: Pagination;
/** 鏌ヨ鏉′欢锛氳鑹插悕绉� */
queryCondition?: string;
+ }
+
+ interface GetShowingLifePayAnnouncementInput {
+ announcementType?: AnnouncementTypeEnum;
}
interface IanaTimeZone {
@@ -1631,6 +1730,8 @@
rate?: number;
id?: string;
}
+
+ type LifePayRateChannelStatus = 10 | -10;
interface LifePayRateInput {
rateType?: LifePayRateTypeEnum;
@@ -2202,6 +2303,11 @@
phoneChargeOrder?: PhoneChargeOrderOutput;
}
+ interface QueryRateChannelInput {
+ status?: LifePayRateChannelStatus;
+ lifePayOrderType?: LifePayOrderTypeEnum;
+ }
+
interface QueryUserAccountAllListInput {
pageModel?: Pagination;
checkChannelId?: string;
@@ -2245,6 +2351,13 @@
receiveList?: ReceiptsDetail[];
/** 30澶╂敹鍏� */
incomeList?: ReceiptsDetail[];
+ }
+
+ interface RefundAmount {
+ total: number;
+ refund: number;
+ payerTotal: string;
+ payerRefund: string;
}
interface RefundLifePayOrderInput {
@@ -2781,6 +2894,15 @@
unionId?: string;
}
+ interface WxPayDomesticRefundsNotice {
+ mchid?: string;
+ outTradeNo?: string;
+ transactionId?: string;
+ outRefundNo?: string;
+ refundStatus?: string;
+ amount?: RefundAmount;
+ }
+
interface WxPayDomesticRefundsQueryReponse {
code?: string;
message?: string;
--
Gitblit v1.9.1