From 74953600e30027aa89aec6eeb939a182a2a7ecda Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 09 六月 2025 16:20:05 +0800 Subject: [PATCH] feat: 接口 --- packages/services/api/typings.d.ts | 450 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 445 insertions(+), 5 deletions(-) diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts index f3befa6..c55257c 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; @@ -240,6 +240,15 @@ orderNo?: string; } + interface APIgetChannelConsultationByIdParams { + id?: string; + } + + interface APIgetChannelConsultationFollowupListParams { + /** 娓犻亾鍜ㄨId */ + id?: string; + } + interface APIgetCountParams { filter?: string; } @@ -314,6 +323,10 @@ id?: string; } + interface APIgetPromoterParams { + phoneNumber?: string; + } + interface APIgetRolesIdRolesParams { id: string; } @@ -360,6 +373,10 @@ maxResultCount?: number; } + interface APIsetClickCountParams { + idnumber?: string; + } + interface APIsetForRoleParams { roleName?: string; permissionName?: string; @@ -373,6 +390,10 @@ interface APIsetLifePayChannelsStatusParams { id?: string; status?: LifePayChannelsStatsEnum; + } + + interface APIstatisticsByDateParams { + days?: number; } interface APItestAliRechargeNotifyParams { @@ -415,6 +436,10 @@ } interface APIwxPayDomesticRefundsQueryParams { + outTradeNo?: string; + } + + interface APIwxPayTradeQueryParams { outTradeNo?: string; } @@ -485,6 +510,14 @@ quickQuery?: string; } + interface BackClientUserInfoOutput { + /** 鏄惁鏄悗鍙扮敤鎴� */ + isBackClientUser?: boolean; + isSystem?: boolean; + /** 娓犻亾鍙� */ + channleList?: ChannelOutput[]; + } + interface BaseAuthorizeDto { moduleType?: number; moduleId?: string; @@ -512,6 +545,81 @@ 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 { channlesRate?: number; } @@ -519,6 +627,11 @@ interface ChannelsBaseInput { pageModel?: Pagination; checkChannelId?: string; + } + + interface ChannlesRakeListOutPut { + /** 30澶╀剑閲� */ + channlesRakeList?: ReceiptsDetail[]; } interface CheckLoginVerificationCodeInput { @@ -530,6 +643,10 @@ interface ClockDto { kind?: string; } + + type ConsumptionFlowEnum = 10 | 20; + + type ConsumptionFrozenStatusEnum = 10 | 20; interface ControllerApiDescriptionModel { controllerName?: string; @@ -576,6 +693,30 @@ 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 CreateEditPayChannelsInput { id?: string; channlesName?: string; @@ -585,6 +726,15 @@ switchType?: LifePaySwitchTypeEnum; status?: LifePayChannelsStatsEnum; channlesType?: LifePayChannlesTypeEnum; + agentType?: LifePayChannelAgentType; + /** 鍖哄煙-鐪両d */ + areaProvinceId?: number; + /** 鍖哄煙-甯侷d */ + areaCityId?: number; + /** 鎺ㄥ箍鍛業D */ + promoterIdNumber?: string; + /** 鎺ㄥ箍鍛� */ + promoterName?: string; } interface CreateEditPayChannelsInputPageOutput { @@ -595,6 +745,21 @@ interface CreateLifePayOrderOutput { orderNo?: string; + } + + interface CreateOrUpdatePromoterInput { + /** Id */ + id?: string; + /** 瀹㈡埛绔敤鎴稩d 濡傛湁 */ + userId?: string; + /** ID */ + idNumber?: string; + /** 鎺ㄥ箍鍛� */ + name?: string; + /** 鑱旂郴鏂瑰紡 */ + phoneNumber?: string; + /** 澶囨敞 */ + remark?: string; } interface CreateOrUpdateRoleInput { @@ -716,6 +881,8 @@ properties?: Record<string, any>; configuration?: Record<string, any>; } + + type ExpensesReceiptsTypeEnum = 10 | 20; interface ExtensionEnumDto { fields?: ExtensionEnumFieldDto[]; @@ -864,6 +1031,16 @@ queryCondition?: string; } + interface GetChannelConsultationsInput { + pageModel?: Pagination; + /** 鍒涘缓鐨勫紑濮嬫椂闂� */ + startDate?: string; + /** 鍒涘缓鐨勭粨鏉熸椂闂� */ + endDate?: string; + /** 鎼滅储鍏抽敭璇� */ + searchKey?: string; + } + interface GetFeatureListResultDto { groups?: FeatureGroupDto[]; } @@ -893,6 +1070,16 @@ interface GetPermissionListResultDto { entityDisplayName?: string; groups?: PermissionGroupDto[]; + } + + interface GetPromotersInput { + pageModel?: Pagination; + /** 鍒涘缓鐨勫紑濮嬫椂闂� */ + startDate?: string; + /** 鍒涘缓鐨勭粨鏉熸椂闂� */ + endDate?: string; + /** 鎼滅储鍏抽敭璇� */ + searchKey?: string; } interface GetRolesInput { @@ -1081,6 +1268,8 @@ city?: string; /** 瀹㈡埛韬唤璇佸悗6浣嶏紝鍗楃綉蹇呬紶銆� */ sixID?: string; + /** 鎴蜂富濮撳悕 */ + name?: string; } interface LifeElectricDataCreateLifePayOrderInput { @@ -1114,9 +1303,129 @@ productData?: LifeGasData; } + type LifePayChannelAgentType = 1 | 2 | 3; + + type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4; + type LifePayChannelsStatsEnum = 10 | 20; + interface LifePayChannlesRakeListOutput { + /** 缂栧彿 */ + id?: string; + /** 骞冲彴璁㈠崟鍙� */ + orderNo?: string; + /** 鎴愪氦閲戦 */ + payAmount?: number; + /** 娓犻亾浣i噾姣斾緥 */ + channlesRakeRate?: number; + /** 浣i噾 */ + channlesRakePrice?: number; + /** 缁撶畻鏃堕棿 */ + finishTime?: string; + /** 涓嬪崟鏃堕棿 */ + creationTime?: string; + /** 鎷撳睍灞炴�� */ + extraProperties?: string; + /** 涓嬪崟娓犻亾 */ + channelId?: string; + } + + interface LifePayChannlesRakeListOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: LifePayChannlesRakeListOutput[]; + } + + interface LifePayChannlesRakePageInput { + pageModel?: Pagination; + checkChannelId?: string; + /** 鏌ヨ鏉′欢 */ + keyWord?: string; + /** 娓犻亾鍙� */ + channelId?: string; + /** 璧峰涓嬪崟鏃堕棿 */ + creationTimeBegin?: string; + /** 缁撴潫涓嬪崟鏃堕棿 */ + creationTimeEnd?: string; + /** 璧峰缁撶畻鏃堕棿 */ + finishTimeBegin?: string; + /** 缁堟缁撶畻鏃堕棿 */ + finishTimeEnd?: string; + } + 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 { + /** 缂栧彿 */ + id?: string; + /** 骞冲彴璁㈠崟鍙� */ + orderNo?: string; + /** 娓犻亾娴佹按鍙� */ + outOrderNo?: string; + lifePayType?: LifePayTypeEnum; + expensesReceiptsType?: ExpensesReceiptsTypeEnum; + /** 浜ゆ槗閲戦 */ + amount?: number; + /** 浜ゆ槗鏃堕棿 */ + finishTime?: string; + } + + interface LifePayExpensesReceiptsListOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: LifePayExpensesReceiptsListOutput[]; + } + + interface LifePayExpensesReceiptsPageInput { + pageModel?: Pagination; + checkChannelId?: string; + /** 鏌ヨ鏉′欢 */ + keyWord?: string; + lifePayType?: LifePayTypeEnum; + expensesReceiptsType?: ExpensesReceiptsTypeEnum; + /** 浜ゆ槗寮�濮嬫椂闂� */ + timeBegin?: string; + /** 浜ゆ槗缁撴潫鏃堕棿 */ + timeEnd?: string; + } interface LifePayIntroInfoDetail { type?: IntroInfoTypeEnum; @@ -1292,10 +1601,12 @@ interface LifePayPhoneMesssageCodeLoginOutput { /** 鐢ㄦ埛Id */ userId?: string; + /** 鎺ㄥ箍鍛業D */ + promoterIdNumber?: string; /** 鏄惁鏄悗鍙扮敤鎴� */ isBackClientUser?: boolean; /** 娓犻亾鍙� */ - channlesNum?: string[]; + channlesNum?: ChannelOutput[]; } interface LifePayPremiumInput { @@ -1339,12 +1650,10 @@ creationTime?: string; } - interface LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput { + interface LifePayRechargeReceiptsListOutputPageOutput { pageModel?: Pagination; objectData?: any; data?: LifePayRechargeReceiptsListOutput[]; - /** 绱鍏呭�� */ - totalRechargeAmount?: number; } interface LifePayRechargeReceiptsPageInput { @@ -1421,6 +1730,13 @@ type LifePayTypeEnum = 10 | 20; + interface LifePayUserMesssageByIduserInput { + pageModel?: Pagination; + checkChannelId?: string; + /** 鐢ㄦ埛缂栧彿 */ + id?: string; + } + interface LifePhoneData { /** 杩愯惀鍟嗙紪鐮侊紝渚嬪锛�"yidong", "dianxin", "liantong"銆� */ ispCode: string; @@ -1467,6 +1783,12 @@ timestamp?: string; timeExpire?: string; message?: string; + } + + interface ModelWxPayDomesticRefundsAmount { + refund?: number; + total?: number; + currency?: string; } interface ModuleApiDescriptionModel { @@ -1627,6 +1949,7 @@ interface OrderInQuiryInput { outTradeNo?: string; + outRefundNo?: string; } type OrderTypeEnum = 0 | 1; @@ -1685,6 +2008,15 @@ permissions?: PermissionGrantInfoDto[]; } + interface PhoneChargeOrderOutput { + outOrderNo?: string; + busiOrderNo?: string; + parValue?: number; + payAmount?: number; + status?: string; + statusText?: string; + } + interface PhoneParValueOutput { ispCode?: string; ispName?: string; @@ -1726,6 +2058,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; @@ -1737,6 +2094,10 @@ interface ProviderInfoDto { providerName?: string; providerKey?: string; + } + + interface QueryLifePayChannlesInput { + status?: LifePayChannelsStatsEnum; } interface QueryLifePayOrderListInput { @@ -1794,6 +2155,35 @@ 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 QueryUserAccountAllListInput { pageModel?: Pagination; checkChannelId?: string; @@ -1823,6 +2213,20 @@ loginTimeBegin?: string; /** 鐧诲綍缁撴潫鏃堕棿 */ loginTimeEnd?: string; + } + + interface ReceiptsDetail { + /** 鍒涘缓鏃堕棿 */ + creationTime?: string; + /** 閲戦 */ + amount?: number; + } + + interface ReceiptsListOutPut { + /** 30澶╂敹娆� */ + receiveList?: ReceiptsDetail[]; + /** 30澶╂敹鍏� */ + incomeList?: ReceiptsDetail[]; } interface RefundLifePayOrderInput { @@ -2020,6 +2424,10 @@ timeZone?: TimeZone; } + interface TopStatisticsInput { + channleList?: string[]; + } + interface TopStatisticsOutput { /** 鍒涘缓鏃堕棿 */ creationTime?: string; @@ -2043,6 +2451,8 @@ accumulatedUsers?: number; /** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */ yesterdayActiveUsers?: number; + /** 绱浣i噾 */ + accumulatedChannlesRakePrice?: number; } interface TradeFundBill { @@ -2170,6 +2580,8 @@ interface UserChannleDto { /** 娓犻亾Id */ id?: string; + /** 娓犻亾num */ + channlesNum?: string; /** 娓犻亾鍚� */ name?: string; } @@ -2351,6 +2763,34 @@ unionId?: string; } + interface WxPayDomesticRefundsQueryReponse { + code?: string; + message?: string; + refundId?: string; + refundStatus?: string; + downloadUrl?: string; + transactionId?: string; + outTradeNo?: string; + channel?: string; + userReceivedAccount?: string; + successTime?: string; + createTime?: string; + status?: string; + amount?: ModelWxPayDomesticRefundsAmount; + } + + interface WxPayTradeQueryReponse { + code?: string; + message?: string; + outTradeNo?: string; + transactionId?: string; + tradeType?: string; + tradeState?: string; + tradeStateDesc?: string; + successTime?: string; + amount?: ModelWxPayDomesticRefundsAmount; + } + interface WxRechargeNotifyInput { id: string; createTime: string; -- Gitblit v1.9.1