wupengfei
15 小时以前 d3d8fde64c4df263fd696f1599cb79fe9efb7623
src/services/api/typings.d.ts
@@ -66,6 +66,16 @@
    withChildren?: boolean;
  }
  interface APIgetEnabledElectronSignSettingsParams {
    /** 企业Id */
    enterpriseId?: string;
  }
  interface APIgetEnterpriseContractTemplateSelectParams {
    /** 查询企业合同模板选择器数据 */
    request?: GetEnterpriseContractTemplateSelectQuery;
  }
  interface APIgetEnterpriseElectronSignSettingParams {
    /** Id */
    id?: string;
@@ -117,6 +127,13 @@
  interface APIgetPersonalLoginInfoParams {
    /** 查询个人用户登录信息 */
    request?: GetPersonalLoginInfoQuery;
  }
  interface APIgetPersonalUserElectronSignParams {
    /** 灵工Id */
    id?: string;
    /** 合同模板业务编码 */
    code?: string;
  }
  interface APIgetPersonalUserRealResultParams {
@@ -278,6 +295,16 @@
    verifyCode: string;
  }
  interface CheckContractTemplateCommand {
    /** 合同模板Id */
    id?: string;
  }
  interface CheckElectronSignAccessEnabledsCommand {
    /** 通道 */
    accesses?: EnumElectronSignAccess[];
  }
  type CheckHealthQuery = Record<string, any>;
  interface CheckReceiveTaskCommand {
@@ -362,6 +389,18 @@
    data?: any;
  }
  interface EnterpriseUserElectronSignCommand {
    /** 灵工Id */
    id?: string;
  }
  interface EnterpriseUserElectronSignCommandResult {
    /** 签署合同短链接 */
    signContractShortUrl?: string;
    /** 签署合同长链接 */
    signContractLongUrl?: string;
  }
  enum EnumBillingMethod {
    /**按月 */
    Month = 10,
@@ -422,6 +461,20 @@
    BestSign = 10,
    /**支付宝信任签 */
    AlipaySign = 20,
  }
  enum EnumEnterpriseCostStatus {
    /**扣费成功 */
    Success = 10,
    /**扣费失败 */
    Fail = 20,
  }
  enum EnumEnterpriseCostType {
    /**短信 */
    SMS = 10,
    /**电子签 */
    ElectronSign = 20,
  }
  enum EnumEnterpriseRealMethod {
@@ -660,6 +713,8 @@
    Pass = 20,
    /**已拒签 */
    Refuse = 30,
    /**已终止 */
    Stop = 50,
  }
  enum EnumTaskUserSubmitCheckReceiveStatus {
@@ -719,6 +774,24 @@
    errorCode?: string;
    /** 数据 */
    data?: boolean;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultEnterpriseUserElectronSignCommandResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: EnterpriseUserElectronSignCommandResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -1197,6 +1270,42 @@
    timestamp?: number;
  }
  interface FriendlyResultGetPersonalUserElectronSignQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetPersonalUserElectronSignQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetPersonalUserElectronSignsQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetPersonalUserElectronSignsQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetPersonalUserInfoSignContractsQueryResult {
    /** 跟踪Id */
    traceId?: string;
@@ -1596,6 +1705,25 @@
    timestamp?: number;
  }
  interface FriendlyResultListGetEnabledElectronSignSettingsQueryResultItem {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    /** 数据 */
    data?: GetEnabledElectronSignSettingsQueryResultItem[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultListGetMenusQueryResultItem {
    /** 跟踪Id */
    traceId?: string;
@@ -1729,6 +1857,25 @@
    timestamp?: number;
  }
  interface FriendlyResultListSelectOptionGuidGetEnterpriseContractTemplateSelectQueryOption {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    /** 数据 */
    data?: SelectOptionGuidGetEnterpriseContractTemplateSelectQueryOption[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultListSelectOptionStringGetDictionaryDataSelectQueryResultOption {
    /** 跟踪Id */
    traceId?: string;
@@ -1846,6 +1993,24 @@
    /** 错误码 */
    errorCode?: string;
    data?: PagedListQueryResultGetRolesQueryResultItem;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultPersonalUserElectronSignCommandResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: PersonalUserElectronSignCommandResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -2077,6 +2242,8 @@
    /** 提交Id */
    id?: string;
    enterpriseEmployeeUser?: GetCheckReceiveTaskUserSubmitsQueryResultObjectDataEnterpriseEmployeeUser;
    /** 验收时间 */
    date?: string;
    /** 提交时间 */
    createdTime?: string;
    /** 验收照片 */
@@ -2101,6 +2268,8 @@
  interface GetCheckReceiveTaskUserSubmitsQueryResultItem {
    /** 提交Id */
    id?: string;
    /** 验收时间 */
    date?: string;
    /** 提交时间 */
    createdTime?: string;
    /** 验收照片 */
@@ -2184,6 +2353,8 @@
    name?: string;
    /** 模板 */
    file?: string;
    /** 小程序码 */
    wxmpQrCode?: string;
    /** 制版模板照片 */
    templateEditData?: string;
    /** 制版变量JSON */
@@ -2195,6 +2366,10 @@
    templateId?: string;
    /** 变量 */
    values?: GetContractTemplateQueryResultValue[];
    /** 创建操作人 */
    createdUserId?: string;
    /** 是否企业用户创建 */
    isEnterpriseUserCreated?: boolean;
  }
  interface GetContractTemplateQueryResultValue {
@@ -2207,6 +2382,8 @@
    label?: string;
    /** 变量代码 */
    name?: string;
    /** 绑定字段 */
    bindProperty?: string;
    /** 是否必填 */
    required?: boolean;
  }
@@ -2356,6 +2533,16 @@
    isDisabled?: boolean;
  }
  interface GetEnabledElectronSignSettingsQueryResultItem {
    access?: EnumElectronSignAccess;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
  }
  interface GetEnterpriseContractTemplateLogsQuery {
    /** 模板Id */
    id?: string;
@@ -2378,6 +2565,17 @@
    operate?: EnumDbAuditOperate;
    /** 操作内容 */
    content?: string[];
  }
  type GetEnterpriseContractTemplateSelectQuery = Record<string, any>;
  interface GetEnterpriseContractTemplateSelectQueryOption {
    /** Id */
    id?: string;
    /** 模板名称 */
    name?: string;
    /** 模板Id */
    templateId?: string;
  }
  interface GetEnterpriseContractTemplatesQuery {
@@ -2417,6 +2615,8 @@
    code?: string;
    /** 模板 */
    file?: string;
    /** 小程序码 */
    wxmpQrCode?: string;
    status?: EnumContractTemplateStatus;
    /** 制版时间 */
    completedTime?: string;
@@ -2427,13 +2627,8 @@
  interface GetEnterpriseElectronSignSettingQueryResult {
    /** Id */
    id?: string;
    realAccess?: EnumRealAccess;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
    /** 电子签通道 */
    electronSignAccesses?: EnumElectronSignAccess[];
  }
  interface GetEnterpriseEmployeeQueryResult {
@@ -2462,6 +2657,7 @@
    enterpriseSignContractTime?: string;
    /** 电子合同 */
    contractUrl?: string;
    userSignContractStatus?: EnumTaskUserSignContractStatus;
  }
  interface GetEnterpriseEmployeesQuery {
@@ -3030,6 +3226,47 @@
    hireRefuseTaskCount?: number;
  }
  interface GetPersonalUserElectronSignQueryResult {
    /** 合同编号 */
    contractCode?: string;
    userSignContractStatus?: EnumTaskUserSignContractStatus;
    /** 签约方信息-员工-姓名 */
    name?: string;
    /** 签约方信息-员工-证件类型 */
    identityType?: string;
    /** 签约方信息-员工-证件号码 */
    identity?: string;
    /** 签约方信息-员工-签约时间 */
    userSignContractTime?: string;
    /** 签约方信息-公司主体-主体类型 */
    enterpriseType?: string;
    /** 签约方信息-公司主体-签约主体 */
    enterpriseName?: string;
    /** 签约方信息-公司主体-签约时间 */
    enterpriseSignContractTime?: string;
    /** 协议内容 */
    contractUrl?: string;
  }
  interface GetPersonalUserElectronSignsQuery {
    userSignContractStatus?: EnumTaskUserSignContractStatus;
    pageModel?: PagedListQueryPageModel;
  }
  interface GetPersonalUserElectronSignsQueryResult {
    pageModel?: PagedListQueryResultPageModel;
    /** 数据 */
    data?: GetPersonalUserElectronSignsQueryResultItem[];
  }
  interface GetPersonalUserElectronSignsQueryResultItem {
    /** 灵工Id */
    id?: string;
    /** 企业全称 */
    enterpriseName?: string;
    userSignContractStatus?: EnumTaskUserSignContractStatus;
  }
  interface GetPersonalUserInfoSignContractsQuery {
    /** 用户Id */
    id?: string;
@@ -3391,6 +3628,8 @@
    status?: EnumTaskStatus;
    releaseStatus?: EnumTaskReleaseStatus;
    hireStatus?: EnumTaskUserHireStatus;
    /** 灵工Id */
    enterpriseEmployeeId?: string;
    applyButton?: GetTaskInfoQueryResultApplyButton;
    hireButton?: GetTaskInfoQueryResultHireButton;
  }
@@ -3887,6 +4126,13 @@
    identity?: string;
  }
  interface InviteElectronSignCommand {
    /** 灵工Id */
    id?: string;
    /** 合同模板Id */
    contractTemplateId?: string;
  }
  interface LoginCommandCallback {
    /** 用户Id */
    id?: string;
@@ -3967,6 +4213,18 @@
    clientType?: EnumClientType;
  }
  interface PersonalUserElectronSignCommand {
    /** 灵工Id */
    id?: string;
  }
  interface PersonalUserElectronSignCommandResult {
    /** 签署合同短链接 */
    signContractShortUrl?: string;
    /** 签署合同长链接 */
    signContractLongUrl?: string;
  }
  interface PersonalUserFaceRealCommand {
    /** 姓名 */
    name: string;
@@ -4042,6 +4300,8 @@
    label?: string;
    /** 变量代码 */
    name?: string;
    /** 绑定字段 */
    bindProperty?: string;
    /** 是否必填 */
    required?: boolean;
  }
@@ -4117,6 +4377,17 @@
    password?: string;
    /** Id */
    id?: string;
  }
  interface SaveEnterpriseCostCommand {
    /** 企业Id */
    enterpriseId?: string;
    type?: EnumEnterpriseCostType;
    /** 合同模板Id */
    contractTemplateId?: string;
    /** 灵工合同Id */
    enterpriseEmployeeContractId?: string;
    status?: EnumEnterpriseCostStatus;
  }
  interface SaveMenuButtonCommand {
@@ -4365,6 +4636,14 @@
    data?: GetDictionaryCategorySelectQueryOption;
  }
  interface SelectOptionGuidGetEnterpriseContractTemplateSelectQueryOption {
    /** 值 */
    value?: string;
    /** 标签 */
    label?: string;
    data?: GetEnterpriseContractTemplateSelectQueryOption;
  }
  interface SelectOptionStringGetDictionaryDataSelectQueryResultOption {
    /** 值 */
    value?: string;
@@ -4396,13 +4675,8 @@
  interface SetEnterpriseElectronSignSettingCommand {
    /** Id */
    id?: string;
    realAccess?: EnumRealAccess;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
    /** 电子签通道 */
    electronSignAccesses?: EnumElectronSignAccess[];
  }
  interface SetEnterpriseSmsSettingCommand {
@@ -4488,6 +4762,11 @@
    clientType?: EnumClientType;
  }
  interface StopElectronSignCommand {
    /** 灵工Id */
    id?: string;
  }
  interface SubmitCheckReceiveTaskCommand {
    /** 任务Id */
    taskInfoId?: string;
@@ -4495,6 +4774,23 @@
    date?: string;
    /** 附件 */
    files?: string[];
  }
  interface SyncElectronSignSettingsCommand {
    /** 项 */
    items?: SyncElectronSignSettingsCommandItem[];
  }
  interface SyncElectronSignSettingsCommandItem {
    access?: EnumElectronSignAccess;
    /** 是否禁用 */
    isDisabled?: boolean;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
  }
  interface SyncEnterpriseUserCommand {
@@ -4545,13 +4841,9 @@
    bankCard?: string;
    /** 是否已校验银行账户 */
    isCheckedBankCard?: boolean;
    /** 电子签通道 */
    electronSignAccesses?: EnumElectronSignAccess[];
    realAccess?: EnumRealAccess;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
    /** 是否实名 */
    isReal?: boolean;
    enterpriseAuth?: SyncEnterpriseUserCommandEnterpriseAuth;
@@ -4560,6 +4852,10 @@
  interface SyncEnterpriseUserCommandEnterpriseAuth {
    enterpriseRealMethod?: EnumEnterpriseRealMethod;
    personalRealMethod?: EnumPersonalRealMethod;
    /** 法人姓名 */
    legalPerson?: string;
    /** 法人身份证号 */
    legalIdentity?: string;
    /** 法人或经办人姓名 */
    name?: string;
    /** 法人或经办人身份证号 */
@@ -4578,6 +4874,8 @@
    proxy?: boolean;
    /** 企业授权书 */
    proxyPowerAttorneyUrl?: string;
    /** 第三方实名通道账号 */
    certAccount?: string;
  }
  type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>;