zhengyiming
2025-06-09 f01e5949f44c74ce85f74e37658ad848036b6b12
packages/services/api/typings.d.ts
@@ -240,6 +240,11 @@
    orderNo?: string;
  }
  interface APIgetChannelConsultationFollowupListParams {
    /** 渠道咨询Id */
    id?: string;
  }
  interface APIgetCountParams {
    filter?: string;
  }
@@ -360,6 +365,10 @@
    maxResultCount?: number;
  }
  interface APIsetClickCountParams {
    idnumber?: string;
  }
  interface APIsetForRoleParams {
    roleName?: string;
    permissionName?: string;
@@ -373,6 +382,10 @@
  interface APIsetLifePayChannelsStatusParams {
    id?: string;
    status?: LifePayChannelsStatsEnum;
  }
  interface APIstatisticsByDateParams {
    days?: number;
  }
  interface APItestAliRechargeNotifyParams {
@@ -415,6 +428,10 @@
  }
  interface APIwxPayDomesticRefundsQueryParams {
    outTradeNo?: string;
  }
  interface APIwxPayTradeQueryParams {
    outTradeNo?: string;
  }
@@ -485,6 +502,14 @@
    quickQuery?: string;
  }
  interface BackClientUserInfoOutput {
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    isSystem?: boolean;
    /** 渠道号 */
    channleList?: ChannelOutput[];
  }
  interface BaseAuthorizeDto {
    moduleType?: number;
    moduleId?: string;
@@ -512,6 +537,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 {
    /** 回访人Id */
    creatorId?: string;
    /** 回访人 */
    creator?: string;
    followupStatus?: LifePayChannelConsultationFollowupStatus;
    /** 回访记录 */
    followupRemark?: string;
    /** 咨询时间 */
    creationTime?: string;
  }
  interface ChannelDataListOutPut {
    /** Top5渠道收款 */
    receiveList?: ChannelDataReceive[];
    /** Top5渠道用户 */
    userNumberList?: ChannelDataUserNumber[];
  }
  interface ChannelDataReceive {
    /** 渠道名称 */
    channelName?: string;
    /** 收款 */
    receivePrice?: number;
    /** 佣金 */
    channlesRakePrice?: number;
  }
  interface ChannelDataUserNumber {
    /** 渠道名称 */
    channelName?: string;
    /** 用户数量 */
    number?: number;
  }
  interface ChannelOutput {
    name?: string;
    channlesNum?: string;
    channlesId?: string;
    switchType?: LifePaySwitchTypeEnum;
  }
  interface ChannelRateOutput {
    channlesRate?: number;
  }
@@ -519,6 +619,11 @@
  interface ChannelsBaseInput {
    pageModel?: Pagination;
    checkChannelId?: string;
  }
  interface ChannlesRakeListOutPut {
    /** 30天佣金 */
    channlesRakeList?: ReceiptsDetail[];
  }
  interface CheckLoginVerificationCodeInput {
@@ -530,6 +635,10 @@
  interface ClockDto {
    kind?: string;
  }
  type ConsumptionFlowEnum = 10 | 20;
  type ConsumptionFrozenStatusEnum = 10 | 20;
  interface ControllerApiDescriptionModel {
    controllerName?: string;
@@ -576,6 +685,30 @@
    remark?: string;
  }
  interface CreateChannelConsultationFollowupInput {
    /** 渠道咨询Id */
    channelConsultationId?: string;
    followupStatus?: LifePayChannelConsultationFollowupStatus;
    /** 回访记录 */
    followupRemark?: string;
  }
  interface CreateChannelConsultationInput {
    /** 客户端用户Id 如有 */
    userId?: string;
    /** 推广人Id */
    idNumber?: string;
    /** 咨询人 */
    name?: string;
    agentType?: LifePayChannelAgentType;
    /** 联系方式 */
    phoneNumber?: string;
    /** 公司名称 */
    companyName?: string;
    /** 客户资源 */
    customerResources?: string;
  }
  interface CreateEditPayChannelsInput {
    id?: string;
    channlesName?: string;
@@ -585,6 +718,15 @@
    switchType?: LifePaySwitchTypeEnum;
    status?: LifePayChannelsStatsEnum;
    channlesType?: LifePayChannlesTypeEnum;
    agentType?: LifePayChannelAgentType;
    /** 区域-省Id */
    areaProvinceId?: number;
    /** 区域-市Id */
    areaCityId?: number;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 推广员 */
    promoterName?: string;
  }
  interface CreateEditPayChannelsInputPageOutput {
@@ -595,6 +737,21 @@
  interface CreateLifePayOrderOutput {
    orderNo?: string;
  }
  interface CreateOrUpdatePromoterInput {
    /** Id */
    id?: string;
    /** 客户端用户Id 如有 */
    userId?: string;
    /** ID */
    idNumber?: string;
    /** 推广员 */
    name?: string;
    /** 联系方式 */
    phoneNumber?: string;
    /** 备注 */
    remark?: string;
  }
  interface CreateOrUpdateRoleInput {
@@ -716,6 +873,8 @@
    properties?: Record<string, any>;
    configuration?: Record<string, any>;
  }
  type ExpensesReceiptsTypeEnum = 10 | 20;
  interface ExtensionEnumDto {
    fields?: ExtensionEnumFieldDto[];
@@ -864,6 +1023,16 @@
    queryCondition?: string;
  }
  interface GetChannelConsultationsInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetFeatureListResultDto {
    groups?: FeatureGroupDto[];
  }
@@ -893,6 +1062,16 @@
  interface GetPermissionListResultDto {
    entityDisplayName?: string;
    groups?: PermissionGroupDto[];
  }
  interface GetPromotersInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetRolesInput {
@@ -1081,6 +1260,8 @@
    city?: string;
    /** 客户身份证后6位,南网必传。 */
    sixID?: string;
    /** 户主姓名 */
    name?: string;
  }
  interface LifeElectricDataCreateLifePayOrderInput {
@@ -1114,9 +1295,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;
    /** 渠道佣金比例 */
    channlesRakeRate?: number;
    /** 佣金 */
    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;
    /** 扣款金额 */
    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 +1593,12 @@
  interface LifePayPhoneMesssageCodeLoginOutput {
    /** 用户Id */
    userId?: string;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    /** 渠道号 */
    channlesNum?: string[];
    channlesNum?: ChannelOutput[];
  }
  interface LifePayPremiumInput {
@@ -1339,12 +1642,10 @@
    creationTime?: string;
  }
  interface LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput {
  interface LifePayRechargeReceiptsListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: LifePayRechargeReceiptsListOutput[];
    /** 累计充值 */
    totalRechargeAmount?: number;
  }
  interface LifePayRechargeReceiptsPageInput {
@@ -1421,6 +1722,13 @@
  type LifePayTypeEnum = 10 | 20;
  interface LifePayUserMesssageByIduserInput {
    pageModel?: Pagination;
    checkChannelId?: string;
    /** 用户编号 */
    id?: string;
  }
  interface LifePhoneData {
    /** 运营商编码,例如:"yidong", "dianxin", "liantong"。 */
    ispCode: string;
@@ -1467,6 +1775,12 @@
    timestamp?: string;
    timeExpire?: string;
    message?: string;
  }
  interface ModelWxPayDomesticRefundsAmount {
    refund?: number;
    total?: number;
    currency?: string;
  }
  interface ModuleApiDescriptionModel {
@@ -1627,6 +1941,7 @@
  interface OrderInQuiryInput {
    outTradeNo?: string;
    outRefundNo?: string;
  }
  type OrderTypeEnum = 0 | 1;
@@ -1726,6 +2041,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 +2077,10 @@
  interface ProviderInfoDto {
    providerName?: string;
    providerKey?: string;
  }
  interface QueryLifePayChannlesInput {
    status?: LifePayChannelsStatsEnum;
  }
  interface QueryLifePayOrderListInput {
@@ -1823,6 +2167,20 @@
    loginTimeBegin?: string;
    /** 登录结束时间 */
    loginTimeEnd?: string;
  }
  interface ReceiptsDetail {
    /** 创建时间 */
    creationTime?: string;
    /** 金额 */
    amount?: number;
  }
  interface ReceiptsListOutPut {
    /** 30天收款 */
    receiveList?: ReceiptsDetail[];
    /** 30天收入 */
    incomeList?: ReceiptsDetail[];
  }
  interface RefundLifePayOrderInput {
@@ -2020,6 +2378,10 @@
    timeZone?: TimeZone;
  }
  interface TopStatisticsInput {
    channleList?: string[];
  }
  interface TopStatisticsOutput {
    /** 创建时间 */
    creationTime?: string;
@@ -2043,6 +2405,8 @@
    accumulatedUsers?: number;
    /** 昨日活跃用户 */
    yesterdayActiveUsers?: number;
    /** 累计佣金 */
    accumulatedChannlesRakePrice?: number;
  }
  interface TradeFundBill {
@@ -2170,6 +2534,8 @@
  interface UserChannleDto {
    /** 渠道Id */
    id?: string;
    /** 渠道num */
    channlesNum?: string;
    /** 渠道名 */
    name?: string;
  }
@@ -2351,6 +2717,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;