zhengyiming
8 天以前 428839f8403028559c18c495dd872c21097172b9
src/services/api/typings.d.ts
@@ -57,6 +57,8 @@
    insuredInstitution: string;
    /** 投保方案 */
    insuranceScheme: string;
    /** 保单号 */
    orderNo: string;
    /** 在职标识 */
    onJobFlag?: string;
    /** 性别 */
@@ -150,6 +152,10 @@
    id?: string;
  }
  interface APIdeleteInsureProductSettingParams {
    id?: string;
  }
  interface APIdeleteModuleButtonParams {
    id?: string;
  }
@@ -238,6 +244,10 @@
  interface APIgetInsuranceClaimDetailByOrderIdParams {
    orderId?: string;
  }
  interface APIgetInsuranceClaimDetailListParams {
    id?: string;
  }
  interface APIgetInsuranceClaimDetailParams {
@@ -348,6 +358,7 @@
  interface APIimportInsStaffToListParams {
    url?: string;
    serialNum?: string;
    productIdNumber?: string;
  }
  interface APIsearchParams {
@@ -365,6 +376,10 @@
  interface APIsetForUserParams {
    userId?: string;
    permissionName?: string;
  }
  interface APIsuccessParams {
    input?: string;
  }
  interface APIupdateDefaultConnectionStringParams {
@@ -468,6 +483,10 @@
    checkStatus?: BatchBillCheckStatus;
    /** 生效时间 */
    effectTime?: string;
    /** 保单生效时间 */
    effectStartTime?: string;
    /** 保单失效时间 */
    effectEndTime?: string;
    /** 附件上传 */
    attachmentUrl?: string;
    /** 保单号 */
@@ -476,6 +495,10 @@
    enterpriseName?: string;
    /** 批改人员详情 */
    staffList?: InsureBatchBillDetailDto[];
  }
  interface BatchSyncUserAmountInput {
    items?: SyncUserAmountInput[];
  }
  interface ChangePasswordInput {
@@ -558,6 +581,21 @@
    enterpriseName?: string;
  }
  interface CreateOrUpdateInsureProductSettingInput {
    id?: string;
    /** 用户ID */
    userId?: string;
    /** 产品ID */
    productIdNumber: string;
    /** 参保机构 */
    insuranceOrg: string;
    /** 投保方案 */
    insuranceScheme: string;
    /** 投保方式 */
    insurancePeriod: string;
    status?: InsureProductSettingStatusEnum;
  }
  interface CreateOrUpdateRoleInput {
    /** 名称 */
    name?: string;
@@ -571,6 +609,22 @@
    remark?: string;
    /** 角色Id */
    id?: string;
  }
  interface CreateParkBountyTradeInput {
    enterpriseId?: string;
    /** 最近出账金额 */
    tradeAmount?: number;
    /** 出账凭证 */
    payFileUrl?: string;
    /** 消费类型 */
    payRemark?: string;
    access?: ParkBountyTradeAccessEnum;
  }
  interface CreateTempTokenInput {
    /** 用户Id */
    userId?: string;
  }
  interface CurrentCultureDto {
@@ -722,6 +776,8 @@
    key?: string;
  }
  type FinanceTypeEnum = 10 | 20;
  interface GetEffectingStaffListInput {
    claimDateTime?: string;
    idNumber?: string;
@@ -729,6 +785,45 @@
  interface GetFeatureListResultDto {
    groups?: FeatureGroupDto[];
  }
  interface GetFileRecordInput {
    pageModel?: Pagination;
    /** 操作起始日期 */
    creationTimeBegin?: string;
    /** 操作结束日期 */
    creationTimeEnd?: string;
  }
  interface GetFileRecordOutput {
    /** Id */
    id?: string;
    /** 用户Id */
    enterpriseId?: string;
    /** 文件名称 */
    name?: string;
    /** 事件 */
    event?: string;
    /** 操作 */
    operate?: string;
    /** 状态 */
    status?: string;
    /** 源文件地址 */
    fileUrl?: string;
    /** 导出数据/错误数据 JSON格式 */
    jsonData?: string;
    /** 操作时间 */
    creationTime?: string;
    /** 总数据量 */
    count?: number;
    /** 成功数据量 */
    successCount?: number;
  }
  interface GetFileRecordOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: GetFileRecordOutput[];
  }
  interface GetInsuranceBatchBillForCheckInput {
@@ -755,6 +850,7 @@
    condition?: string;
    insurancePeriod?: string;
    status?: InsurancePolicyStatusEnum;
    auditStatus?: InsurancePolicyAuditStatusEnum;
  }
  interface GetInsurancePageOutput {
@@ -804,6 +900,11 @@
    creationTime?: string;
    companyName?: string;
    isClosedOutTime?: boolean;
    auditStatus?: InsurancePolicyAuditStatusEnum;
    /** 审核备注 */
    auditRemark?: string;
    /** 保险产品IdNumber */
    productIdNumber?: string;
  }
  interface GetInsurancePageOutputPageOutput {
@@ -832,6 +933,7 @@
    age?: number;
    birthDay?: string;
    phone?: string;
    claimCount?: number;
    creationTime?: string;
  }
@@ -839,6 +941,79 @@
    pageModel?: Pagination;
    objectData?: any;
    data?: GetInsuranceStaffPageTemplate[];
  }
  interface GetInsureProductSettingPageInput {
    pageModel?: Pagination;
    /** 用户ID */
    userId?: string;
  }
  interface GetParkBountyTradeDetailByIdInput {
    pageModel?: Pagination;
    /** 企业名/信用代码 */
    searchKeyWord?: string;
    /** 出账起始日期 */
    transferTimeBegin?: string;
    /** 出账结束日期 */
    transferTimeEnd?: string;
    enterpriseId?: string;
  }
  interface GetParkBountyTradeDetailOutput {
    id?: string;
    /** 最近出账金额 */
    tradeAmount?: number;
    /** 出账凭证 */
    payFileUrl?: string;
    access?: ParkBountyTradeAccessEnum;
    /** 消费类型 */
    payRemark?: string;
    /** 出账时间 */
    tradeTime?: string;
    /** 奖励金余额 */
    remianAmount?: number;
    financeType?: FinanceTypeEnum;
  }
  interface GetParkBountyTradeDetailOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: GetParkBountyTradeDetailOutput[];
  }
  interface GetParkBountyTradeInput {
    pageModel?: Pagination;
    /** 企业名/信用代码 */
    searchKeyWord?: string;
    /** 出账起始日期 */
    transferTimeBegin?: string;
    /** 出账结束日期 */
    transferTimeEnd?: string;
  }
  interface GetParkBountyTradeOutput {
    enterpriseId?: string;
    /** 账号 */
    userName?: string;
    /** 企业名称 */
    enterpriseName?: string;
    /** 电话 */
    contactPhone?: string;
    /** 社会统一信用代码 */
    societyCreditCode?: string;
    /** 最近出账金额 */
    tradeAmount?: number;
    /** 出账时间 */
    tradeTime?: string;
    /** 奖励金余额 */
    remianAmount?: number;
  }
  interface GetParkBountyTradeOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: GetParkBountyTradeOutput[];
  }
  interface GetPermissionListResultDto {
@@ -1021,7 +1196,9 @@
  }
  interface ImportBatchStaffListInput {
    originIdNumber?: string;
    /** 原被保人姓名 */
    orginName?: string;
    orginIdNumber?: string;
    /** 电话号码 */
    phoneNumber?: string;
    id?: number;
@@ -1034,6 +1211,7 @@
    workType?: string;
    birthDay?: string;
    remark?: string;
    changeType?: BatchChangeTypeEnum;
  }
  interface ImportBatchUpdateOrderDataInput {
@@ -1133,6 +1311,12 @@
    incDecAmount?: number;
    /** 保单id */
    insuranceOrderId?: string;
    /** 投保机构 */
    insuranceOrg?: string;
    /** 保单号 */
    orderNo?: string;
    /** 投保/被保机构 */
    enterpriseName?: string;
    /** 报案时间 */
    reportedTime?: string;
    /** 联系电话 */
@@ -1160,6 +1344,7 @@
  interface InsuranceClaimListOutput {
    id?: string;
    serialNumber?: number;
    /** 身份证号 */
    idNumber?: string;
    /** 姓名 */
@@ -1174,18 +1359,21 @@
    accidentType?: string;
    /** 事故发生时间 */
    accidentTime?: string;
    /** 伤残比例 */
    disabilityRatio?: number;
    /** 理赔渠道 */
    claimChannel?: string;
    claimResult?: InsuranceClaimResultEnum;
    /** 伤残比例 */
    disabilityRatioStr?: string;
    claimResultStr?: string;
    /** 下款金额 */
    downPaymentAmount?: number;
    /** 下款金额 */
    downPaymentAmountStr?: string;
    /** 结/撤案日期 */
    claimResultTime?: string;
    /** 最后更新日期 */
    lastModificationTime?: string;
    /** 理赔渠道 */
    companyName?: string;
    claimChannel?: string;
    claimResult?: InsuranceClaimResultEnum;
    /** 保单id */
    insuranceOrderId?: string;
    createTime?: string;
@@ -1283,6 +1471,24 @@
    materialName?: string;
  }
  interface InsurancePolicyAuditInput {
    /** 保单Id */
    insurancePolicyId?: string;
    /** 保单起期 */
    effectStartTime?: string;
    /** 保单止期 */
    effectEndTime?: string;
    /** 保额 */
    sumInsured?: number;
    /** 保费 */
    amount?: number;
    auditStatus?: InsurancePolicyAuditStatusEnum;
    /** 审核备注 */
    auditRemark?: string;
  }
  type InsurancePolicyAuditStatusEnum = 10 | 20 | -10;
  type InsurancePolicyStatusEnum = 10 | 20 | 30;
  interface InsureBatchBillDetailDto {
@@ -1375,6 +1581,31 @@
    /** 投保人 */
    enterpriseName?: string;
  }
  interface InsureProductSettingDto {
    id?: string;
    /** 用户ID */
    userId?: string;
    /** 产品ID */
    productIdNumber?: string;
    /** 参保机构 */
    insuranceOrg?: string;
    /** 投保方案 */
    insuranceScheme?: string;
    /** 投保方式 */
    insurancePeriod?: string;
    status?: InsureProductSettingStatusEnum;
    /** 创建时间 */
    creationTime?: string;
  }
  interface InsureProductSettingDtoPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: InsureProductSettingDto[];
  }
  type InsureProductSettingStatusEnum = 10 | -10;
  interface IStringValueType {
    name?: string;
@@ -1558,6 +1789,8 @@
    descriptorName?: string;
  }
  type ParkBountyTradeAccessEnum = 1;
  interface PasswordLoginInput {
    /** 账号 */
    loginName: string;
@@ -1605,6 +1838,259 @@
    isRequired?: boolean;
  }
  interface ProposalInput {
    sign?: ProposalInputSign;
    request?: ProposalInputRequest;
  }
  interface ProposalInputRequest {
    head?: ProposalInputRequestHead;
    body?: ProposalInputRequestBody;
  }
  interface ProposalInputRequestBody {
    commonPlan?: ProposalInputRequestBodyCommonPlan;
    /** 方案详情 */
    planDetails?: ProposalInputRequestBodyPlanDetail[];
    policyHolder?: ProposalInputRequestBodyPolicyHolder;
    /** 被保人信息 */
    policyInsureds?: ProposalInputRequestBodyPolicyInsured[];
    /** 附属被保险人信息 */
    extraPolicyInsureds?: ProposalInputRequestBodyExtraPolicyInsured[];
    insuredType?: ProposalInputRequestBodyInsuredType;
    trade?: ProposalInputRequestBodyTrade;
    /** 拓展节点 */
    policyExtra?: ProposalInputRequestBodyPolicyExtra[];
  }
  interface ProposalInputRequestBodyCommonPlan {
    /** 投保时间 */
    operateDate?: string;
    /** 起保时间 */
    startTime?: string;
    /** 终保时间 */
    endTime?: string;
    /** 币别 */
    currency?: string;
    /** 总保额 */
    sumInsured?: string;
    /** 总保费 */
    sumSignPremium?: string;
  }
  interface ProposalInputRequestBodyExtraPolicyInsured {
    /** 方案代码(可选)
保司提供实际方案代码,非见费下为必传 */
    planCode?: string;
    /** 客户角色(必需)
枚举值: 1, 2, 3, 4 */
    role?: string;
    /** 与投保人关系(必需)
枚举值: 1, 2, 3, 4, 5, 6, 7, 8, 9 */
    relationToAppnt?: string;
    /** 客户类型(必需)
枚举值: 1, 2 */
    type?: string;
    /** 被保人名称(必需) */
    name?: string;
    /** 证件类型(必需)
枚举值: 01, 02, 04, 05, 06, 07, 08, 09, 10, 13, 14, 16, 17, 18, 19, 20 */
    certType?: string;
    /** 证件号码(必需) */
    certNo?: string;
    /** 性别(必需)
枚举值: 1, 2 */
    gender?: string;
    /** 出生日期(必需)
格式: yyyy-MM-dd */
    birthday?: string;
    /** 年龄(必需)
范围: 0-100 */
    age?: number;
    /** 与主被保险人关系(可选)
枚举值: 1, 2, 3, 4, 5, 6, 7, 8 */
    relationToMainInsured?: string;
    /** 有无社保(可选)
枚举值: Y, N */
    socialInsuFlag?: string;
    /** 详细地址(可选) */
    address?: string;
    /** 邮箱(可选) */
    email?: string;
    /** 手机号(可选) */
    mobile?: string;
    /** 职业代码(可选) */
    occupationCode?: string;
  }
  interface ProposalInputRequestBodyInsuredType {
    /** 标的标签(必需)
0-产品附加要素(产品层级)、1-标的类型(方案层级)、2-标的附加要素(被保人层级) */
    flag?: number;
    /** 标的类型名称(必需) */
    insuredTypeName?: string;
    /** 要素代码(必需) */
    factorCode?: string;
    /** 标的类型代码(必需) */
    insuredTypeCode?: string;
    /** 要素名称(必需) */
    factorName?: string;
    /** 要素值(必需)
当factorCode为FWDZ,factorName为房屋地址时,factorValue传参为json字符串,格式为:
"{"factorProvince":"120000","detailAddress":"天津市-天津市-红桥区","factorCity":"120100","factorCounty":"120106","houseAddress":"测试地址"}" */
    factorValue?: string;
    /** 属性(必需)
固定值:{"codeTable":"CD000049"} */
    attribute?: string;
  }
  interface ProposalInputRequestBodyPlanDetail {
    /** 方案代码 */
    planCode?: string;
    /** 份数 */
    copies?: number;
    /** 方案名称 */
    planName?: string;
  }
  interface ProposalInputRequestBodyPolicyExtra {
    /** 拓展字段代码(必需) */
    extraCode?: string;
    /** 拓展字段名称(必需) */
    extraName?: string;
    /** 拓展字段值(必需) */
    extraValue?: string;
  }
  interface ProposalInputRequestBodyPolicyHolder {
    /** 客户角色 */
    role?: string;
    /** 客户类型 */
    type?: string;
    /** 投保人名称 */
    name?: string;
    /** 证件类型 */
    certType?: string;
    /** 证件号码 */
    certNo?: string;
    /** 性别 */
    gender?: string;
    /** 出生日期 */
    birthday?: string;
    /** 手机号码 */
    mobile?: string;
    /** 邮箱地址 */
    email?: string;
    /** 年龄 */
    age?: string;
    /** 地址 */
    address?: string;
    /** 联系人姓名 */
    linkerName?: string;
    /** 联系人电话 */
    linkerMobile?: string;
    /** 职业代码 */
    occupationCode?: string;
    /** 职业类别 */
    occupationType?: string;
  }
  interface ProposalInputRequestBodyPolicyInsured {
    /** 方案代码(必需) */
    planCode?: string;
    /** 客户角色(必需)
枚举值: 1, 2, 3, 4 */
    role?: string;
    /** 与投保人关系(必需)
投保人是团体时,被保人与投保人关系只能是6(雇佣)、7(劳务)或8(其他)
枚举值: 1, 2, 3, 4, 5, 6, 7, 8, 9 */
    relationToAppnt?: string;
    /** 客户类型(必需)
枚举值: 1, 2 */
    type?: string;
    /** 被保人名称(必需) */
    name?: string;
    /** 证件类型(必需)
枚举值: 01, 02, 04, 05, 06, 07, 08, 09, 10, 13, 14, 16, 17, 18, 19, 20
默认值: 01 */
    certType?: string;
    /** 证件号码(必需) */
    certNo?: string;
    /** 性别(必需)
枚举值: 1, 2 */
    gender?: string;
    /** 出生日期(必需)
格式: yyyy-MM-dd */
    birthday?: string;
    /** 年龄(必需)
范围: 0-100 */
    age?: number;
    /** 与主被保险人关系(可选)
枚举值: 1, 2, 3, 4, 5, 6, 7, 8 */
    relationToMainInsured?: string;
    /** 有无社保(可选)
枚举值: Y, N
默认值: N */
    socialInsuFlag?: string;
    /** 详细地址(可选) */
    address?: string;
    /** 邮箱(可选) */
    email?: string;
    /** 手机号(可选) */
    mobile?: string;
    /** 职业代码(可选) */
    occupationCode?: string;
    /** 鹊桥专用因子(可选)
非必须,特殊情况需传值 示例:{"FL0078":"N"} */
    factorMap?: string;
    /** 保单起期(可选,批量出单必须) */
    startTime?: string;
    /** 保单止期(可选,批量出单必须) */
    endTime?: string;
  }
  interface ProposalInputRequestBodyTrade {
    /** 支付成功跳转地址(可选)
见费必传 */
    returnUrl?: string;
    /** 微信小程序支付appId(可选)
微信小程序对应的appId,小程序签约并支付场景传递 */
    appId?: string;
    /** 微信小程序支付openID(可选)
openID 微信openid,小程序签约并支付场景传递 */
    openId?: string;
  }
  interface ProposalInputRequestHead {
    /** 第三方订单号 */
    channelOrderNo?: string;
    /** 商户编码 */
    agencyCode?: string;
    /** 商品编码 */
    productCode?: string;
    /** 业务类型 */
    businessType?: string;
    applyTime?: string;
    /** 子商户编码 */
    subAgencyCode?: string;
  }
  interface ProposalInputSign {
    /** 签名 */
    signature?: string;
  }
  interface ProposalResponseData {
    /** 投保单号(可选) */
    proposalNo?: string;
    /** 支付短链(可选) */
    payUrl?: string;
    /** 支付长链(可选) */
    longPayUrl?: string;
    /** 支付流水号(可选) */
    payRegistrationNo?: string;
  }
  interface ProviderInfoDto {
    providerName?: string;
    providerKey?: string;
@@ -1615,18 +2101,23 @@
    month?: number;
    /** 理赔渠道 */
    claimChannel?: string;
    companyName?: string;
  }
  interface QueryInsuranceClaimPageInput {
    pageModel?: Pagination;
    /** 理赔渠道 */
    claimChannel?: string;
    /** 公司名称 */
    companyName?: string;
    /** 劳动合同单位 */
    laborContractEnterprise?: string;
    /** 实际工作单位 */
    workEnterprise?: string;
    /** 身份证号 */
    idNumber?: string;
    /** 投保人/被保人 */
    insurerName?: string;
    claimResult?: InsuranceClaimResultEnum;
  }
@@ -1786,6 +2277,50 @@
    modules: ModuleTypeInfo[];
  }
  interface SyncUserAmountInput {
    /** 用户名称 */
    id?: string;
    /** 奖励金余额 */
    bountyAmount?: number;
    /** 充值余额 */
    rechargeAmount?: number;
  }
  interface SyncUserDto {
    /** 开通 */
    open?: boolean;
    /** 818用户Id */
    humanResourcesServiceUserId?: string;
    /** 名称 */
    name?: string;
    /** 登录用户名 */
    userName?: string;
    /** 用户手机号 */
    phoneNumber?: string;
    /** 密码 */
    password?: string;
    /** 企业名称 */
    enterpriseName?: string;
    /** 营业执照文件地址 */
    licenseUrl?: string;
    /** 统一社会信用代码 */
    societyCreditCode?: string;
    /** 银行总行名称 */
    bankName?: string;
    /** 银行支行名称 */
    bankBranchName?: string;
    /** 银行卡号 */
    bankCardNumber?: string;
    /** 奖励金余额 */
    bountyAmount?: number;
    /** 充值余额 */
    rechargeAmount?: number;
    /** 联系人 */
    contact?: string;
    /** 联系电话 */
    contactPhone?: string;
  }
  interface TenantDto {
    extraProperties?: Record<string, any>;
    id?: string;
@@ -1875,6 +2410,8 @@
    insuredInstitution: string;
    /** 投保方案 */
    insuranceScheme: string;
    /** 保单号 */
    orderNo: string;
    /** 在职标识 */
    onJobFlag?: string;
    /** 性别 */
@@ -1919,6 +2456,11 @@
    name?: string;
    idNumber?: string;
    phone?: string;
  }
  interface UpdateInsureProductSettingStatusInput {
    id?: string;
    status?: InsureProductSettingStatusEnum;
  }
  interface UpdatePassWordInput {
@@ -1980,6 +2522,27 @@
    listFiles?: string[];
  }
  interface UserAmountShowDto {
    /** 企业名称 */
    enterpriseName?: string;
    /** 营业执照文件地址 */
    licenseUrl?: string;
    /** 统一社会信用代码 */
    societyCreditCode?: string;
    /** 银行总行名称 */
    bankName?: string;
    /** 银行支行名称 */
    bankBranchName?: string;
    /** 银行卡号 */
    bankCardNumber?: string;
    /** 奖励金余额 */
    bountyAmount?: number;
    /** 充值余额 */
    rechargeAmount?: number;
    /** 资金总额 */
    totalAmount?: number;
  }
  interface UserData {
    id?: string;
    tenantId?: string;