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 | 207 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 205 insertions(+), 2 deletions(-)
diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts
index e399924..81c5ffa 100644
--- a/packages/services/api/typings.d.ts
+++ b/packages/services/api/typings.d.ts
@@ -15,7 +15,7 @@
scope?: string;
}
- type ACOOLYStatusEnum = 10 | 20 | 30 | 40 | 50 | 60;
+ type ACOOLYStatusEnum = 10 | 20 | 30 | 40 | 50 | 51 | 60;
interface ActionApiDescriptionModel {
uniqueName?: string;
@@ -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;
}
@@ -238,6 +250,10 @@
interface APIgetBillErceiptExportParams {
orderNo?: string;
+ }
+
+ interface APIgetChannelConsultationByIdParams {
+ id?: string;
}
interface APIgetChannelConsultationFollowupListParams {
@@ -319,6 +335,10 @@
id?: string;
}
+ interface APIgetPromoterParams {
+ phoneNumber?: string;
+ }
+
interface APIgetRolesIdRolesParams {
id: string;
}
@@ -382,6 +402,11 @@
interface APIsetLifePayChannelsStatusParams {
id?: string;
status?: LifePayChannelsStatsEnum;
+ }
+
+ interface APIsetRateChannelStatusParams {
+ id?: string;
+ status?: LifePayRateChannelStatus;
}
interface APIstatisticsByDateParams {
@@ -709,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;
@@ -718,12 +773,60 @@
switchType?: LifePaySwitchTypeEnum;
status?: LifePayChannelsStatsEnum;
channlesType?: LifePayChannlesTypeEnum;
+ agentType?: LifePayChannelAgentType;
+ /** 鍖哄煙-鐪両d */
+ areaProvinceId?: number;
+ /** 鍖哄煙-甯侷d */
+ areaCityId?: number;
+ /** 鎺ㄥ箍鍛業D */
+ promoterIdNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ promoterName?: string;
}
interface CreateEditPayChannelsInputPageOutput {
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 {
@@ -743,6 +846,13 @@
phoneNumber?: string;
/** 澶囨敞 */
remark?: string;
+ }
+
+ interface CreateOrUpdatePromoterOutput {
+ /** Id */
+ id?: string;
+ /** IdNumber */
+ idNumber?: string;
}
interface CreateOrUpdateRoleInput {
@@ -1028,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;
@@ -1057,12 +1176,22 @@
interface GetPromotersInput {
pageModel?: Pagination;
+ /** 鍒涘缓鐨勫紑濮嬫椂闂� */
+ startDate?: string;
+ /** 鍒涘缓鐨勭粨鏉熸椂闂� */
+ endDate?: string;
+ /** 鎼滅储鍏抽敭璇� */
+ searchKey?: string;
}
interface GetRolesInput {
pageModel?: Pagination;
/** 鏌ヨ鏉′欢锛氳鑹插悕绉� */
queryCondition?: string;
+ }
+
+ interface GetShowingLifePayAnnouncementInput {
+ announcementType?: AnnouncementTypeEnum;
}
interface IanaTimeZone {
@@ -1282,7 +1411,7 @@
type LifePayChannelAgentType = 1 | 2 | 3;
- type LifePayChannelConsultationFollowupStatus = 0 | 1;
+ type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4;
type LifePayChannelsStatsEnum = 10 | 20;
@@ -1443,6 +1572,8 @@
lifePayType?: LifePayTypeEnum;
/** 娓犻亾鍚嶇О */
channelName?: string;
+ /** 杩愯惀鍟� */
+ operator?: string;
lifePayOrderType?: LifePayOrderTypeEnum;
/** 璁㈠崟鍙� */
orderNo?: string;
@@ -1484,6 +1615,8 @@
acoolyOrderNo?: string;
acoolyStatus?: ACOOLYStatusEnum;
lifePayRefundStatus?: LifePayRefundStatusEnum;
+ /** 璁㈠崟鍙傛暟璇︽儏 */
+ orderParamDetailJsonStr?: string;
/** 瀹為檯鍒拌处閲戦 */
actualReceivedAmount?: number;
actualReceivedStatus?: LifePayStatusEnum;
@@ -1578,6 +1711,8 @@
interface LifePayPhoneMesssageCodeLoginOutput {
/** 鐢ㄦ埛Id */
userId?: string;
+ /** 鎺ㄥ箍鍛業D */
+ promoterIdNumber?: string;
/** 鏄惁鏄悗鍙扮敤鎴� */
isBackClientUser?: boolean;
/** 娓犻亾鍙� */
@@ -1595,6 +1730,8 @@
rate?: number;
id?: string;
}
+
+ type LifePayRateChannelStatus = 10 | -10;
interface LifePayRateInput {
rateType?: LifePayRateTypeEnum;
@@ -1739,6 +1876,13 @@
interface LogErrorInput {
error?: string;
+ }
+
+ interface LogFrontInput {
+ userId?: string;
+ message?: string;
+ url?: string;
+ requestTime?: string;
}
interface MethodParameterApiDescriptionModel {
@@ -1983,6 +2127,15 @@
permissions?: PermissionGrantInfoDto[];
}
+ interface PhoneChargeOrderOutput {
+ outOrderNo?: string;
+ busiOrderNo?: string;
+ parValue?: number;
+ payAmount?: number;
+ status?: string;
+ statusText?: string;
+ }
+
interface PhoneParValueOutput {
ispCode?: string;
ispName?: string;
@@ -2121,6 +2274,40 @@
operateHistoryType?: OperateHistoryTypeEnum;
}
+ interface QueryPhoneOrderRequestInput {
+ requestNo?: string;
+ partnerId?: string;
+ service?: string;
+ version?: string;
+ protocol?: string;
+ context?: string;
+ ext?: string;
+ returnUrl?: string;
+ notifyUrl?: string;
+ outOrderNo?: string;
+ busiOrderNo?: string;
+ }
+
+ interface QueryPhoneOrderResponse {
+ success?: boolean;
+ requestNo?: string;
+ partnerId?: string;
+ service?: string;
+ version?: string;
+ protocol?: string;
+ context?: string;
+ ext?: any;
+ code?: string;
+ message?: string;
+ detail?: string;
+ phoneChargeOrder?: PhoneChargeOrderOutput;
+ }
+
+ interface QueryRateChannelInput {
+ status?: LifePayRateChannelStatus;
+ lifePayOrderType?: LifePayOrderTypeEnum;
+ }
+
interface QueryUserAccountAllListInput {
pageModel?: Pagination;
checkChannelId?: string;
@@ -2164,6 +2351,13 @@
receiveList?: ReceiptsDetail[];
/** 30澶╂敹鍏� */
incomeList?: ReceiptsDetail[];
+ }
+
+ interface RefundAmount {
+ total: number;
+ refund: number;
+ payerTotal: string;
+ payerRefund: string;
}
interface RefundLifePayOrderInput {
@@ -2700,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