|  |  | 
 |  |  | import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios'; | 
 |  |  | import { IRequest, BlLifeRechargeServicesOptions } from './types'; | 
 |  |  | import { BlLifeRechargeServicesOptions } from './types'; | 
 |  |  | import { LifeRechargeConstants } from './lifeRechargeConstants'; | 
 |  |  | import { Request, IRequest } from 'senior-request'; | 
 |  |  | import { BlLifeRecharge } from './lifeRecharge'; | 
 |  |  |  | 
 |  |  | export interface RequestConfig {} | 
 |  |  |  | 
 |  |  | export class BlLifeRechargeServices<T extends IRequest> { | 
 |  |  |   private request: T; | 
 |  |  |   request2: T; | 
 |  |  |   constructor({ request, axiosOptions }: BlLifeRechargeServicesOptions<T>) { | 
 |  |  |     this.request = request; | 
 |  |  |     const axiosInstance = axios.create(axiosOptions); | 
 |  |  |     // @ts-expect-error | 
 |  |  |     this.request2 = (url: string, opts: any = { method: 'GET' }) => { | 
 |  |  |       return new Promise((resolve, reject) => { | 
 |  |  |         axiosInstance | 
 |  |  |           .request({ ...opts, url }) | 
 |  |  |           .then((res) => { | 
 |  |  |             //@ts-ignore | 
 |  |  |             resolve(res); | 
 |  |  |           }) | 
 |  |  |           .catch((error) => { | 
 |  |  |             try { | 
 |  |  |               // const handler = config?.errorConfig?.errorHandler; | 
 |  |  |               // if (handler) { | 
 |  |  |               //   handler(error, opts, config); | 
 |  |  |               // } | 
 |  |  |             } catch (e) { | 
 |  |  |               reject(e); | 
 |  |  | export class BlLifeRechargeServices<TResponse = any, TRequestOptions = any> { | 
 |  |  |   private request: IRequest; | 
 |  |  |   ctx: BlLifeRecharge<TResponse, TRequestOptions>; | 
 |  |  |  | 
 |  |  |   constructor( | 
 |  |  |     ctx: BlLifeRecharge<TResponse, TRequestOptions>, | 
 |  |  |     { axiosConfig }: BlLifeRechargeServicesOptions<TResponse, TRequestOptions> | 
 |  |  |   ) { | 
 |  |  |     this.ctx = ctx; | 
 |  |  |     this.request = Request.create({ | 
 |  |  |       ...axiosConfig, | 
 |  |  |       // baseURL: process.env.NODE_ENV === 'development' ? '/' : 'https://api.81812333.com', | 
 |  |  |       requestInterceptors: [ | 
 |  |  |         [ | 
 |  |  |           (config) => { | 
 |  |  |             if (config.params) { | 
 |  |  |               config.params.checkChannelId = this.ctx.accountModel.channlesNum; | 
 |  |  |             } | 
 |  |  |             reject(error); | 
 |  |  |           }); | 
 |  |  |       }); | 
 |  |  |     }; | 
 |  |  |             if (config.data) { | 
 |  |  |               config.data.checkChannelId = this.ctx.accountModel.channlesNum; | 
 |  |  |             } | 
 |  |  |             return config; | 
 |  |  |           }, | 
 |  |  |         ], | 
 |  |  |         ...axiosConfig.requestInterceptors, | 
 |  |  |       ], | 
 |  |  |       timeout: 10 * 1000, | 
 |  |  |       headers: { | 
 |  |  |         Accept: 'application/json, text/plain, */*', | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |         'X-Requested-With': 'XMLHttpRequest', | 
 |  |  |       }, | 
 |  |  |       withCredentials: true, | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   async lifePayPhoneMesssageCodeLogin(body: PhoneMesssageCodeLoginInput, options?: RequestConfig) { | 
 |  |  |     return this.request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |     return this.request<LifePayPhoneMesssageCodeLoginOutput>( | 
 |  |  |       '/api/Account/LifePayPhoneMesssageCodeLogin', | 
 |  |  |       { | 
 |  |  |         method: 'POST', | 
 |  |  |         headers: { | 
 |  |  |           'Content-Type': 'application/json', | 
 |  |  |         }, | 
 |  |  |         data: body, | 
 |  |  |         ...(options || {}), | 
 |  |  |       } | 
 |  |  |     ); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取折扣 GET /api/LifePay/GetRate */ | 
 |  |  | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取电费充值区域 GET /api/LifePay/GetElectricSupportArea */ | 
 |  |  |   async getElectricSupportArea(options?: RequestConfig) { | 
 |  |  |   async getElectricSupportArea(body: ChannelsBaseInput, options?: RequestConfig) { | 
 |  |  |     return this.request<ElectricSupportAreaResponse>('/api/LifePay/GetElectricSupportArea', { | 
 |  |  |       method: 'GET', | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取电费面值 GET /api/LifePay/GetElectricParValue */ | 
 |  |  |   async getElectricParValue(options?: RequestConfig) { | 
 |  |  |   /** 获取电费面值 POST /api/LifePay/GetElectricParValue */ | 
 |  |  |   async getElectricParValue(body: ChannelsBaseInput, options?: RequestConfig) { | 
 |  |  |     return this.request<ElectricParValueResponse>('/api/LifePay/GetElectricParValue', { | 
 |  |  |       method: 'GET', | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取话费面值 GET /api/LifePay/GetPhoneParValue */ | 
 |  |  |   async getPhoneParValue(options?: RequestConfig) { | 
 |  |  |   async getPhoneParValue(body: ChannelsBaseInput, options?: RequestConfig) { | 
 |  |  |     return this.request<PhoneParValueResponse>('/api/LifePay/GetPhoneParValue', { | 
 |  |  |       method: 'GET', | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 根据订单号获取支付状态 GET /api/LifePay/GetPayStatusByOrderNo */ | 
 |  |  |   async getPayStatusByOrderNo(params: APIgetPayStatusByOrderNoParams, options?: RequestConfig) { | 
 |  |  |   async getPayStatusByOrderNo(body: GetPayStatusByOrderNoInput, options?: RequestConfig) { | 
 |  |  |     return this.request<LifeRechargeConstants.LifePayStatusEnum>( | 
 |  |  |       '/api/LifePay/GetPayStatusByOrderNo', | 
 |  |  |       { | 
 |  |  |         method: 'GET', | 
 |  |  |         params: { | 
 |  |  |           ...params, | 
 |  |  |         method: 'POST', | 
 |  |  |         headers: { | 
 |  |  |           'Content-Type': 'application/json', | 
 |  |  |         }, | 
 |  |  |         data: body, | 
 |  |  |         ...(options || {}), | 
 |  |  |       } | 
 |  |  |     ); | 
 |  |  | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取我的全部户号列表 POST /api/LifePay/GetUserAccountAllList */ | 
 |  |  |   async getUserAccountAllList(body: QueryUserAccountAllListInput, options?: RequestConfig) { | 
 |  |  |     return this.request<UserAccountListOutput[]>('/api/LifePay/GetUserAccountAllList', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取我的户号列表 POST /api/LifePay/GetUserAccountList */ | 
 |  |  |   async getUserAccountList(body: QueryUserAccountListInput, options?: RequestConfig) { | 
 |  |  |     return this.request<UserAccountListOutputPageOutput>('/api/LifePay/GetUserAccountList', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 添加或修改我的户号 POST /api/LifePay/AddUpdateUserAccount */ | 
 |  |  |   async addUpdateUserAccount(body: AddUpdateUserAccountInput, options?: RequestConfig) { | 
 |  |  |     return this.request<number>('/api/LifePay/AddUpdateUserAccount', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 创建生活缴费燃气订单 POST /api/LifePay/CreateLifePayGasOrder */ | 
 |  |  |   async createLifePayGasOrder(body: LifeGasDataCreateLifePayOrderInput, options?: RequestConfig) { | 
 |  |  |     return this.request<CreateLifePayOrderOutput>('/api/LifePay/CreateLifePayGasOrder', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取燃气面值 GET /api/LifePay/GetGasParValue */ | 
 |  |  |   async getGasParValue(body: ChannelsBaseInput, options?: RequestConfig) { | 
 |  |  |     return this.request<GasParValueResponse>('/api/LifePay/GetGasParValue', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 用户发起生活缴费退款 POST /api/LifePay/RefundUserLifePayOrder */ | 
 |  |  |   async refundUserLifePayOrder(body: RefundUserLifePayOrderInput, options?: RequestConfig) { | 
 |  |  |     return this.request<number>('/api/LifePay/RefundUserLifePayOrder', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 删除我的户号 POST /api/LifePay/DeleteUserAccount */ | 
 |  |  |   async deleteUserAccount( | 
 |  |  |     // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |     params: APIdeleteUserAccountParams, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<number>('/api/LifePay/DeleteUserAccount', { | 
 |  |  |       method: 'POST', | 
 |  |  |       params: { | 
 |  |  |         ...params, | 
 |  |  |       }, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取我的户号详情 GET /api/LifePay/GetUserAccountDetail */ | 
 |  |  |   async getUserAccountDetail( | 
 |  |  |     // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |     params: APIgetUserAccountDetailParams, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<UserAccountOutput>('/api/LifePay/GetUserAccountDetail', { | 
 |  |  |       method: 'GET', | 
 |  |  |       params: { | 
 |  |  |         ...params, | 
 |  |  |       }, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取我的订单详情 GET /api/LifePay/GetUserLifePayOrderDetail */ | 
 |  |  |   async getUserLifePayOrderDetail( | 
 |  |  |     // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |     params: APIgetUserLifePayOrderDetailParams, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<UserLifePayOrderOutput>('/api/LifePay/GetUserLifePayOrderDetail', { | 
 |  |  |       method: 'GET', | 
 |  |  |       params: { | 
 |  |  |         ...params, | 
 |  |  |       }, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 搜索管理--列表(区域管理) GET /api/Area/GetRegionalManagementList */ | 
 |  |  |   async getRegionalManagementList(options?: RequestConfig) { | 
 |  |  |     return this.request<AreaInfo[]>('/api/Area/GetRegionalManagementList', { | 
 |  |  |       method: 'GET', | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取须知 GET /api/LifePay/GetIntroInfo */ | 
 |  |  |   async getIntroInfo(params: APIgetIntroInfoParams, options?: RequestConfig) { | 
 |  |  |     return this.request<LifePayIntroInfoOutput[]>('/api/LifePay/GetIntroInfo', { | 
 |  |  |       method: 'GET', | 
 |  |  |       params: { | 
 |  |  |         ...params, | 
 |  |  |       }, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取渠道折扣 GET /api/LifePay/GetChannelRate */ | 
 |  |  |   async getChannelRate(body: ChannelsBaseInput, options?: RequestConfig) { | 
 |  |  |     return this.request<ChannelRateOutput>('/api/LifePay/GetChannelRate', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取在线客服 GET /api/LifePay/GetOnlineService */ | 
 |  |  |   async getOnlineService(options?: RequestConfig) { | 
 |  |  |     return this.request<string>('/api/LifePay/GetOnlineService', { | 
 |  |  |       method: 'GET', | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取全部缴费渠道 GET /api/LifePay/GetLifePayChannlesAllList */ | 
 |  |  |   async getLifePayChannlesAllList(body: QueryLifePayChannlesInput, options?: RequestConfig) { | 
 |  |  |     return this.request<CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 根据用户ID获取用户是否为后台管理员 POST /api/Account/LifePayUserMesssageByIduser */ | 
 |  |  |   async lifePayUserMesssageByIduser( | 
 |  |  |     body: LifePayUserMesssageByIduserInput, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<LifePayPhoneMesssageCodeLoginOutput>( | 
 |  |  |       '/api/Account/LifePayUserMesssageByIduser', | 
 |  |  |       { | 
 |  |  |         method: 'POST', | 
 |  |  |         headers: { | 
 |  |  |           'Content-Type': 'application/json', | 
 |  |  |         }, | 
 |  |  |         data: body, | 
 |  |  |         ...(options || {}), | 
 |  |  |       } | 
 |  |  |     ); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取顶部统计数据 GET /api/LifePay/GetTopStatistics */ | 
 |  |  |   async getTopStatistics( | 
 |  |  |     // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |     body: TopStatisticsInput, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<TopStatisticsOutput>('/api/LifePay/GetTopStatistics', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 点击数+1 POST /api/Promoter/SetClickCount */ | 
 |  |  |   async setClickCount( | 
 |  |  |     // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |     params: APIsetClickCountParams, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<any>('/api/Promoter/SetClickCount', { | 
 |  |  |       method: 'POST', | 
 |  |  |       params: { | 
 |  |  |         ...params, | 
 |  |  |       }, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 申请渠道咨询 POST /api/Promoter/CreateChannelConsultation */ | 
 |  |  |   async createChannelConsultation(body: CreateChannelConsultationInput, options?: RequestConfig) { | 
 |  |  |     return this.request<string>('/api/Promoter/CreateChannelConsultation', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */ | 
 |  |  |   async createOrUpdatePromoter(body: CreateOrUpdatePromoterInput, options?: RequestConfig) { | 
 |  |  |     return this.request<CreateOrUpdatePromoterOutput>('/api/Promoter/CreateOrUpdatePromoter', { | 
 |  |  |       method: 'POST', | 
 |  |  |       headers: { | 
 |  |  |         'Content-Type': 'application/json', | 
 |  |  |       }, | 
 |  |  |       data: body, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取渠道咨询Id GET /api/Promoter/GetChannelConsultationById */ | 
 |  |  |   async getChannelConsultationById( | 
 |  |  |     // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |     params: APIgetChannelConsultationByIdParams, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<ChannelConsultationDto>('/api/Promoter/GetChannelConsultationById', { | 
 |  |  |       method: 'GET', | 
 |  |  |       params: { | 
 |  |  |         ...params, | 
 |  |  |       }, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   /** 获取推广员信息 GET /api/Promoter/GetPromoter */ | 
 |  |  |   async getPromoter( | 
 |  |  |     // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
 |  |  |     params: APIgetPromoterParams, | 
 |  |  |     options?: RequestConfig | 
 |  |  |   ) { | 
 |  |  |     return this.request<PromoterDto>('/api/Promoter/GetPromoter', { | 
 |  |  |       method: 'GET', | 
 |  |  |       params: { | 
 |  |  |         ...params, | 
 |  |  |       }, | 
 |  |  |       ...(options || {}), | 
 |  |  |     }); | 
 |  |  |   } | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface PhoneMesssageCodeLoginInput { | 
 |  |  |   /** 手机号 */ | 
 |  |  |   phoneNumber: string; | 
 |  |  |   /** 验证码 */ | 
 |  |  |   code: string; | 
 |  |  |   // code: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface LifePayRateListOutput { | 
 |  |  | 
 |  |  |  | 
 |  |  | export interface LifePhoneDataCreateLifePayOrderInput { | 
 |  |  |   userId?: string; | 
 |  |  |   /** 渠道Id */ | 
 |  |  |   channelId?: string; | 
 |  |  |   productData?: LifePhoneData; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  | export interface LifeElectricDataCreateLifePayOrderInput { | 
 |  |  |   userId?: string; | 
 |  |  |   /** 渠道Id */ | 
 |  |  |   channelId?: string; | 
 |  |  |   productData?: LifeElectricData; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | 
 |  |  |   creationTime?: string; | 
 |  |  |   /** 退款时间 */ | 
 |  |  |   refundTime?: string; | 
 |  |  |   /** 退款申请时间 */ | 
 |  |  |   refundApplyTime?: string; | 
 |  |  |   /** 退款凭证 */ | 
 |  |  |   refundCredentialsImgUrl?: string; | 
 |  |  |   refundApplyRemark?: string; | 
 |  |  |   refundCheckRemark?: string; | 
 |  |  |   /** 渠道流水号 */ | 
 |  |  |   acoolyOrderNo?: string; | 
 |  |  |   frontStatus?: LifeRechargeConstants.LifePayOrderFrontStatusEnum; | 
 |  |  |   lifePayRefundStatus?: LifeRechargeConstants.LifePayRefundStatusEnum; | 
 |  |  |   acoolyStatus?: LifeRechargeConstants.ACOOLYStatusEnum; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface ElectricSupportAreaResponse { | 
 |  |  | 
 |  |  |   lifePayType?: LifeRechargeConstants.LifePayTypeEnum; | 
 |  |  |   openId?: string; | 
 |  |  |   attach?: string; | 
 |  |  |   payAppId?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface ModelPaymentMiniPay { | 
 |  |  | 
 |  |  |   timeExpire?: string; | 
 |  |  |   message?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface QueryUserAccountAllListInput { | 
 |  |  |   /** 用户Id */ | 
 |  |  |   userId?: string; | 
 |  |  |   lifePayOrderType?: LifeRechargeConstants.LifePayOrderTypeEnum; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface UserAccountListOutput { | 
 |  |  |   id?: string; | 
 |  |  |   lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum; | 
 |  |  |   /** 运营商 */ | 
 |  |  |   operators?: string; | 
 |  |  |   /** 手机号/户号 */ | 
 |  |  |   content?: string; | 
 |  |  |   /** 省 */ | 
 |  |  |   province?: string; | 
 |  |  |   /** 市 */ | 
 |  |  |   city?: string; | 
 |  |  |   /** 拓展字段(电费类型) */ | 
 |  |  |   extraProperties?: string; | 
 |  |  |   /** 备注 */ | 
 |  |  |   remark?: string; | 
 |  |  |   /** 创建时间 */ | 
 |  |  |   creationTime?: string; | 
 |  |  |   isDeleted?: boolean; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface AddUpdateUserAccountInput { | 
 |  |  |   id?: string; | 
 |  |  |   /** 用户编号 */ | 
 |  |  |   userId?: string; | 
 |  |  |   lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum; | 
 |  |  |   /** 运营商 */ | 
 |  |  |   operators?: string; | 
 |  |  |   /** 手机号/户号 */ | 
 |  |  |   content?: string; | 
 |  |  |   /** 省 */ | 
 |  |  |   province?: string; | 
 |  |  |   /** 市 */ | 
 |  |  |   city?: string; | 
 |  |  |   /** 拓展字段(电费类型) */ | 
 |  |  |   extraProperties?: string; | 
 |  |  |   /** 备注 */ | 
 |  |  |   remark?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface LifeGasDataCreateLifePayOrderInput { | 
 |  |  |   userId?: string; | 
 |  |  |   /** 渠道Id */ | 
 |  |  |   channelId?: string; | 
 |  |  |   productData?: LifeGasData; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface LifeGasData { | 
 |  |  |   /** 充值面额,单位为元。 */ | 
 |  |  |   parValue: number; | 
 |  |  |   /** 天然气公司类型,"zhong_ran"代表中燃燃气,"bei_jing"代表北京燃气。 */ | 
 |  |  |   gasOrgType: string; | 
 |  |  |   /** 燃气户号 */ | 
 |  |  |   gasAccount: string; | 
 |  |  |   /** 省份 */ | 
 |  |  |   province: string; | 
 |  |  |   /** 城市 */ | 
 |  |  |   city?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface GasParValueResponse { | 
 |  |  |   success?: boolean; | 
 |  |  |   requestNo?: string; | 
 |  |  |   partnerId?: string; | 
 |  |  |   service?: string; | 
 |  |  |   version?: string; | 
 |  |  |   protocol?: string; | 
 |  |  |   context?: string; | 
 |  |  |   ext?: any; | 
 |  |  |   code?: string; | 
 |  |  |   message?: string; | 
 |  |  |   detail?: string; | 
 |  |  |   gasParValue?: GasParValueOutput[]; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface GasParValueOutput { | 
 |  |  |   gasOrgName?: string; | 
 |  |  |   gasOrgCode?: string; | 
 |  |  |   parValue?: string[]; | 
 |  |  |   rate?: number; | 
 |  |  |   comments?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface RefundUserLifePayOrderInput { | 
 |  |  |   id?: string; | 
 |  |  |   /** 用户Id */ | 
 |  |  |   userId?: string; | 
 |  |  |   refundApplyRemark?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface QueryUserAccountListInput { | 
 |  |  |   pageModel?: Pagination; | 
 |  |  |   /** 用户Id */ | 
 |  |  |   userId?: string; | 
 |  |  |   lifePayOrderType?: LifeRechargeConstants.LifePayOrderTypeEnum; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface UserAccountListOutputPageOutput { | 
 |  |  |   pageModel?: Pagination; | 
 |  |  |   objectData?: any; | 
 |  |  |   data?: UserAccountListOutput[]; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface APIdeleteUserAccountParams { | 
 |  |  |   id?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface APIgetUserAccountDetailParams { | 
 |  |  |   id?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface UserAccountOutput { | 
 |  |  |   id?: string; | 
 |  |  |   lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum; | 
 |  |  |   /** 运营商 */ | 
 |  |  |   operators?: string; | 
 |  |  |   /** 手机号/户号 */ | 
 |  |  |   content?: string; | 
 |  |  |   /** 省 */ | 
 |  |  |   province?: string; | 
 |  |  |   /** 市 */ | 
 |  |  |   city?: string; | 
 |  |  |   /** 拓展字段(电费类型) */ | 
 |  |  |   extraProperties?: string; | 
 |  |  |   /** 备注 */ | 
 |  |  |   remark?: string; | 
 |  |  |   /** 创建时间 */ | 
 |  |  |   creationTime?: string; | 
 |  |  |   isDeleted?: boolean; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface APIgetUserLifePayOrderDetailParams { | 
 |  |  |   orderNo?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface ChannelsBaseInput { | 
 |  |  |   checkChannelId?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface AreaInfo { | 
 |  |  |   areaCode?: number; | 
 |  |  |   parentId?: number; | 
 |  |  |   areaName?: string; | 
 |  |  |   /** 1省 2市 3区 4镇 */ | 
 |  |  |   layer?: number; | 
 |  |  |   sort?: number; | 
 |  |  |   children?: AreaInfo[]; | 
 |  |  |   /** 简易拼音 */ | 
 |  |  |   simpleSpelling?: string; | 
 |  |  |   /** 快速检索 */ | 
 |  |  |   quickQuery?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface GetPayStatusByOrderNoInput { | 
 |  |  |   checkChannelId?: string; | 
 |  |  |   orderNo?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface APIgetIntroInfoParams { | 
 |  |  |   type?: LifeRechargeConstants.LifePayOrderTypeEnum; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface LifePayIntroInfoOutput { | 
 |  |  |   type?: IntroInfoTypeEnum; | 
 |  |  |   lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum; | 
 |  |  |   /** 摘要 */ | 
 |  |  |   contentSummary?: string; | 
 |  |  |   /** 文本内容 */ | 
 |  |  |   content?: string; | 
 |  |  |   /** 图片/视频路径 */ | 
 |  |  |   path?: string; | 
 |  |  |   /** 排序 */ | 
 |  |  |   sequence?: number; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export type IntroInfoTypeEnum = 0 | 1 | 2 | 3 | 4; | 
 |  |  |  | 
 |  |  | export interface ChannelRateOutput { | 
 |  |  |   channlesRate?: number; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface CreateEditPayChannelsInput { | 
 |  |  |   id?: string; | 
 |  |  |   channlesName?: string; | 
 |  |  |   channlesNum?: string; | 
 |  |  |   channlesRate?: number; | 
 |  |  |   channlesRakeRate?: number; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface LifePayPhoneMesssageCodeLoginOutput { | 
 |  |  |   /** 用户Id */ | 
 |  |  |   userId?: string; | 
 |  |  |   /** 推广员ID */ | 
 |  |  |   promoterIdNumber?: string; | 
 |  |  |   /** 是否是后台用户 */ | 
 |  |  |   isBackClientUser?: boolean; | 
 |  |  |   /** 渠道号 */ | 
 |  |  |   channlesNum?: ChannelOutput[]; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface ChannelOutput { | 
 |  |  |   name?: string; | 
 |  |  |   channlesNum?: string; | 
 |  |  |   channlesId?: string; | 
 |  |  |   switchType?: LifeRechargeConstants.LifePaySwitchTypeEnum; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface LifePayUserMesssageByIduserInput { | 
 |  |  |   pageModel?: Pagination; | 
 |  |  |   checkChannelId?: string; | 
 |  |  |   /** 用户编号 */ | 
 |  |  |   id?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface TopStatisticsInput { | 
 |  |  |   channleList?: string[]; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface TopStatisticsOutput { | 
 |  |  |   /** 创建时间 */ | 
 |  |  |   creationTime?: string; | 
 |  |  |   /** 账户余额 */ | 
 |  |  |   amount?: number; | 
 |  |  |   /** 累计收款 */ | 
 |  |  |   accumulatedReceipts?: number; | 
 |  |  |   /** 昨日收款 */ | 
 |  |  |   receiptsYesterday?: number; | 
 |  |  |   /** 累计收入 */ | 
 |  |  |   accumulatedIncome?: number; | 
 |  |  |   /** 累计下单 */ | 
 |  |  |   accumulatedOrders?: number; | 
 |  |  |   /** 昨日下单 */ | 
 |  |  |   ordersNumYesterday?: number; | 
 |  |  |   /** 昨日成功 */ | 
 |  |  |   yesterdaySuccess?: number; | 
 |  |  |   /** 昨日失败 */ | 
 |  |  |   yesterdayFail?: number; | 
 |  |  |   /** 累计用户 */ | 
 |  |  |   accumulatedUsers?: number; | 
 |  |  |   /** 昨日活跃用户 */ | 
 |  |  |   yesterdayActiveUsers?: number; | 
 |  |  |   /** 累计佣金 */ | 
 |  |  |   accumulatedChannlesRakePrice?: number; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface QueryLifePayChannlesInput { | 
 |  |  |   status?: LifeRechargeConstants.LifePayChannelsStatsEnum; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface APIsetClickCountParams { | 
 |  |  |   idnumber?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface CreateChannelConsultationInput { | 
 |  |  |   /** 客户端用户Id 如有 */ | 
 |  |  |   userId?: string; | 
 |  |  |   /** 推广人Id */ | 
 |  |  |   idNumber?: string; | 
 |  |  |   /** 咨询人 */ | 
 |  |  |   name?: string; | 
 |  |  |   agentType?: LifeRechargeConstants.LifePayChannelAgentType; | 
 |  |  |   /** 联系方式 */ | 
 |  |  |   phoneNumber?: string; | 
 |  |  |   /** 公司名称 */ | 
 |  |  |   companyName?: string; | 
 |  |  |   /** 客户资源 */ | 
 |  |  |   customerResources?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface CreateOrUpdatePromoterInput { | 
 |  |  |   /** Id */ | 
 |  |  |   id?: string; | 
 |  |  |   /** 客户端用户Id 如有 */ | 
 |  |  |   userId?: string; | 
 |  |  |   /** ID */ | 
 |  |  |   idNumber?: string; | 
 |  |  |   /** 推广员 */ | 
 |  |  |   name?: string; | 
 |  |  |   /** 联系方式 */ | 
 |  |  |   phoneNumber?: string; | 
 |  |  |   /** 备注 */ | 
 |  |  |   remark?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface APIgetChannelConsultationByIdParams { | 
 |  |  |   id?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export type LifePayChannelAgentType = 1 | 2 | 3; | 
 |  |  |  | 
 |  |  | export type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4; | 
 |  |  |  | 
 |  |  | export 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; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface APIgetPromoterParams { | 
 |  |  |   phoneNumber?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface PromoterDto { | 
 |  |  |   /** Id */ | 
 |  |  |   id?: string; | 
 |  |  |   /** 咨询时间 */ | 
 |  |  |   creationTime?: string; | 
 |  |  |   /** ID */ | 
 |  |  |   idNumber?: string; | 
 |  |  |   /** 推广员 */ | 
 |  |  |   name?: string; | 
 |  |  |   /** 联系方式 */ | 
 |  |  |   phoneNumber?: string; | 
 |  |  |   /** 点击数 */ | 
 |  |  |   clickCount?: number; | 
 |  |  |   /** 申请数 */ | 
 |  |  |   applyCount?: number; | 
 |  |  |   /** 备注 */ | 
 |  |  |   remark?: string; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | export interface CreateOrUpdatePromoterOutput { | 
 |  |  |   /** Id */ | 
 |  |  |   id?: string; | 
 |  |  |   /** IdNumber */ | 
 |  |  |   idNumber?: string; | 
 |  |  | } |