zhengyiming
2025-03-21 6a5d66d21df56c4549648b259609419e357e9470
packages/services/api/typings.d.ts
@@ -15,6 +15,8 @@
    scope?: string;
  }
  type ACOOLYStatusEnum = 10 | 20 | 30 | 40 | 50 | 60;
  interface ActionApiDescriptionModel {
    uniqueName?: string;
    name?: string;
@@ -76,6 +78,11 @@
    extraProperties?: Record<string, any>;
  }
  interface APIdeleteBackClientUserParams {
    /** 用户Id */
    id?: string;
  }
  interface APIdeleteDefaultConnectionStringParams {
    id?: string;
  }
@@ -93,6 +100,11 @@
  }
  interface APIdeleteRoleParams {
    id?: string;
  }
  interface APIdeleteRoleParams {
    /** 角色Id */
    id?: string;
  }
@@ -142,6 +154,10 @@
    moduleId?: string;
  }
  interface APIgetBillErceiptExportParams {
    orderNo?: string;
  }
  interface APIgetCountParams {
    filter?: string;
  }
@@ -158,8 +174,20 @@
    moduleId?: string;
  }
  interface APIgetIntroInfoParams {
    type?: LifePayOrderTypeEnum;
  }
  interface APIgetLifePayChannlesDtoParams {
    id?: string;
  }
  interface APIgetLifePayOrderDetailParams {
    orderNo?: string;
  }
  interface APIgetLifePayRefundOrderDetailParams {
    orderNo?: string;
  }
  interface APIgetLifePayWxIndentityParams {
@@ -425,11 +453,44 @@
    type?: string;
  }
  interface CreateBackClientUserInput {
    /** 名称 */
    name?: string;
    /** 手机号 */
    phoneNumber?: string;
    password?: string;
    /** 账户 */
    userName?: string;
    remark?: string;
    /** 角色 */
    roleNames?: string[];
    /** 渠道列表 */
    channlesId?: string[];
    /** 组织架构公司id */
    companyOrgId?: string;
    /** 组织架构部门id */
    departmentOrgId?: string;
  }
  interface CreateBaseRoleInput {
    /** 名称 */
    name?: string;
    /** 排序 */
    sequence?: number;
    /** 部门Id */
    departmentId?: number;
    /** 数据范围 全部数据100 个人数据 10 */
    dataRange?: number;
    /** 备注 */
    remark?: string;
  }
  interface CreateEditPayChannelsInput {
    id?: string;
    channlesName?: string;
    channlesNum?: string;
    channlesRate?: number;
    channlesRakeRate?: number;
    switchType?: LifePaySwitchTypeEnum;
    status?: LifePayChannelsStatsEnum;
    channlesType?: LifePayChannlesTypeEnum;
@@ -443,6 +504,21 @@
  interface CreateLifePayOrderOutput {
    orderNo?: string;
  }
  interface CreateOrUpdateRoleInput {
    /** 名称 */
    name?: string;
    /** 排序 */
    sequence?: number;
    /** 部门Id */
    departmentId?: number;
    /** 数据范围 全部数据100 个人数据 10 */
    dataRange?: number;
    /** 备注 */
    remark?: string;
    /** 角色Id */
    id?: string;
  }
  interface CurrentCultureDto {
@@ -689,8 +765,22 @@
    parentCode?: number;
  }
  interface GetBackClientUsersInput {
    pageModel?: Pagination;
    /** 账户是否锁住(是否禁用) */
    isLocked?: boolean;
    /** 查询条件:名称/账号 */
    queryCondition?: string;
  }
  interface GetFeatureListResultDto {
    groups?: FeatureGroupDto[];
  }
  interface GetOperateHistoryInput {
    pageModel?: Pagination;
    relationId?: string;
    operateName?: string;
  }
  interface GetPayOrderForJsAPIInput {
@@ -712,6 +802,12 @@
  interface GetPermissionListResultDto {
    entityDisplayName?: string;
    groups?: PermissionGroupDto[];
  }
  interface GetRolesInput {
    pageModel?: Pagination;
    /** 查询条件:角色名称 */
    queryCondition?: string;
  }
  interface IanaTimeZone {
@@ -850,6 +946,8 @@
    roleNames: string[];
  }
  type IntroInfoTypeEnum = 0 | 1 | 2 | 3 | 4;
  interface IStringValueType {
    name?: string;
    properties?: Record<string, any>;
@@ -929,6 +1027,37 @@
  type LifePayChannlesTypeEnum = 10 | 20;
  interface LifePayIntroInfoDetail {
    type?: IntroInfoTypeEnum;
    /** 摘要 */
    contentSummary?: string;
    /** 文本内容 */
    content?: string;
    /** 图片/视频路径 */
    path?: string;
    /** 排序 */
    sequence?: number;
  }
  interface LifePayIntroInfoInput {
    lifePayType?: LifePayOrderTypeEnum;
    /** 更新内容 */
    data?: LifePayIntroInfoDetail[];
  }
  interface LifePayIntroInfoOutput {
    type?: IntroInfoTypeEnum;
    lifePayType?: LifePayOrderTypeEnum;
    /** 摘要 */
    contentSummary?: string;
    /** 文本内容 */
    content?: string;
    /** 图片/视频路径 */
    path?: string;
    /** 排序 */
    sequence?: number;
  }
  interface LifePayOrderListOutput {
    id?: string;
    userId?: string;
@@ -942,12 +1071,16 @@
    orderNo?: string;
    /** 充值金额 */
    rechargeAmount?: number;
    /** 实际充值金额 */
    actualRechargeAmount?: number;
    /** 优惠金额 */
    discountAmount?: number;
    /** 实付金额 */
    payAmount?: number;
    /** 支付时间 */
    payTime?: string;
    /** 平台扣款金额 */
    platformDeductionAmount?: number;
    payStatus?: LifePayStatusEnum;
    /** 外部订单号 */
    outOrderNo?: string;
@@ -956,13 +1089,22 @@
    finishTime?: string;
    /** 退款凭证 */
    refundCredentialsImgUrl?: string;
    /** 退款金额 */
    refundPrice?: number;
    /** 下单时间 */
    creationTime?: string;
    /** 退款时间 */
    refundTime?: string;
    /** 申请退款原因 */
    refundApplyRemark?: string;
    /** 退款申请时间 */
    refundApplyTime?: string;
    /** 驳回原因 */
    refundCheckRemark?: string;
    /** 供应商订单号 */
    acoolyOrderNo?: string;
    acoolyStatus?: ACOOLYStatusEnum;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
  }
  interface LifePayOrderListOutputPageOutput {
@@ -971,7 +1113,76 @@
    data?: LifePayOrderListOutput[];
  }
  type LifePayOrderStatusEnum = 10 | 20 | 30 | 40 | 50 | 60;
  interface LifePayOrderOutput {
    id?: string;
    /** 用户账号 */
    userPhoneNumber?: string;
    userName?: string;
    lifePayChannle?: string;
    lifePayType?: LifePayTypeEnum;
    lifePayOrderType?: LifePayOrderTypeEnum;
    /** 退款订单号 */
    refundOrderNo?: string;
    /** 订单号 */
    orderNo?: string;
    /** 充值金额 */
    rechargeAmount?: number;
    /** 优惠金额 */
    discountAmount?: number;
    /** 实付金额 */
    payAmount?: number;
    /** 支付时间 */
    payTime?: string;
    payStatus?: LifePayStatusEnum;
    status?: LifePayOrderStatusEnum;
    /** 完成时间 */
    finishTime?: string;
    /** 外部订单号 */
    outOrderNo?: string;
    /** 订单详细数据 */
    orderParamDetailJsonStr?: string;
    /** 下单时间 */
    creationTime?: string;
    /** 退款时间 */
    refundTime?: string;
    /** 退款凭证 */
    refundCredentialsImgUrl?: string;
    /** 退款原因 */
    refundApplyRemark?: string;
    /** 驳回原因 */
    refundCheckRemark?: string;
    /** 渠道流水号 */
    acoolyOrderNo?: string;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
    /** 实际充值金额 */
    actualRechargeAmount?: number;
    /** 实际到账金额 */
    actualReceivedAmount?: number;
    /** 退款金额 */
    refundPrice?: number;
    /** 平台折扣比例 */
    platformRate?: number;
    /** 平台扣款金额 */
    platformPrice?: number;
    /** 渠道折扣 */
    channleRate?: number;
    /** 渠道佣金比例 */
    channlesRakeRate?: number;
    /** 渠道佣金 */
    channlesRakePrice?: number;
    /** 手续费比例 */
    premiumRate?: number;
    /** 手续费 */
    premiumPrice?: number;
    /** 平台利润 */
    profit?: number;
    /** 回单地址 */
    elecBillUrl?: string;
    /** 退款回单地址 */
    refundElecBillUrl?: string;
  }
  type LifePayOrderStatusEnum = 10 | 20 | 30 | 40 | 50 | 60 | 70;
  type LifePayOrderTypeEnum = 10 | 20 | 30;
@@ -980,6 +1191,18 @@
    checkChannelId?: string;
    /** 手机号 */
    phoneNumber: string;
  }
  interface LifePayPremiumInput {
    premiumType?: LifePayTypeEnum;
    rate?: number;
    id?: string;
  }
  interface LifePayPremiumListOutput {
    premiumType?: LifePayTypeEnum;
    rate?: number;
    id?: string;
  }
  interface LifePayRateInput {
@@ -996,7 +1219,64 @@
  type LifePayRateTypeEnum = 10 | 20 | 30 | 40;
  type LifePayStatusEnum = 10 | 20 | 30 | 40;
  interface LifePayRefundOrderOutput {
    id?: string;
    /** 用户账号 */
    userPhoneNumber?: string;
    userName?: string;
    lifePayChannle?: string;
    lifePayType?: LifePayTypeEnum;
    lifePayOrderType?: LifePayOrderTypeEnum;
    /** 订单号 */
    orderNo?: string;
    /** 充值金额 */
    rechargeAmount?: number;
    /** 优惠金额 */
    discountAmount?: number;
    /** 实付金额 */
    payAmount?: number;
    /** 支付时间 */
    payTime?: string;
    payStatus?: LifePayStatusEnum;
    status?: LifePayOrderStatusEnum;
    /** 完成时间 */
    finishTime?: string;
    /** 外部订单号 */
    outOrderNo?: string;
    /** 下单时间 */
    creationTime?: string;
    /** 退款时间 */
    refundTime?: string;
    /** 退款凭证 */
    refundCredentialsImgUrl?: string;
    /** 退款申请原因 */
    refundApplyRemark?: string;
    /** 退款申请时间 */
    refundApplyTime?: string;
    /** 退款驳回原因 */
    refundCheckRemark?: string;
    /** 退款订单号 */
    refundOrderNo?: string;
    /** 渠道流水号 */
    acoolyOrderNo?: string;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
    /** 实际充值金额 */
    actualRechargeAmount?: number;
    /** 实际到账金额 */
    actualReceivedAmount?: number;
    /** 退款金额 */
    refundPrice?: number;
    /** 回单地址 */
    elecBillUrl?: string;
    /** 退款回单地址 */
    refundElecBillUrl?: string;
  }
  type LifePayRefundStatusEnum = 0 | 10 | 20 | 30 | 40;
  type LifePayRefundTypeEnum = 10 | 20;
  type LifePayStatusEnum = 10 | 20 | 30 | 40 | 50;
  type LifePaySwitchTypeEnum = 10 | 20 | 30;
@@ -1025,6 +1305,10 @@
  interface LocalizableStringDto {
    name?: string;
    resource?: string;
  }
  interface LogErrorInput {
    error?: string;
  }
  interface MethodParameterApiDescriptionModel {
@@ -1140,6 +1424,57 @@
    modules?: Record<string, any>;
    enums?: Record<string, any>;
  }
  interface OperateHistoryDto {
    /** 关联关系ID */
    relationId?: string;
    /** 表名 */
    tableType?: number;
    /** 操作 */
    operateName?: string;
    /** 操作内容 */
    operateContent?: string;
    /** 操作人 */
    creatorName?: string;
    /** 操作时间 */
    creationTime?: string;
    /** 操作细节 */
    operateDetail?: string;
  }
  interface OperateHistoryDtoPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: OperateHistoryDto[];
  }
  type OperateHistoryTypeEnum =
    | 10
    | 11
    | 12
    | 13
    | 14
    | 15
    | 16
    | 17
    | 18
    | 19
    | 20
    | 21
    | 22
    | 23
    | 24
    | 25
    | 26
    | 27
    | 28
    | 29
    | 30
    | 31
    | 32
    | 40
    | 42
    | 43;
  interface OrderInput {
    property?: string;
@@ -1266,6 +1601,7 @@
    /** 结束支付时间 */
    endPayTime?: string;
    payStatus?: LifePayStatusEnum;
    acoolyStatus?: ACOOLYStatusEnum;
    lifePayOrderStatus?: LifePayOrderStatusEnum;
    /** 开始完成时间 */
    beginFinishTime?: string;
@@ -1275,6 +1611,34 @@
    userId?: string;
    /** 搜索关键词 */
    keyWords?: string;
  }
  interface QueryLifePayRefundOrderListInput {
    pageModel?: Pagination;
    checkChannelId?: string;
    lifePayOrderType?: LifePayOrderTypeEnum;
    lifePayType?: LifePayTypeEnum;
    /** 开始申请退款时间 */
    beginRefundApplyTime?: string;
    /** 结束申请退款时间 */
    endRefundApplyTime?: string;
    /** 开始完成时间 */
    beginFinishTime?: string;
    /** 结束完成时间 */
    endFinishTime?: string;
    payStatus?: LifePayStatusEnum;
    acoolyStatus?: ACOOLYStatusEnum;
    lifePayOrderStatus?: LifePayOrderStatusEnum;
    /** 用户Id */
    userId?: string;
    /** 搜索关键词 */
    keyWords?: string;
  }
  interface QueryOperateHistoryByTypeInput {
    pageModel?: Pagination;
    typeId?: string;
    operateHistoryType?: OperateHistoryTypeEnum;
  }
  interface QueryUserAccountAllListInput {
@@ -1293,10 +1657,25 @@
    lifePayOrderType?: LifePayOrderTypeEnum;
  }
  interface QueryUserPageInput {
    pageModel?: Pagination;
    checkChannelId?: string;
    /** 手机号/用户名 */
    queryCondition?: string;
    /** 注册时间 */
    creationTimeBegin?: string;
    creationTimeEnd?: string;
  }
  interface RefundLifePayOrderInput {
    id?: string;
    /** 上传凭证 */
    refundCredentialsImgUrl?: string;
    /** 退款驳回原因 */
    refundCheckRemark?: string;
    lifePayRefundType?: LifePayRefundTypeEnum;
    /** 退款金额 */
    refundPrice?: number;
  }
  interface RefundUserLifePayOrderInput {
@@ -1334,6 +1713,11 @@
    members?: string[];
  }
  interface ResetPasswordBaseInput {
    userId?: string;
    password?: string;
  }
  interface ResetPasswordDto {
    userId?: string;
    resetToken: string;
@@ -1359,6 +1743,45 @@
  interface ReturnValueApiDescriptionModel {
    type?: string;
    typeSimple?: string;
  }
  interface RoleDto {
    /** 角色Id */
    id?: string;
    /** 角色名 */
    name?: string;
  }
  interface RoleEnableOrForbidInput {
    /** 角色Id */
    id?: string;
    /** 启用:true,禁用:false */
    isEnable?: boolean;
  }
  interface RoleInfo {
    /** 角色Id */
    id?: string;
    /** 名称 */
    name?: string;
    /** 排序 */
    sequence?: number;
    /** 是否可用 */
    isEnable?: boolean;
    /** 部门Id */
    departmentId?: number;
    /** 数据范围 全部数据:100   个人数据:10 */
    dataRange?: number;
    /** 账号数量 */
    userCount?: number;
    /** 备注 */
    remark?: string;
  }
  interface RoleInfoPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: RoleInfo[];
  }
  interface SendPasswordResetCodeDto {
@@ -1429,6 +1852,31 @@
    timeZone?: TimeZone;
  }
  interface TopStatisticsOutput {
    /** 创建时间 */
    creationTime?: string;
    /** 账户余额 */
    amount?: number;
    /** 累计收款 */
    accumulatedReceipts?: number;
    /** 昨日收款 */
    receiptsYesterday?: number;
    /** 累计收入 */
    accumulatedIncome?: number;
    /** 累计下单 */
    accumulatedOrders?: number;
    /** 昨日下单 */
    ordersNumYesterday?: number;
    /** 昨日成功 */
    yesterdaySuccess?: number;
    /** 昨日失败 */
    yesterdayFail?: number;
    /** 累计用户 */
    accumulatedUsers?: number;
    /** 昨日活跃用户 */
    yesterdayActiveUsers?: number;
  }
  interface TypeApiDescriptionModel {
    baseType?: string;
    isEnum?: boolean;
@@ -1436,6 +1884,27 @@
    enumValues?: any[];
    genericArguments?: string[];
    properties?: PropertyApiDescriptionModel[];
  }
  interface UpdateBackClientUserInput {
    /** 名称 */
    name?: string;
    /** 手机号 */
    phoneNumber?: string;
    password?: string;
    /** 账户 */
    userName?: string;
    remark?: string;
    /** 角色 */
    roleNames?: string[];
    /** 渠道列表 */
    channlesId?: string[];
    /** 组织架构公司id */
    companyOrgId?: string;
    /** 组织架构部门id */
    departmentOrgId?: string;
    /** 用户Id */
    id?: string;
  }
  interface UpdateFeatureDto {
@@ -1502,6 +1971,13 @@
    data?: UserAccountOutput[];
  }
  interface UserChannleDto {
    /** 渠道Id */
    id?: string;
    /** 渠道名 */
    name?: string;
  }
  interface UserData {
    id?: string;
    tenantId?: string;
@@ -1522,6 +1998,35 @@
  interface UserDataListResultDto {
    items?: UserData[];
  }
  interface UserDto {
    /** 用户Id */
    id?: string;
    /** 登录用户名(账号) */
    userName?: string;
    /** 名称 */
    name?: string;
    /** 用户手机号 */
    phoneNumber?: string;
    /** 账户是否锁住(是否禁用) */
    isLocked?: boolean;
    /** 角色信息 */
    roles?: RoleDto[];
    /** 角色信息 */
    channles?: UserChannleDto[];
    /** 备注 */
    remark?: string;
    /** 组织架构公司id */
    companyOrgId?: string;
    /** 组织架构部门id */
    departmentOrgId?: string;
  }
  interface UserDtoPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: UserDto[];
  }
  interface UserLifePayOrderOutput {
@@ -1554,6 +2059,8 @@
    refundCheckRemark?: string;
    /** 渠道流水号 */
    acoolyOrderNo?: string;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
    acoolyStatus?: ACOOLYStatusEnum;
  }
  interface UserLifePayOrderOutputPageOutput {
@@ -1578,6 +2085,12 @@
    id?: string;
    /** 用户手机号 */
    phoneNumber?: string;
    /** 姓名 */
    name?: string;
    /** 最后登录渠道 */
    creationChannle?: string;
    /** 最后登录渠道 */
    lastLoginChannle?: string;
    lastLoginTime?: string;
    creationTime?: string;
  }