wupengfei
1 天以前 e81667dd6befdd9aa2bb130ceac18eed03fb45b0
src/services/api/typings.d.ts
@@ -317,6 +317,8 @@
  interface APIgetTaskInfoParams {
    /** Id */
    id?: string;
    /** 场景 */
    readScene?: EnumReadScene;
  }
  interface APIgetTaskSelectParams {
@@ -1140,6 +1142,15 @@
    Real = 100,
  }
  enum EnumReadScene {
    /**C端人员 */
    TaskUserApplyForPersonal = 0,
    /**C端人员 */
    TaskUserHirePassForPersonal = 1,
    /**C端人员 */
    TaskUserArrangePassForPersonal = 2,
  }
  enum EnumRealAccess {
    /**上上签 */
    BestSign = 10,
@@ -1156,54 +1167,60 @@
    FlexJobServerTaskUser = 2,
    /**任务验收 */
    FlexJobServerTaskCheckReceive = 3,
    /**投保产品 */
    FlexJobServerInsuranceProduct = 4,
    /**企业投保产品 */
    FlexJobServerEnterpriseInsuranceProduct = 5,
    /**编号地址 */
    CommonServerCodeUrls = 4,
    CommonServerCodeUrls = 6,
    /**文件 */
    CommonServerFileUtils = 5,
    CommonServerFileUtils = 7,
    /**事件 */
    CommonServerEventUtils = 6,
    CommonServerEventUtils = 8,
    /**文字识别 */
    CommonServerOcrUtils = 7,
    CommonServerOcrUtils = 9,
    /**日志记录 */
    CommonServerLogRecords = 8,
    CommonServerLogRecords = 10,
    /**同步数据库 */
    CommonServerSyncDatabase = 9,
    CommonServerSyncDatabase = 11,
    /**短信工具 */
    CommonServerSmsUtils = 10,
    CommonServerSmsUtils = 12,
    /**配置 */
    CommonServerSettings = 11,
    CommonServerSettings = 13,
    /**已读 */
    CommonServerReadRecord = 12,
    CommonServerReadRecord = 14,
    /**微信小程序 */
    CommonServerWxmp = 15,
    /**用户认证 */
    UserServerAuth = 13,
    UserServerAuth = 16,
    /**用户菜单 */
    UserServerMenu = 14,
    UserServerMenu = 17,
    /**用户资源 */
    UserServerResource = 15,
    UserServerResource = 18,
    /**用户角色 */
    UserServerRole = 16,
    UserServerRole = 19,
    /**用户信息 */
    UserServerUser = 17,
    UserServerUser = 20,
    /**用户钱包 */
    UserServerUserWallet = 18,
    UserServerUserWallet = 21,
    /**电子签 */
    UserServerElectronSign = 19,
    UserServerElectronSign = 22,
    /**用户简历 */
    UserServerUserResume = 20,
    UserServerUserResume = 23,
    /**企业信息 */
    UserServerEnterprise = 21,
    UserServerEnterprise = 24,
    /**企业钱包 */
    UserServerEnterpriseWallet = 22,
    UserServerEnterpriseWallet = 25,
    /**企业合作钱包 */
    UserServerEnterpriseCooperationWallet = 23,
    UserServerEnterpriseCooperationWallet = 26,
    /**灵工信息 */
    UserServerEnterpriseEmployee = 24,
    UserServerEnterpriseEmployee = 27,
    /**电子签 */
    ElectronSignServerElectronSign = 25,
    ElectronSignServerElectronSign = 28,
    /**短信 */
    ToolServerSms = 26,
    ToolServerSms = 29,
    /**小程序 */
    ToolServerWxmp = 27,
    ToolServerWxmp = 30,
  }
  enum EnumResourceMethod {
@@ -1603,6 +1620,35 @@
    VERIFY_FAIL = 1,
    /**验证中,商户可发起提现尝试 */
    VERIFYING = 2,
  }
  enum EnumWxmpSubscribMessageTemplate {
    /**工易赚 */
    HireCompletedToPersonal = 0,
    /**工易赚 */
    ElectronSignStatusChangedForPersonal = 1,
    /**工易赚 */
    ArrangeCompletedToPersonal = 2,
    /**工易赚 */
    TaskCheckReceiveResultToPersonal = 3,
    /**工易赚 */
    SettlementReceiveToPersonal = 4,
    /**灵工达 */
    TaskCheckReceiveResultToEnterprise = 5,
    /**灵工达 */
    SettlementWaitAuditToEnterprise = 6,
    /**灵工达 */
    SettlementReceiveToEnterprise = 7,
    /**灵工达 */
    RechargeStatusChangedToEnterprise = 8,
    /**淘闪工 */
    SettlementWaitSureToSupplier = 9,
    /**淘闪工 */
    SettlementReceiveToSupplier = 10,
    /**淘闪工 */
    RechargeStatusChangedToSupplier = 11,
    /**淘闪工 */
    CheckInToSupplier = 12,
  }
  interface ExportEnterpriseBalanceDetailsCommand {
@@ -2177,6 +2223,24 @@
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseInsuranceProductsQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseInsuranceProductsQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseLoginInfoQueryResult {
    /** 跟踪Id */
    traceId?: string;
@@ -2437,6 +2501,24 @@
    /** 错误码 */
    errorCode?: string;
    data?: GetIdentityFrontOcrCommandResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetInsuranceProductsQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetInsuranceProductsQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -3941,6 +4023,8 @@
  interface GetArrangeTaskUsersQueryResultItem {
    /** 灵工Id */
    id?: string;
    /** 任务人员Id */
    taskInfoUserId?: string;
    /** 头像 */
    avatar?: string;
    /** 姓名 */
@@ -5015,6 +5099,63 @@
    createdTime?: string;
  }
  interface GetEnterpriseInsuranceProductsQuery {
    /** 企业合作Id */
    enterpriseCooperationId: string;
    /** 关键字 */
    keywords?: string;
    /** 保险公司编号 */
    supplierCode?: string;
    /** 保险险种编号 */
    typeCode?: string;
    /** 保额编号 */
    sumInsuredCode?: string;
    /** 投保方式编号 */
    periodCode?: string;
    /** 是否禁用 */
    isDisabled?: boolean;
    pageModel?: PagedListQueryPageModel;
  }
  interface GetEnterpriseInsuranceProductsQueryResult {
    pageModel?: PagedListQueryResultPageModel;
    /** 数据 */
    data?: GetEnterpriseInsuranceProductsQueryResultItem[];
  }
  interface GetEnterpriseInsuranceProductsQueryResultItem {
    /** Id */
    id?: string;
    /** 保险公司编号 */
    supplierCode?: string;
    /** 保险公司 */
    supplierContent?: string;
    /** 产品名称 */
    name?: string;
    /** 保险险种编号 */
    typeCode?: string;
    /** 保险险种 */
    typeContent?: string;
    /** 保额编号 */
    sumInsuredCode?: string;
    /** 保额 */
    sumInsuredContent?: string;
    /** 投保方式编号 */
    periodCode?: string;
    /** 投保方式 */
    periodContent?: string;
    /** 职业类别编号 */
    jobCategoryCode?: string;
    /** 职业类别 */
    jobCategoryContent?: string;
    /** 投保版本编号 */
    versionCode?: string;
    /** 投保版本 */
    versionContent?: string;
    /** 是否禁用 */
    isDisabled?: boolean;
  }
  type GetEnterpriseLoginInfoQuery = Record<string, any>;
  interface GetEnterpriseLoginInfoQueryResult {
@@ -5535,6 +5676,61 @@
    model?: BaiduOcrIdentityFrontResultModel;
  }
  interface GetInsuranceProductsQuery {
    /** 关键字 */
    keywords?: string;
    /** 保险公司编号 */
    supplierCode?: string;
    /** 保险险种编号 */
    typeCode?: string;
    /** 保额编号 */
    sumInsuredCode?: string;
    /** 投保方式编号 */
    periodCode?: string;
    /** 是否禁用 */
    isDisabled?: boolean;
    pageModel?: PagedListQueryPageModel;
  }
  interface GetInsuranceProductsQueryResult {
    pageModel?: PagedListQueryResultPageModel;
    /** 数据 */
    data?: GetInsuranceProductsQueryResultItem[];
  }
  interface GetInsuranceProductsQueryResultItem {
    /** Id */
    id?: string;
    /** 保险公司编号 */
    supplierCode?: string;
    /** 保险公司 */
    supplierContent?: string;
    /** 产品名称 */
    name?: string;
    /** 保险险种编号 */
    typeCode?: string;
    /** 保险险种 */
    typeContent?: string;
    /** 保额编号 */
    sumInsuredCode?: string;
    /** 保额 */
    sumInsuredContent?: string;
    /** 投保方式编号 */
    periodCode?: string;
    /** 投保方式 */
    periodContent?: string;
    /** 职业类别编号 */
    jobCategoryCode?: string;
    /** 职业类别 */
    jobCategoryContent?: string;
    /** 投保版本编号 */
    versionCode?: string;
    /** 投保版本 */
    versionContent?: string;
    /** 是否禁用 */
    isDisabled?: boolean;
  }
  interface GetLicenseOcrCommand {
    access?: EnumOcrAccess;
    /** 场景 */
@@ -5841,6 +6037,8 @@
    serviceFeeRate?: number;
    /** 发票税点 */
    invoiceTaxPointRate?: number;
    /** 是否已配置 */
    isConfigured?: boolean;
  }
  interface GetPersonalApplyTaskInfosQuery {
@@ -8322,6 +8520,27 @@
    ext?: string;
  }
  interface SaveInsuranceProductCommand {
    /** 保险公司编号 */
    supplierCode: string;
    /** 产品名称 */
    name: string;
    /** 保险险种编号 */
    typeCode?: string;
    /** 保额编号 */
    sumInsuredCode?: string;
    /** 投保方式编号 */
    periodCode?: string;
    /** 职业类别编号 */
    jobCategoryCode?: string;
    /** 版本编号 */
    versionCode?: string;
    /** 是否禁用 */
    isDisabled?: boolean;
    /** Id */
    id?: string;
  }
  interface SaveMenuButtonCommand {
    /** 菜单Id */
    parentId?: string;
@@ -8791,7 +9010,27 @@
    phoneNumber: string;
  }
  interface SendWxmpSubscribMessageCommand {
    template: EnumWxmpSubscribMessageTemplate;
    /** 点击模板卡片后的跳转页面,仅限本小程序内的页面。支持带参数,(示例index?foo=bar)。该字段不填则模板无跳转 */
    page?: string;
    /** 用户Id */
    userId?: string;
    /** 企业Id */
    enterpriseId?: string;
    /** 关联Id */
    relationId?: string;
  }
  interface SetDictionaryDataIsDisabledCommand {
    ids?: string[];
    /** 是否已禁用 */
    isDisabled?: boolean;
  }
  interface SetDisabledEnterpriseInsuranceProductsCommand {
    /** 企业合作Id */
    enterpriseCooperationId?: string;
    ids?: string[];
    /** 是否已禁用 */
    isDisabled?: boolean;
@@ -8818,6 +9057,12 @@
    isDisabled?: boolean;
  }
  interface SetIsDisabledInsuranceProductCommand {
    ids?: string[];
    /** 是否已禁用 */
    isDisabled?: boolean;
  }
  interface SetMenuSwitchCommand {
    /** Id */
    ids?: string[];