zhengyiming
10 小时以前 9b47d54a72046f3926c5620bfd4c836db5c61147
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;
@@ -139,6 +139,10 @@
    column?: ModuleColumnDto[];
  }
  type AnnouncementStatusEnum = 10 | 20 | 30;
  type AnnouncementTypeEnum = 10 | 20;
  interface APIaddOrEditModuleStatusParams {
    id?: string;
    isMenu?: number;
@@ -169,6 +173,10 @@
    id?: string;
  }
  interface APIdeleteLifePayAnnouncementParams {
    id?: string;
  }
  interface APIdeleteModuleButtonParams {
    id?: string;
  }
@@ -178,6 +186,10 @@
  }
  interface APIdeleteModuleParams {
    id?: string;
  }
  interface APIdeleteRateChannelParams {
    id?: string;
  }
@@ -238,6 +250,10 @@
  interface APIgetBillErceiptExportParams {
    orderNo?: string;
  }
  interface APIgetChannelConsultationByIdParams {
    id?: string;
  }
  interface APIgetChannelConsultationFollowupListParams {
@@ -319,6 +335,10 @@
    id?: string;
  }
  interface APIgetPromoterParams {
    phoneNumber?: string;
  }
  interface APIgetRolesIdRolesParams {
    id: string;
  }
@@ -382,6 +402,11 @@
  interface APIsetLifePayChannelsStatusParams {
    id?: string;
    status?: LifePayChannelsStatsEnum;
  }
  interface APIsetRateChannelStatusParams {
    id?: string;
    status?: LifePayRateChannelStatus;
  }
  interface APIstatisticsByDateParams {
@@ -709,6 +734,36 @@
    customerResources?: string;
  }
  interface CreateEditLifePayAnnouncementInput {
    id?: string;
    announcementType: AnnouncementTypeEnum;
    /** 生效日期 */
    startTime: string;
    /** 截止日期 */
    endTime: string;
    /** 公告内容 */
    announcementContent: string;
  }
  interface CreateEditLifePayAnnouncementOutput {
    id?: string;
    announcementType: AnnouncementTypeEnum;
    /** 生效日期 */
    startTime: string;
    /** 截止日期 */
    endTime: string;
    /** 公告内容 */
    announcementContent: string;
    creationTime?: string;
    status?: AnnouncementStatusEnum;
  }
  interface CreateEditLifePayAnnouncementOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: CreateEditLifePayAnnouncementOutput[];
  }
  interface CreateEditPayChannelsInput {
    id?: string;
    channlesName?: string;
@@ -718,12 +773,60 @@
    switchType?: LifePaySwitchTypeEnum;
    status?: LifePayChannelsStatsEnum;
    channlesType?: LifePayChannlesTypeEnum;
    agentType?: LifePayChannelAgentType;
    /** 区域-省Id */
    areaProvinceId?: number;
    /** 区域-市Id */
    areaCityId?: number;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 推广员 */
    promoterName?: string;
  }
  interface CreateEditPayChannelsInputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: CreateEditPayChannelsInput[];
  }
  interface CreateEditRateChannelInput {
    id?: string;
    lifePayOrderType: LifePayOrderTypeEnum;
    /** 通道 */
    rateChannelName: string;
    /** ID */
    code: string;
    /** 供应商折扣 */
    supplierRate: number;
    /** 平台折扣 */
    platformRate: number;
    status: LifePayRateChannelStatus;
    /** 通知内容 */
    remark: string;
  }
  interface CreateEditRateChannelOutput {
    id?: string;
    lifePayOrderType: LifePayOrderTypeEnum;
    /** 通道 */
    rateChannelName: string;
    /** ID */
    code: string;
    /** 供应商折扣 */
    supplierRate: number;
    /** 平台折扣 */
    platformRate: number;
    status: LifePayRateChannelStatus;
    /** 通知内容 */
    remark: string;
    creationTime?: string;
  }
  interface CreateEditRateChannelOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: CreateEditRateChannelOutput[];
  }
  interface CreateLifePayOrderOutput {
@@ -743,6 +846,13 @@
    phoneNumber?: string;
    /** 备注 */
    remark?: string;
  }
  interface CreateOrUpdatePromoterOutput {
    /** Id */
    id?: string;
    /** IdNumber */
    idNumber?: string;
  }
  interface CreateOrUpdateRoleInput {
@@ -1028,6 +1138,15 @@
    groups?: FeatureGroupDto[];
  }
  interface GetLifePayAnnouncementPageInput {
    pageModel?: Pagination;
    creationTimeBegin?: string;
    creationTimeEnd?: string;
    startTime?: string;
    endTime?: string;
    status?: AnnouncementStatusEnum;
  }
  interface GetOperateHistoryInput {
    pageModel?: Pagination;
    relationId?: string;
@@ -1057,12 +1176,22 @@
  interface GetPromotersInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetRolesInput {
    pageModel?: Pagination;
    /** 查询条件:角色名称 */
    queryCondition?: string;
  }
  interface GetShowingLifePayAnnouncementInput {
    announcementType?: AnnouncementTypeEnum;
  }
  interface IanaTimeZone {
@@ -1282,7 +1411,7 @@
  type LifePayChannelAgentType = 1 | 2 | 3;
  type LifePayChannelConsultationFollowupStatus = 0 | 1;
  type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4;
  type LifePayChannelsStatsEnum = 10 | 20;
@@ -1443,6 +1572,8 @@
    lifePayType?: LifePayTypeEnum;
    /** 渠道名称 */
    channelName?: string;
    /** 运营商 */
    operator?: string;
    lifePayOrderType?: LifePayOrderTypeEnum;
    /** 订单号 */
    orderNo?: string;
@@ -1484,6 +1615,8 @@
    acoolyOrderNo?: string;
    acoolyStatus?: ACOOLYStatusEnum;
    lifePayRefundStatus?: LifePayRefundStatusEnum;
    /** 订单参数详情 */
    orderParamDetailJsonStr?: string;
    /** 实际到账金额 */
    actualReceivedAmount?: number;
    actualReceivedStatus?: LifePayStatusEnum;
@@ -1578,6 +1711,8 @@
  interface LifePayPhoneMesssageCodeLoginOutput {
    /** 用户Id */
    userId?: string;
    /** 推广员ID */
    promoterIdNumber?: string;
    /** 是否是后台用户 */
    isBackClientUser?: boolean;
    /** 渠道号 */
@@ -1595,6 +1730,8 @@
    rate?: number;
    id?: string;
  }
  type LifePayRateChannelStatus = 10 | -10;
  interface LifePayRateInput {
    rateType?: LifePayRateTypeEnum;
@@ -1739,6 +1876,13 @@
  interface LogErrorInput {
    error?: string;
  }
  interface LogFrontInput {
    userId?: string;
    message?: string;
    url?: string;
    requestTime?: string;
  }
  interface MethodParameterApiDescriptionModel {
@@ -1983,6 +2127,15 @@
    permissions?: PermissionGrantInfoDto[];
  }
  interface PhoneChargeOrderOutput {
    outOrderNo?: string;
    busiOrderNo?: string;
    parValue?: number;
    payAmount?: number;
    status?: string;
    statusText?: string;
  }
  interface PhoneParValueOutput {
    ispCode?: string;
    ispName?: string;
@@ -2121,6 +2274,40 @@
    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 QueryRateChannelInput {
    status?: LifePayRateChannelStatus;
    lifePayOrderType?: LifePayOrderTypeEnum;
  }
  interface QueryUserAccountAllListInput {
    pageModel?: Pagination;
    checkChannelId?: string;
@@ -2164,6 +2351,13 @@
    receiveList?: ReceiptsDetail[];
    /** 30天收入 */
    incomeList?: ReceiptsDetail[];
  }
  interface RefundAmount {
    total: number;
    refund: number;
    payerTotal: string;
    payerRefund: string;
  }
  interface RefundLifePayOrderInput {
@@ -2700,6 +2894,15 @@
    unionId?: string;
  }
  interface WxPayDomesticRefundsNotice {
    mchid?: string;
    outTradeNo?: string;
    transactionId?: string;
    outRefundNo?: string;
    refundStatus?: string;
    amount?: RefundAmount;
  }
  interface WxPayDomesticRefundsQueryReponse {
    code?: string;
    message?: string;