zhengyiming
2025-04-17 60b9c62a3165f304a933cbac304ac3d43a24f722
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;
@@ -512,9 +524,34 @@
    type?: number;
  }
  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 {
@@ -526,6 +563,11 @@
    checkChannelId?: string;
  }
  interface ChannlesRakeListOutPut {
    /** 30天佣金 */
    channlesRakeList?: ReceiptsDetail[];
  }
  interface CheckLoginVerificationCodeInput {
    messageType?: string;
    phoneNumber: string;
@@ -535,6 +577,10 @@
  interface ClockDto {
    kind?: string;
  }
  type ConsumptionFlowEnum = 10 | 20;
  type ConsumptionFrozenStatusEnum = 10 | 20;
  interface ControllerApiDescriptionModel {
    controllerName?: string;
@@ -721,6 +767,8 @@
    properties?: Record<string, any>;
    configuration?: Record<string, any>;
  }
  type ExpensesReceiptsTypeEnum = 10 | 20;
  interface ExtensionEnumDto {
    fields?: ExtensionEnumFieldDto[];
@@ -1086,6 +1134,8 @@
    city?: string;
    /** 客户身份证后6位,南网必传。 */
    sixID?: string;
    /** 户主姓名 */
    name?: string;
  }
  interface LifeElectricDataCreateLifePayOrderInput {
@@ -1121,7 +1171,123 @@
  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;
@@ -1344,12 +1510,10 @@
    creationTime?: string;
  }
  interface LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput {
  interface LifePayRechargeReceiptsListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: LifePayRechargeReceiptsListOutput[];
    /** 累计充值 */
    totalRechargeAmount?: number;
  }
  interface LifePayRechargeReceiptsPageInput {
@@ -1479,6 +1643,12 @@
    timestamp?: string;
    timeExpire?: string;
    message?: string;
  }
  interface ModelWxPayDomesticRefundsAmount {
    refund?: number;
    total?: number;
    currency?: string;
  }
  interface ModuleApiDescriptionModel {
@@ -1639,6 +1809,7 @@
  interface OrderInQuiryInput {
    outTradeNo?: string;
    outRefundNo?: string;
  }
  type OrderTypeEnum = 0 | 1;
@@ -1751,6 +1922,10 @@
    providerKey?: string;
  }
  interface QueryLifePayChannlesInput {
    status?: LifePayChannelsStatsEnum;
  }
  interface QueryLifePayOrderListInput {
    pageModel?: Pagination;
    checkChannelId?: string;
@@ -1835,6 +2010,20 @@
    loginTimeBegin?: string;
    /** 登录结束时间 */
    loginTimeEnd?: string;
  }
  interface ReceiptsDetail {
    /** 创建时间 */
    creationTime?: string;
    /** 金额 */
    amount?: number;
  }
  interface ReceiptsListOutPut {
    /** 30天收款 */
    receiveList?: ReceiptsDetail[];
    /** 30天收入 */
    incomeList?: ReceiptsDetail[];
  }
  interface RefundLifePayOrderInput {
@@ -2032,6 +2221,10 @@
    timeZone?: TimeZone;
  }
  interface TopStatisticsInput {
    channleList?: string[];
  }
  interface TopStatisticsOutput {
    /** 创建时间 */
    creationTime?: string;
@@ -2182,6 +2375,8 @@
  interface UserChannleDto {
    /** 渠道Id */
    id?: string;
    /** 渠道num */
    channlesNum?: string;
    /** 渠道名 */
    name?: string;
  }
@@ -2363,6 +2558,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;