zhengyiming
2025-06-10 2c4474b33be9a9a5a045616c41e2b0074f6d8d4a
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 {
    /** 回访人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 +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 {
    /** 客户端用户Id 如有 */
    userId?: string;
    /** 推广人Id */
    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;
    /** 区域-省Id */
    areaProvinceId?: number;
    /** 区域-市Id */
    areaCityId?: number;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 推广员 */
    promoterName?: string;
  }
  interface CreateEditPayChannelsInputPageOutput {
@@ -595,6 +745,28 @@
  interface CreateLifePayOrderOutput {
    orderNo?: string;
  }
  interface CreateOrUpdatePromoterInput {
    /** Id */
    id?: string;
    /** 客户端用户Id 如有 */
    userId?: string;
    /** ID */
    idNumber?: string;
    /** 推广员 */
    name?: string;
    /** 联系方式 */
    phoneNumber?: string;
    /** 备注 */
    remark?: string;
  }
  interface CreateOrUpdatePromoterOutput {
    /** Id */
    id?: string;
    /** IdNumber */
    idNumber?: string;
  }
  interface CreateOrUpdateRoleInput {
@@ -716,6 +888,8 @@
    properties?: Record<string, any>;
    configuration?: Record<string, any>;
  }
  type ExpensesReceiptsTypeEnum = 10 | 20;
  interface ExtensionEnumDto {
    fields?: ExtensionEnumFieldDto[];
@@ -864,6 +1038,16 @@
    queryCondition?: string;
  }
  interface GetChannelConsultationsInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetFeatureListResultDto {
    groups?: FeatureGroupDto[];
  }
@@ -893,6 +1077,16 @@
  interface GetPermissionListResultDto {
    entityDisplayName?: string;
    groups?: PermissionGroupDto[];
  }
  interface GetPromotersInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetRolesInput {
@@ -1081,6 +1275,8 @@
    city?: string;
    /** 客户身份证后6位,南网必传。 */
    sixID?: string;
    /** 户主姓名 */
    name?: string;
  }
  interface LifeElectricDataCreateLifePayOrderInput {
@@ -1114,9 +1310,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 +1608,12 @@
  interface LifePayPhoneMesssageCodeLoginOutput {
    /** 用户Id */
    userId?: string;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    /** 渠道号 */
    channlesNum?: string[];
    channlesNum?: ChannelOutput[];
  }
  interface LifePayPremiumInput {
@@ -1339,12 +1657,10 @@
    creationTime?: string;
  }
  interface LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput {
  interface LifePayRechargeReceiptsListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: LifePayRechargeReceiptsListOutput[];
    /** 累计充值 */
    totalRechargeAmount?: number;
  }
  interface LifePayRechargeReceiptsPageInput {
@@ -1421,6 +1737,13 @@
  type LifePayTypeEnum = 10 | 20;
  interface LifePayUserMesssageByIduserInput {
    pageModel?: Pagination;
    checkChannelId?: string;
    /** 用户编号 */
    id?: string;
  }
  interface LifePhoneData {
    /** 运营商编码,例如:"yidong", "dianxin", "liantong"。 */
    ispCode: string;
@@ -1467,6 +1790,12 @@
    timestamp?: string;
    timeExpire?: string;
    message?: string;
  }
  interface ModelWxPayDomesticRefundsAmount {
    refund?: number;
    total?: number;
    currency?: string;
  }
  interface ModuleApiDescriptionModel {
@@ -1627,6 +1956,7 @@
  interface OrderInQuiryInput {
    outTradeNo?: string;
    outRefundNo?: string;
  }
  type OrderTypeEnum = 0 | 1;
@@ -1685,6 +2015,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 +2065,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 +2101,10 @@
  interface ProviderInfoDto {
    providerName?: string;
    providerKey?: string;
  }
  interface QueryLifePayChannlesInput {
    status?: LifePayChannelsStatsEnum;
  }
  interface QueryLifePayOrderListInput {
@@ -1794,6 +2162,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 +2220,20 @@
    loginTimeBegin?: string;
    /** 登录结束时间 */
    loginTimeEnd?: string;
  }
  interface ReceiptsDetail {
    /** 创建时间 */
    creationTime?: string;
    /** 金额 */
    amount?: number;
  }
  interface ReceiptsListOutPut {
    /** 30天收款 */
    receiveList?: ReceiptsDetail[];
    /** 30天收入 */
    incomeList?: ReceiptsDetail[];
  }
  interface RefundLifePayOrderInput {
@@ -2020,6 +2431,10 @@
    timeZone?: TimeZone;
  }
  interface TopStatisticsInput {
    channleList?: string[];
  }
  interface TopStatisticsOutput {
    /** 创建时间 */
    creationTime?: string;
@@ -2043,6 +2458,8 @@
    accumulatedUsers?: number;
    /** 昨日活跃用户 */
    yesterdayActiveUsers?: number;
    /** 累计佣金 */
    accumulatedChannlesRakePrice?: number;
  }
  interface TradeFundBill {
@@ -2170,6 +2587,8 @@
  interface UserChannleDto {
    /** 渠道Id */
    id?: string;
    /** 渠道num */
    channlesNum?: string;
    /** 渠道名 */
    name?: string;
  }
@@ -2351,6 +2770,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;