zhengyiming
2025-04-01 074b4c463c4be9bf5df11fa08779a523fdb983b1
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 {
@@ -332,6 +414,14 @@
    id?: string;
  }
  interface APIwxPayDomesticRefundsQueryParams {
    outTradeNo?: string;
  }
  interface APIwxPayTradeQueryParams {
    outTradeNo?: string;
  }
  interface ApplicationApiDescriptionModel {
    modules?: Record<string, any>;
    types?: Record<string, any>;
@@ -399,6 +489,14 @@
    quickQuery?: string;
  }
  interface BackClientUserInfoOutput {
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    isSystem?: boolean;
    /** 渠道号 */
    channleList?: ChannelOutput[];
  }
  interface BaseAuthorizeDto {
    moduleType?: number;
    moduleId?: string;
@@ -424,6 +522,17 @@
    id2?: string;
    sortCode2?: number;
    type?: number;
  }
  interface ChannelOutput {
    name?: string;
    channlesNum?: string;
    channlesId?: string;
    switchType?: LifePaySwitchTypeEnum;
  }
  interface ChannelRateOutput {
    channlesRate?: number;
  }
  interface ChannelsBaseInput {
@@ -458,6 +567,7 @@
    name?: string;
    /** 手机号 */
    phoneNumber?: string;
    /** 密码 */
    password?: string;
    /** 账户 */
    userName?: string;
@@ -625,6 +735,8 @@
    properties?: Record<string, any>;
    configuration?: Record<string, any>;
  }
  type ExpensesReceiptsTypeEnum = 10 | 20;
  interface ExtensionEnumDto {
    fields?: ExtensionEnumFieldDto[];
@@ -990,6 +1102,8 @@
    city?: string;
    /** 客户身份证后6位,南网必传。 */
    sixID?: string;
    /** 户主姓名 */
    name?: string;
  }
  interface LifeElectricDataCreateLifePayOrderInput {
@@ -1025,7 +1139,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;
@@ -1069,6 +1261,8 @@
    lifePayOrderType?: LifePayOrderTypeEnum;
    /** 订单号 */
    orderNo?: string;
    /** 退款订单号 */
    refundOrderNo?: string;
    /** 充值金额 */
    rechargeAmount?: number;
    /** 实际充值金额 */
@@ -1105,6 +1299,9 @@
    acoolyOrderNo?: string;
    acoolyStatus?: ACOOLYStatusEnum;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
    /** 实际到账金额 */
    actualReceivedAmount?: number;
    actualReceivedStatus?: LifePayStatusEnum;
  }
  interface LifePayOrderListOutputPageOutput {
@@ -1193,6 +1390,15 @@
    phoneNumber: string;
  }
  interface LifePayPhoneMesssageCodeLoginOutput {
    /** 用户Id */
    userId?: string;
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    /** 渠道号 */
    channlesNum?: ChannelOutput[];
  }
  interface LifePayPremiumInput {
    premiumType?: LifePayTypeEnum;
    rate?: number;
@@ -1218,6 +1424,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;
@@ -1282,6 +1520,13 @@
  type LifePayTypeEnum = 10 | 20;
  interface LifePayUserMesssageByIduserInput {
    pageModel?: Pagination;
    checkChannelId?: string;
    /** 用户编号 */
    id?: string;
  }
  interface LifePhoneData {
    /** 运营商编码,例如:"yidong", "dianxin", "liantong"。 */
    ispCode: string;
@@ -1328,6 +1573,12 @@
    timestamp?: string;
    timeExpire?: string;
    message?: string;
  }
  interface ModelWxPayDomesticRefundsAmount {
    refund?: number;
    total?: number;
    currency?: string;
  }
  interface ModuleApiDescriptionModel {
@@ -1425,6 +1676,11 @@
    enums?: Record<string, any>;
  }
  interface OnlineServiceInput {
    /** 在线客服链接 */
    link?: string;
  }
  interface OperateHistoryDto {
    /** 关联关系ID */
    relationId?: string;
@@ -1479,6 +1735,11 @@
  interface OrderInput {
    property?: string;
    order?: OrderTypeEnum;
  }
  interface OrderInQuiryInput {
    outTradeNo?: string;
    outRefundNo?: string;
  }
  type OrderTypeEnum = 0 | 1;
@@ -1626,9 +1887,14 @@
    beginFinishTime?: string;
    /** 结束完成时间 */
    endFinishTime?: string;
    /** 开始退款时间 */
    beginRefundTime?: string;
    /** 结束退款时间 */
    endRefundTime?: string;
    payStatus?: LifePayStatusEnum;
    acoolyStatus?: ACOOLYStatusEnum;
    lifePayOrderStatus?: LifePayOrderStatusEnum;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
    /** 用户Id */
    userId?: string;
    /** 搜索关键词 */
@@ -1662,9 +1928,14 @@
    checkChannelId?: string;
    /** 手机号/用户名 */
    queryCondition?: string;
    /** 注册时间 */
    /** 注册开始时间 */
    creationTimeBegin?: string;
    /** 注册结束时间 */
    creationTimeEnd?: string;
    /** 登录开始时间 */
    loginTimeBegin?: string;
    /** 登录结束时间 */
    loginTimeEnd?: string;
  }
  interface RefundLifePayOrderInput {
@@ -1676,6 +1947,16 @@
    lifePayRefundType?: LifePayRefundTypeEnum;
    /** 退款金额 */
    refundPrice?: number;
  }
  interface RefundRoyaltyResult {
    refundAmount?: string;
    royaltyType?: string;
    resultCode?: string;
    transOut?: string;
    transOutEmail?: string;
    transIn?: string;
    transInEmail?: string;
  }
  interface RefundUserLifePayOrderInput {
@@ -1852,6 +2133,10 @@
    timeZone?: TimeZone;
  }
  interface TopStatisticsInput {
    channleList?: string[];
  }
  interface TopStatisticsOutput {
    /** 创建时间 */
    creationTime?: string;
@@ -1877,6 +2162,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;
@@ -1891,6 +2197,7 @@
    name?: string;
    /** 手机号 */
    phoneNumber?: string;
    /** 密码 */
    password?: string;
    /** 账户 */
    userName?: string;
@@ -1914,6 +2221,12 @@
  interface UpdateFeaturesDto {
    features?: UpdateFeatureDto[];
  }
  interface UpdateLifePayOrderInput {
    id?: string;
    /** 实际到账金额 */
    actualReceivedAmount?: number;
  }
  interface UpdatePassWordInput {
@@ -1974,6 +2287,8 @@
  interface UserChannleDto {
    /** 渠道Id */
    id?: string;
    /** 渠道num */
    channlesNum?: string;
    /** 渠道名 */
    name?: string;
  }
@@ -2053,6 +2368,8 @@
    creationTime?: string;
    /** 退款时间 */
    refundTime?: string;
    /** 退款申请时间 */
    refundApplyTime?: string;
    /** 退款凭证 */
    refundCredentialsImgUrl?: string;
    refundApplyRemark?: string;
@@ -2153,6 +2470,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;