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 | 207 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 206 insertions(+), 1 deletions(-) diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts index 17297cc..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 { @@ -524,6 +545,51 @@ 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[]; @@ -627,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; @@ -636,6 +726,15 @@ switchType?: LifePaySwitchTypeEnum; status?: LifePayChannelsStatsEnum; channlesType?: LifePayChannlesTypeEnum; + agentType?: LifePayChannelAgentType; + /** 鍖哄煙-鐪両d */ + areaProvinceId?: number; + /** 鍖哄煙-甯侷d */ + areaCityId?: number; + /** 鎺ㄥ箍鍛業D */ + promoterIdNumber?: string; + /** 鎺ㄥ箍鍛� */ + promoterName?: string; } interface CreateEditPayChannelsInputPageOutput { @@ -646,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 { @@ -917,6 +1031,16 @@ queryCondition?: string; } + interface GetChannelConsultationsInput { + pageModel?: Pagination; + /** 鍒涘缓鐨勫紑濮嬫椂闂� */ + startDate?: string; + /** 鍒涘缓鐨勭粨鏉熸椂闂� */ + endDate?: string; + /** 鎼滅储鍏抽敭璇� */ + searchKey?: string; + } + interface GetFeatureListResultDto { groups?: FeatureGroupDto[]; } @@ -946,6 +1070,16 @@ interface GetPermissionListResultDto { entityDisplayName?: string; groups?: PermissionGroupDto[]; + } + + interface GetPromotersInput { + pageModel?: Pagination; + /** 鍒涘缓鐨勫紑濮嬫椂闂� */ + startDate?: string; + /** 鍒涘缓鐨勭粨鏉熸椂闂� */ + endDate?: string; + /** 鎼滅储鍏抽敭璇� */ + searchKey?: string; } interface GetRolesInput { @@ -1168,6 +1302,10 @@ channelId?: string; productData?: LifeGasData; } + + type LifePayChannelAgentType = 1 | 2 | 3; + + type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4; type LifePayChannelsStatsEnum = 10 | 20; @@ -1463,6 +1601,8 @@ interface LifePayPhoneMesssageCodeLoginOutput { /** 鐢ㄦ埛Id */ userId?: string; + /** 鎺ㄥ箍鍛業D */ + promoterIdNumber?: string; /** 鏄惁鏄悗鍙扮敤鎴� */ isBackClientUser?: boolean; /** 娓犻亾鍙� */ @@ -1868,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; @@ -1907,6 +2056,31 @@ phoneNumber?: string; isExternal?: boolean; 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 { @@ -1979,6 +2153,35 @@ pageModel?: Pagination; typeId?: string; 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 { @@ -2248,6 +2451,8 @@ accumulatedUsers?: number; /** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */ yesterdayActiveUsers?: number; + /** 绱浣i噾 */ + accumulatedChannlesRakePrice?: number; } interface TradeFundBill { -- Gitblit v1.9.1