From 074b4c463c4be9bf5df11fa08779a523fdb983b1 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 01 四月 2025 17:11:01 +0800 Subject: [PATCH] fix: 四期需求 --- packages/services/api/typings.d.ts | 155 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 151 insertions(+), 4 deletions(-) diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts index f3befa6..6408be4 100644 --- a/packages/services/api/typings.d.ts +++ b/packages/services/api/typings.d.ts @@ -418,6 +418,10 @@ outTradeNo?: string; } + interface APIwxPayTradeQueryParams { + outTradeNo?: string; + } + interface ApplicationApiDescriptionModel { modules?: Record<string, any>; types?: Record<string, any>; @@ -485,6 +489,14 @@ quickQuery?: string; } + interface BackClientUserInfoOutput { + /** 鏄惁鏄悗鍙扮敤鎴� */ + isBackClientUser?: boolean; + isSystem?: boolean; + /** 娓犻亾鍙� */ + channleList?: ChannelOutput[]; + } + interface BaseAuthorizeDto { moduleType?: number; moduleId?: string; @@ -510,6 +522,13 @@ id2?: string; sortCode2?: number; type?: number; + } + + interface ChannelOutput { + name?: string; + channlesNum?: string; + channlesId?: string; + switchType?: LifePaySwitchTypeEnum; } interface ChannelRateOutput { @@ -716,6 +735,8 @@ properties?: Record<string, any>; configuration?: Record<string, any>; } + + type ExpensesReceiptsTypeEnum = 10 | 20; interface ExtensionEnumDto { fields?: ExtensionEnumFieldDto[]; @@ -1081,6 +1102,8 @@ city?: string; /** 瀹㈡埛韬唤璇佸悗6浣嶏紝鍗楃綉蹇呬紶銆� */ sixID?: string; + /** 鎴蜂富濮撳悕 */ + name?: string; } interface LifeElectricDataCreateLifePayOrderInput { @@ -1116,7 +1139,85 @@ 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 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; @@ -1295,7 +1396,7 @@ /** 鏄惁鏄悗鍙扮敤鎴� */ isBackClientUser?: boolean; /** 娓犻亾鍙� */ - channlesNum?: string[]; + channlesNum?: ChannelOutput[]; } interface LifePayPremiumInput { @@ -1339,12 +1440,10 @@ creationTime?: string; } - interface LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput { + interface LifePayRechargeReceiptsListOutputPageOutput { pageModel?: Pagination; objectData?: any; data?: LifePayRechargeReceiptsListOutput[]; - /** 绱鍏呭�� */ - totalRechargeAmount?: number; } interface LifePayRechargeReceiptsPageInput { @@ -1421,6 +1520,13 @@ type LifePayTypeEnum = 10 | 20; + interface LifePayUserMesssageByIduserInput { + pageModel?: Pagination; + checkChannelId?: string; + /** 鐢ㄦ埛缂栧彿 */ + id?: string; + } + interface LifePhoneData { /** 杩愯惀鍟嗙紪鐮侊紝渚嬪锛�"yidong", "dianxin", "liantong"銆� */ ispCode: string; @@ -1467,6 +1573,12 @@ timestamp?: string; timeExpire?: string; message?: string; + } + + interface ModelWxPayDomesticRefundsAmount { + refund?: number; + total?: number; + currency?: string; } interface ModuleApiDescriptionModel { @@ -1627,6 +1739,7 @@ interface OrderInQuiryInput { outTradeNo?: string; + outRefundNo?: string; } type OrderTypeEnum = 0 | 1; @@ -2020,6 +2133,10 @@ timeZone?: TimeZone; } + interface TopStatisticsInput { + channleList?: string[]; + } + interface TopStatisticsOutput { /** 鍒涘缓鏃堕棿 */ creationTime?: string; @@ -2170,6 +2287,8 @@ interface UserChannleDto { /** 娓犻亾Id */ id?: string; + /** 娓犻亾num */ + channlesNum?: string; /** 娓犻亾鍚� */ name?: string; } @@ -2351,6 +2470,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