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 | 447 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 442 insertions(+), 5 deletions(-)
diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts
index 83f7260..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,15 @@
interface APIgetBillErceiptExportParams {
orderNo?: string;
+ }
+
+ interface APIgetChannelConsultationByIdParams {
+ id?: string;
+ }
+
+ interface APIgetChannelConsultationFollowupListParams {
+ /** 娓犻亾鍜ㄨId */
+ id?: string;
}
interface APIgetCountParams {
@@ -314,12 +335,12 @@
id?: string;
}
- interface APIgetRolesIdRolesParams {
- id: string;
+ interface APIgetPromoterParams {
+ phoneNumber?: string;
}
- interface APIgetTopStatisticsParams {
- channleId?: string;
+ interface APIgetRolesIdRolesParams {
+ id: string;
}
interface APIgetUserAccountDetailParams {
@@ -364,6 +385,10 @@
maxResultCount?: number;
}
+ interface APIsetClickCountParams {
+ idnumber?: string;
+ }
+
interface APIsetForRoleParams {
roleName?: string;
permissionName?: string;
@@ -377,6 +402,15 @@
interface APIsetLifePayChannelsStatusParams {
id?: string;
status?: LifePayChannelsStatsEnum;
+ }
+
+ interface APIsetRateChannelStatusParams {
+ id?: string;
+ status?: LifePayRateChannelStatus;
+ }
+
+ interface APIstatisticsByDateParams {
+ days?: number;
}
interface APItestAliRechargeNotifyParams {
@@ -528,10 +562,79 @@
type?: number;
}
+ interface ChannelConsultationDto {
+ /** Id */
+ id?: string;
+ /** 鍜ㄨ鏃堕棿 */
+ creationTime?: string;
+ /** 鍜ㄨ浜� */
+ name?: string;
+ agentType?: LifePayChannelAgentType;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 鍏徃鍚嶇О */
+ companyName?: string;
+ /** 瀹㈡埛璧勬簮 */
+ customerResources?: string;
+ /** ID */
+ promoterIdNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ promoterName?: string;
+ /** 鑱旂郴鏂瑰紡 */
+ promoterPhoneNumber?: string;
+ followupStatus?: LifePayChannelConsultationFollowupStatus;
+ /** 鏈�杩戝洖璁� */
+ lastFollowupTime?: string;
+ /** 鍥炶璁板綍 */
+ followupRemark?: string;
+ }
+
+ interface ChannelConsultationDtoPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: ChannelConsultationDto[];
+ }
+
+ interface ChannelConsultationFollowupDto {
+ /** 鍥炶浜篒d */
+ creatorId?: string;
+ /** 鍥炶浜� */
+ creator?: string;
+ followupStatus?: LifePayChannelConsultationFollowupStatus;
+ /** 鍥炶璁板綍 */
+ followupRemark?: string;
+ /** 鍜ㄨ鏃堕棿 */
+ creationTime?: string;
+ }
+
+ interface ChannelDataListOutPut {
+ /** Top5娓犻亾鏀舵 */
+ receiveList?: ChannelDataReceive[];
+ /** Top5娓犻亾鐢ㄦ埛 */
+ userNumberList?: ChannelDataUserNumber[];
+ }
+
+ interface ChannelDataReceive {
+ /** 娓犻亾鍚嶇О */
+ channelName?: string;
+ /** 鏀舵 */
+ receivePrice?: number;
+ /** 浣i噾 */
+ channlesRakePrice?: number;
+ }
+
+ interface ChannelDataUserNumber {
+ /** 娓犻亾鍚嶇О */
+ channelName?: string;
+ /** 鐢ㄦ埛鏁伴噺 */
+ number?: number;
+ }
+
interface ChannelOutput {
name?: string;
channlesNum?: string;
channlesId?: string;
+ switchType?: LifePaySwitchTypeEnum;
}
interface ChannelRateOutput {
@@ -543,6 +646,11 @@
checkChannelId?: string;
}
+ interface ChannlesRakeListOutPut {
+ /** 30澶╀剑閲� */
+ channlesRakeList?: ReceiptsDetail[];
+ }
+
interface CheckLoginVerificationCodeInput {
messageType?: string;
phoneNumber: string;
@@ -552,6 +660,10 @@
interface ClockDto {
kind?: string;
}
+
+ type ConsumptionFlowEnum = 10 | 20;
+
+ type ConsumptionFrozenStatusEnum = 10 | 20;
interface ControllerApiDescriptionModel {
controllerName?: string;
@@ -598,6 +710,60 @@
remark?: string;
}
+ interface CreateChannelConsultationFollowupInput {
+ /** 娓犻亾鍜ㄨId */
+ channelConsultationId?: string;
+ followupStatus?: LifePayChannelConsultationFollowupStatus;
+ /** 鍥炶璁板綍 */
+ followupRemark?: string;
+ }
+
+ interface CreateChannelConsultationInput {
+ /** 瀹㈡埛绔敤鎴稩d 濡傛湁 */
+ userId?: string;
+ /** 鎺ㄥ箍浜篒d */
+ idNumber?: string;
+ /** 鍜ㄨ浜� */
+ name?: string;
+ agentType?: LifePayChannelAgentType;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 鍏徃鍚嶇О */
+ companyName?: string;
+ /** 瀹㈡埛璧勬簮 */
+ 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;
@@ -607,6 +773,15 @@
switchType?: LifePaySwitchTypeEnum;
status?: LifePayChannelsStatsEnum;
channlesType?: LifePayChannlesTypeEnum;
+ agentType?: LifePayChannelAgentType;
+ /** 鍖哄煙-鐪両d */
+ areaProvinceId?: number;
+ /** 鍖哄煙-甯侷d */
+ areaCityId?: number;
+ /** 鎺ㄥ箍鍛業D */
+ promoterIdNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ promoterName?: string;
}
interface CreateEditPayChannelsInputPageOutput {
@@ -615,8 +790,69 @@
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 {
orderNo?: string;
+ }
+
+ interface CreateOrUpdatePromoterInput {
+ /** Id */
+ id?: string;
+ /** 瀹㈡埛绔敤鎴稩d 濡傛湁 */
+ userId?: string;
+ /** ID */
+ idNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ name?: string;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ }
+
+ interface CreateOrUpdatePromoterOutput {
+ /** Id */
+ id?: string;
+ /** IdNumber */
+ idNumber?: string;
}
interface CreateOrUpdateRoleInput {
@@ -888,8 +1124,27 @@
queryCondition?: string;
}
+ interface GetChannelConsultationsInput {
+ pageModel?: Pagination;
+ /** 鍒涘缓鐨勫紑濮嬫椂闂� */
+ startDate?: string;
+ /** 鍒涘缓鐨勭粨鏉熸椂闂� */
+ endDate?: string;
+ /** 鎼滅储鍏抽敭璇� */
+ searchKey?: string;
+ }
+
interface GetFeatureListResultDto {
groups?: FeatureGroupDto[];
+ }
+
+ interface GetLifePayAnnouncementPageInput {
+ pageModel?: Pagination;
+ creationTimeBegin?: string;
+ creationTimeEnd?: string;
+ startTime?: string;
+ endTime?: string;
+ status?: AnnouncementStatusEnum;
}
interface GetOperateHistoryInput {
@@ -919,10 +1174,24 @@
groups?: PermissionGroupDto[];
}
+ interface GetPromotersInput {
+ pageModel?: Pagination;
+ /** 鍒涘缓鐨勫紑濮嬫椂闂� */
+ startDate?: string;
+ /** 鍒涘缓鐨勭粨鏉熸椂闂� */
+ endDate?: string;
+ /** 鎼滅储鍏抽敭璇� */
+ searchKey?: string;
+ }
+
interface GetRolesInput {
pageModel?: Pagination;
/** 鏌ヨ鏉′欢锛氳鑹插悕绉� */
queryCondition?: string;
+ }
+
+ interface GetShowingLifePayAnnouncementInput {
+ announcementType?: AnnouncementTypeEnum;
}
interface IanaTimeZone {
@@ -1140,6 +1409,10 @@
productData?: LifeGasData;
}
+ type LifePayChannelAgentType = 1 | 2 | 3;
+
+ type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4;
+
type LifePayChannelsStatsEnum = 10 | 20;
interface LifePayChannlesRakeListOutput {
@@ -1187,6 +1460,44 @@
}
type LifePayChannlesTypeEnum = 10 | 20;
+
+ interface LifePayConsumptionListOutput {
+ /** 缂栧彿 */
+ id?: string;
+ /** 骞冲彴璁㈠崟鍙� */
+ orderNo?: string;
+ /** 澶栭儴璁㈠崟鍙� */
+ acoolyOrderNo?: string;
+ /** 浜ゆ槗閲戦 */
+ amount?: number;
+ acoolyStatus?: ACOOLYStatusEnum;
+ /** 璁拌处鏃堕棿 */
+ finishTime?: string;
+ frozenStatus?: ConsumptionFrozenStatusEnum;
+ flow?: ConsumptionFlowEnum;
+ /** 鎵f閲戦 */
+ deductionAmount?: number;
+ /** 鍐荤粨閲戦 */
+ frozenAmount?: number;
+ }
+
+ interface LifePayConsumptionListOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: LifePayConsumptionListOutput[];
+ }
+
+ interface LifePayConsumptionPageInput {
+ pageModel?: Pagination;
+ checkChannelId?: string;
+ /** 鏌ヨ鏉′欢 */
+ keyWord?: string;
+ flow?: ConsumptionFlowEnum;
+ /** 璁拌处寮�濮嬫椂闂� */
+ timeBegin?: string;
+ /** 璁拌处缁撴潫鏃堕棿 */
+ timeEnd?: string;
+ }
interface LifePayExpensesReceiptsListOutput {
/** 缂栧彿 */
@@ -1261,6 +1572,8 @@
lifePayType?: LifePayTypeEnum;
/** 娓犻亾鍚嶇О */
channelName?: string;
+ /** 杩愯惀鍟� */
+ operator?: string;
lifePayOrderType?: LifePayOrderTypeEnum;
/** 璁㈠崟鍙� */
orderNo?: string;
@@ -1302,6 +1615,8 @@
acoolyOrderNo?: string;
acoolyStatus?: ACOOLYStatusEnum;
lifePayRefundStatus?: LifePayRefundStatusEnum;
+ /** 璁㈠崟鍙傛暟璇︽儏 */
+ orderParamDetailJsonStr?: string;
/** 瀹為檯鍒拌处閲戦 */
actualReceivedAmount?: number;
actualReceivedStatus?: LifePayStatusEnum;
@@ -1396,6 +1711,8 @@
interface LifePayPhoneMesssageCodeLoginOutput {
/** 鐢ㄦ埛Id */
userId?: string;
+ /** 鎺ㄥ箍鍛業D */
+ promoterIdNumber?: string;
/** 鏄惁鏄悗鍙扮敤鎴� */
isBackClientUser?: boolean;
/** 娓犻亾鍙� */
@@ -1413,6 +1730,8 @@
rate?: number;
id?: string;
}
+
+ type LifePayRateChannelStatus = 10 | -10;
interface LifePayRateInput {
rateType?: LifePayRateTypeEnum;
@@ -1557,6 +1876,13 @@
interface LogErrorInput {
error?: string;
+ }
+
+ interface LogFrontInput {
+ userId?: string;
+ message?: string;
+ url?: string;
+ requestTime?: string;
}
interface MethodParameterApiDescriptionModel {
@@ -1742,6 +2068,7 @@
interface OrderInQuiryInput {
outTradeNo?: string;
+ outRefundNo?: string;
}
type OrderTypeEnum = 0 | 1;
@@ -1800,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;
@@ -1841,6 +2177,31 @@
hasPassword?: boolean;
}
+ interface PromoterDto {
+ /** Id */
+ id?: string;
+ /** 鍜ㄨ鏃堕棿 */
+ creationTime?: string;
+ /** ID */
+ idNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ name?: string;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 鐐瑰嚮鏁� */
+ clickCount?: number;
+ /** 鐢宠鏁� */
+ applyCount?: number;
+ /** 澶囨敞 */
+ remark?: string;
+ }
+
+ interface PromoterDtoPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: PromoterDto[];
+ }
+
interface PropertyApiDescriptionModel {
name?: string;
jsonName?: string;
@@ -1852,6 +2213,10 @@
interface ProviderInfoDto {
providerName?: string;
providerKey?: string;
+ }
+
+ interface QueryLifePayChannlesInput {
+ status?: LifePayChannelsStatsEnum;
}
interface QueryLifePayOrderListInput {
@@ -1909,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;
@@ -1938,6 +2337,27 @@
loginTimeBegin?: string;
/** 鐧诲綍缁撴潫鏃堕棿 */
loginTimeEnd?: string;
+ }
+
+ interface ReceiptsDetail {
+ /** 鍒涘缓鏃堕棿 */
+ creationTime?: string;
+ /** 閲戦 */
+ amount?: number;
+ }
+
+ interface ReceiptsListOutPut {
+ /** 30澶╂敹娆� */
+ receiveList?: ReceiptsDetail[];
+ /** 30澶╂敹鍏� */
+ incomeList?: ReceiptsDetail[];
+ }
+
+ interface RefundAmount {
+ total: number;
+ refund: number;
+ payerTotal: string;
+ payerRefund: string;
}
interface RefundLifePayOrderInput {
@@ -2135,6 +2555,10 @@
timeZone?: TimeZone;
}
+ interface TopStatisticsInput {
+ channleList?: string[];
+ }
+
interface TopStatisticsOutput {
/** 鍒涘缓鏃堕棿 */
creationTime?: string;
@@ -2158,6 +2582,8 @@
accumulatedUsers?: number;
/** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */
yesterdayActiveUsers?: number;
+ /** 绱浣i噾 */
+ accumulatedChannlesRakePrice?: number;
}
interface TradeFundBill {
@@ -2285,6 +2711,8 @@
interface UserChannleDto {
/** 娓犻亾Id */
id?: string;
+ /** 娓犻亾num */
+ channlesNum?: string;
/** 娓犻亾鍚� */
name?: string;
}
@@ -2466,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