zhengyiming
2025-06-11 91f00f1df35a964d69f48b9f71b484e2d4ef357e
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 {
@@ -524,6 +545,74 @@
    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;
@@ -540,6 +629,11 @@
    checkChannelId?: string;
  }
  interface ChannlesRakeListOutPut {
    /** 30天佣金 */
    channlesRakeList?: ReceiptsDetail[];
  }
  interface CheckLoginVerificationCodeInput {
    messageType?: string;
    phoneNumber: string;
@@ -549,6 +643,10 @@
  interface ClockDto {
    kind?: string;
  }
  type ConsumptionFlowEnum = 10 | 20;
  type ConsumptionFrozenStatusEnum = 10 | 20;
  interface ControllerApiDescriptionModel {
    controllerName?: string;
@@ -595,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;
@@ -604,6 +726,15 @@
    switchType?: LifePaySwitchTypeEnum;
    status?: LifePayChannelsStatsEnum;
    channlesType?: LifePayChannlesTypeEnum;
    agentType?: LifePayChannelAgentType;
    /** 区域-省Id */
    areaProvinceId?: number;
    /** 区域-市Id */
    areaCityId?: number;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 推广员 */
    promoterName?: string;
  }
  interface CreateEditPayChannelsInputPageOutput {
@@ -614,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 {
@@ -885,6 +1038,16 @@
    queryCondition?: string;
  }
  interface GetChannelConsultationsInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetFeatureListResultDto {
    groups?: FeatureGroupDto[];
  }
@@ -914,6 +1077,16 @@
  interface GetPermissionListResultDto {
    entityDisplayName?: string;
    groups?: PermissionGroupDto[];
  }
  interface GetPromotersInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetRolesInput {
@@ -1137,6 +1310,10 @@
    productData?: LifeGasData;
  }
  type LifePayChannelAgentType = 1 | 2 | 3;
  type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4;
  type LifePayChannelsStatsEnum = 10 | 20;
  interface LifePayChannlesRakeListOutput {
@@ -1184,6 +1361,44 @@
  }
  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 {
    /** 编号 */
@@ -1258,6 +1473,8 @@
    lifePayType?: LifePayTypeEnum;
    /** 渠道名称 */
    channelName?: string;
    /** 运营商 */
    operator?: string;
    lifePayOrderType?: LifePayOrderTypeEnum;
    /** 订单号 */
    orderNo?: string;
@@ -1299,6 +1516,8 @@
    acoolyOrderNo?: string;
    acoolyStatus?: ACOOLYStatusEnum;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
    /** 订单参数详情 */
    orderParamDetailJsonStr?: string;
    /** 实际到账金额 */
    actualReceivedAmount?: number;
    actualReceivedStatus?: LifePayStatusEnum;
@@ -1393,6 +1612,8 @@
  interface LifePayPhoneMesssageCodeLoginOutput {
    /** 用户Id */
    userId?: string;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    /** 渠道号 */
@@ -1554,6 +1775,13 @@
  interface LogErrorInput {
    error?: string;
  }
  interface LogFrontInput {
    userId?: string;
    message?: string;
    url?: string;
    requestTime?: string;
  }
  interface MethodParameterApiDescriptionModel {
@@ -1798,6 +2026,15 @@
    permissions?: PermissionGrantInfoDto[];
  }
  interface PhoneChargeOrderOutput {
    outOrderNo?: string;
    busiOrderNo?: string;
    parValue?: number;
    payAmount?: number;
    status?: string;
    statusText?: string;
  }
  interface PhoneParValueOutput {
    ispCode?: string;
    ispName?: string;
@@ -1839,6 +2076,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;
@@ -1850,6 +2112,10 @@
  interface ProviderInfoDto {
    providerName?: string;
    providerKey?: string;
  }
  interface QueryLifePayChannlesInput {
    status?: LifePayChannelsStatsEnum;
  }
  interface QueryLifePayOrderListInput {
@@ -1907,6 +2173,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;
@@ -1936,6 +2231,20 @@
    loginTimeBegin?: string;
    /** 登录结束时间 */
    loginTimeEnd?: string;
  }
  interface ReceiptsDetail {
    /** 创建时间 */
    creationTime?: string;
    /** 金额 */
    amount?: number;
  }
  interface ReceiptsListOutPut {
    /** 30天收款 */
    receiveList?: ReceiptsDetail[];
    /** 30天收入 */
    incomeList?: ReceiptsDetail[];
  }
  interface RefundLifePayOrderInput {
@@ -2160,6 +2469,8 @@
    accumulatedUsers?: number;
    /** 昨日活跃用户 */
    yesterdayActiveUsers?: number;
    /** 累计佣金 */
    accumulatedChannlesRakePrice?: number;
  }
  interface TradeFundBill {