zhengyiming
2025-03-31 848b21bacd06c45ee16d8522acbce800df57b3a6
packages/services/api/typings.d.ts
@@ -30,6 +30,19 @@
    implementFrom?: string;
  }
  interface AddUpdatePayRechargeReceiptsInput {
    /** 编号 */
    id?: string;
    /** 业务订单号 */
    orderNo?: string;
    /** 充值金额 */
    rechargeAmount?: number;
    /** 备注 */
    remark?: string;
    /** 充值凭证 */
    voucher?: string;
  }
  interface AddUpdateUserAccountInput {
    pageModel?: Pagination;
    checkChannelId?: string;
@@ -49,6 +62,75 @@
    extraProperties?: string;
    /** 备注 */
    remark?: string;
  }
  interface AlipayTradeFastpayRefundQueryResponse {
    httpBody?: string;
    code?: string;
    msg?: string;
    subCode?: string;
    subMsg?: string;
    errorCode?: string;
    gmtRefundPay?: string;
    industrySepcDetail?: string;
    outRequestNo?: string;
    outTradeNo?: string;
    presentRefundBuyerAmount?: string;
    presentRefundDiscountAmount?: string;
    presentRefundMdiscountAmount?: string;
    refundAmount?: string;
    refundChargeAmount?: string;
    refundDetailItemList?: TradeFundBill[];
    refundReason?: string;
    refundRoyaltys?: RefundRoyaltyResult[];
    refundSettlementId?: string;
    refundStatus?: string;
    sendBackFee?: string;
    totalAmount?: string;
    tradeNo?: string;
  }
  interface AlipayTradeQueryResponse {
    httpBody?: string;
    code?: string;
    msg?: string;
    subCode?: string;
    subMsg?: string;
    tradeNo?: string;
    outTradeNo?: string;
    buyerLogonId?: string;
    tradeStatus?: string;
    totalAmount?: string;
    transCurrency?: string;
    settleCurrency?: string;
    settleAmount?: string;
    payCurrency?: string;
    payAmount?: string;
    settleTransRate?: string;
    transPayRate?: string;
    buyerPayAmount?: string;
    pointAmount?: string;
    invoiceAmount?: string;
    sendPayDate?: string;
    receiptAmount?: string;
    storeId?: string;
    terminalId?: string;
    fundBillList?: TradeFundBill[];
    storeName?: string;
    buyerUserId?: string;
    chargeAmount?: string;
    chargeFlags?: string;
    settlementId?: string;
    tradeSettleInfo?: TradeSettleInfo[];
    authTradePayMode?: string;
    buyerUserType?: string;
    mdiscountAmount?: string;
    discountAmount?: string;
    buyerUserName?: string;
    subject?: string;
    body?: string;
    alipaySubMerchantId?: string;
    extInfos?: string;
  }
  interface AllSubModule {
@@ -236,6 +318,10 @@
    id: string;
  }
  interface APIgetTopStatisticsParams {
    channleId?: string;
  }
  interface APIgetUserAccountDetailParams {
    id?: string;
  }
@@ -332,6 +418,14 @@
    id?: string;
  }
  interface APIwxPayDomesticRefundsQueryParams {
    outTradeNo?: string;
  }
  interface APIwxPayTradeQueryParams {
    outTradeNo?: string;
  }
  interface ApplicationApiDescriptionModel {
    modules?: Record<string, any>;
    types?: Record<string, any>;
@@ -399,6 +493,14 @@
    quickQuery?: string;
  }
  interface BackClientUserInfoOutput {
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    isSystem?: boolean;
    /** 渠道号 */
    channleList?: ChannelOutput[];
  }
  interface BaseAuthorizeDto {
    moduleType?: number;
    moduleId?: string;
@@ -424,6 +526,12 @@
    id2?: string;
    sortCode2?: number;
    type?: number;
  }
  interface ChannelOutput {
    name?: string;
    channlesNum?: string;
    channlesId?: string;
  }
  interface ChannelRateOutput {
@@ -630,6 +738,8 @@
    properties?: Record<string, any>;
    configuration?: Record<string, any>;
  }
  type ExpensesReceiptsTypeEnum = 10 | 20;
  interface ExtensionEnumDto {
    fields?: ExtensionEnumFieldDto[];
@@ -995,6 +1105,8 @@
    city?: string;
    /** 客户身份证后6位,南网必传。 */
    sixID?: string;
    /** 户主姓名 */
    name?: string;
  }
  interface LifeElectricDataCreateLifePayOrderInput {
@@ -1030,7 +1142,85 @@
  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 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;
@@ -1203,6 +1393,15 @@
    phoneNumber: string;
  }
  interface LifePayPhoneMesssageCodeLoginOutput {
    /** 用户Id */
    userId?: string;
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    /** 渠道号 */
    channlesNum?: ChannelOutput[];
  }
  interface LifePayPremiumInput {
    premiumType?: LifePayTypeEnum;
    rate?: number;
@@ -1228,6 +1427,38 @@
  }
  type LifePayRateTypeEnum = 10 | 20 | 30 | 40;
  interface LifePayRechargeReceiptsListOutput {
    /** 编号 */
    id?: string;
    /** 业务订单号 */
    orderNo?: string;
    /** 充值金额 */
    rechargeAmount?: number;
    /** 备注 */
    remark?: string;
    /** 凭证 */
    voucher?: string;
    /** 记账时间 */
    creationTime?: string;
  }
  interface LifePayRechargeReceiptsListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: LifePayRechargeReceiptsListOutput[];
  }
  interface LifePayRechargeReceiptsPageInput {
    pageModel?: Pagination;
    checkChannelId?: string;
    /** 查询条件 */
    keyWord?: string;
    /** 记账开始时间 */
    creationTimeBegin?: string;
    /** 记账结束时间 */
    creationTimeEnd?: string;
  }
  interface LifePayRefundOrderOutput {
    id?: string;
@@ -1292,6 +1523,13 @@
  type LifePayTypeEnum = 10 | 20;
  interface LifePayUserMesssageByIduserInput {
    pageModel?: Pagination;
    checkChannelId?: string;
    /** 用户编号 */
    id?: string;
  }
  interface LifePhoneData {
    /** 运营商编码,例如:"yidong", "dianxin", "liantong"。 */
    ispCode: string;
@@ -1338,6 +1576,12 @@
    timestamp?: string;
    timeExpire?: string;
    message?: string;
  }
  interface ModelWxPayDomesticRefundsAmount {
    refund?: number;
    total?: number;
    currency?: string;
  }
  interface ModuleApiDescriptionModel {
@@ -1435,6 +1679,11 @@
    enums?: Record<string, any>;
  }
  interface OnlineServiceInput {
    /** 在线客服链接 */
    link?: string;
  }
  interface OperateHistoryDto {
    /** 关联关系ID */
    relationId?: string;
@@ -1489,6 +1738,10 @@
  interface OrderInput {
    property?: string;
    order?: OrderTypeEnum;
  }
  interface OrderInQuiryInput {
    outTradeNo?: string;
  }
  type OrderTypeEnum = 0 | 1;
@@ -1677,9 +1930,14 @@
    checkChannelId?: string;
    /** 手机号/用户名 */
    queryCondition?: string;
    /** 注册时间 */
    /** 注册开始时间 */
    creationTimeBegin?: string;
    /** 注册结束时间 */
    creationTimeEnd?: string;
    /** 登录开始时间 */
    loginTimeBegin?: string;
    /** 登录结束时间 */
    loginTimeEnd?: string;
  }
  interface RefundLifePayOrderInput {
@@ -1691,6 +1949,16 @@
    lifePayRefundType?: LifePayRefundTypeEnum;
    /** 退款金额 */
    refundPrice?: number;
  }
  interface RefundRoyaltyResult {
    refundAmount?: string;
    royaltyType?: string;
    resultCode?: string;
    transOut?: string;
    transOutEmail?: string;
    transIn?: string;
    transInEmail?: string;
  }
  interface RefundUserLifePayOrderInput {
@@ -1892,6 +2160,27 @@
    yesterdayActiveUsers?: number;
  }
  interface TradeFundBill {
    fundChannel?: string;
    bankCode?: string;
    amount?: string;
    realAmount?: string;
    fundType?: string;
  }
  interface TradeSettleDetail {
    operationType?: string;
    operationSerial_no?: string;
    operationDt?: string;
    transOut?: string;
    transIn?: string;
    amount?: string;
  }
  interface TradeSettleInfo {
    tradeSettleDetailList?: TradeSettleDetail[];
  }
  interface TypeApiDescriptionModel {
    baseType?: string;
    isEnum?: boolean;
@@ -1930,6 +2219,12 @@
  interface UpdateFeaturesDto {
    features?: UpdateFeatureDto[];
  }
  interface UpdateLifePayOrderInput {
    id?: string;
    /** 实际到账金额 */
    actualReceivedAmount?: number;
  }
  interface UpdatePassWordInput {
@@ -2171,6 +2466,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;