wupengfei
2 天以前 5ef9c0d1b3b82d7b30ec8d066d4abcb8284b4e04
packages/services/apiV2/typings.d.ts
@@ -140,6 +140,16 @@
    taskInfoId?: string;
  }
  interface APIgetEnterpriseInsuranceProductSelectParams {
    /** 供应商Id */
    supplierEnterpriseId?: string;
  }
  interface APIgetEnterpriseInsuranceSettingParams {
    /** Id */
    id?: string;
  }
  interface APIgetEnterpriseLoginInfoParams {
    /** 查询企业用户登录信息 */
    request?: GetEnterpriseLoginInfoQuery;
@@ -546,6 +556,8 @@
  }
  interface CalcTaskTotalServiceFeeCommand {
    /** 供应商Id */
    supplierEnterpriseId?: string;
    billingMethod?: EnumBillingMethod;
    /** 服务费 */
    serviceFee?: number;
@@ -553,17 +565,30 @@
    verifyWorkHours?: number;
    /** 总件数 */
    totalPieceQuantity?: number;
    /** 保险产品Id */
    insuranceProductId?: string;
    /** 需求人数 */
    needPeopleNumber?: number;
    /** 任务开始时间 */
    beginTime?: string;
    /** 任务结束时间 */
    endTime?: string;
    /** 验收方式 */
    checkReceiveMethods?: EnumTaskCheckReceiveMethod[];
  }
  interface CalcTaskTotalServiceFeeCommandResult {
    /** 服务费 */
    totalServiceFee?: number;
    /** 保费单价 */
    insuranceUnitPrice?: number;
    /** 预计保费 */
    insuranceTotalPrice?: number;
    insuranceSupplierAccess?: EnumInsuranceSupplierAccess;
    /** 投保供应商账号 */
    insuranceSupplierAccount?: string;
    /** 保险供应商Id */
    insuranceSupplierId?: string;
  }
  interface ChangePhoneNumberCommand {
@@ -1042,6 +1067,11 @@
    Pass = 30,
  }
  enum EnumInsuranceSupplierAccess {
    /**人资园 */
    WaterDropCloud = 10,
  }
  enum EnumLogLevel {
    /**跟踪 */
    Trace = 10,
@@ -1167,54 +1197,62 @@
    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,
    /**保险 */
    WaterDropCloudServerInsurance = 31,
  }
  enum EnumResourceMethod {
@@ -1614,6 +1652,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 {
@@ -2188,6 +2255,42 @@
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseInsuranceProductsQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseInsuranceProductsQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseInsuranceSettingQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseInsuranceSettingQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseLoginInfoQueryResult {
    /** 跟踪Id */
    traceId?: string;
@@ -2448,6 +2551,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;
    /** 错误信息 */
@@ -3564,6 +3685,25 @@
    errorCode?: string;
    /** 数据 */
    data?: SelectOptionGuidGetTaskSelectQueryOption[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultListSelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    /** 数据 */
    data?: SelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -5028,6 +5168,78 @@
    createdTime?: string;
  }
  interface GetEnterpriseInsuranceProductSelectQueryOption {
    /** Id */
    id?: string;
    /** 产品名称 */
    name?: 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;
  }
  interface GetEnterpriseInsuranceSettingQueryResult {
    /** Id */
    id?: string;
    insuranceSupplierAccess?: EnumInsuranceSupplierAccess;
    /** 投保供应商账号 */
    insuranceSupplierAccount?: string;
  }
  type GetEnterpriseLoginInfoQuery = Record<string, any>;
  interface GetEnterpriseLoginInfoQueryResult {
@@ -5548,6 +5760,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;
    /** 场景 */
@@ -5854,6 +6121,8 @@
    serviceFeeRate?: number;
    /** 发票税点 */
    invoiceTaxPointRate?: number;
    /** 是否已配置 */
    isConfigured?: boolean;
  }
  interface GetPersonalApplyTaskInfosQuery {
@@ -6936,6 +7205,8 @@
    /** 供应商Id */
    supplierEnterpriseId?: string;
    supplierEnterprise?: GetSupplierEnterpriseSelectQueryOptionEnterprise;
    /** 是否已配置保险 */
    isConfiguredInsurance?: boolean;
  }
  interface GetSupplierEnterpriseSelectQueryOptionEnterprise {
@@ -7037,6 +7308,10 @@
    timeoutServiceFee?: number;
    /** 总件数 */
    totalPieceQuantity?: number;
    /** 保险产品Id */
    insuranceProductId?: string;
    /** 保险产品名称 */
    insuranceProductName?: string;
    settlementCycle?: EnumSettlementCycle;
    /** 结算日期 */
    settlementDate?: number;
@@ -8335,6 +8610,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;
@@ -8587,6 +8883,8 @@
    timeoutServiceFee?: number;
    /** 总件数 */
    totalPieceQuantity?: number;
    /** 保险产品Id */
    insuranceProductId?: string;
    settlementCycle: EnumSettlementCycle;
    /** 结算日期 */
    settlementDate: number;
@@ -8770,6 +9068,14 @@
    data?: GetTaskSelectQueryOption;
  }
  interface SelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption {
    /** 值 */
    value?: string;
    /** 标签 */
    label?: string;
    data?: GetEnterpriseInsuranceProductSelectQueryOption;
  }
  interface SelectOptionStringGetDictionaryDataSelectQueryResultOption {
    /** 值 */
    value?: string;
@@ -8804,7 +9110,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;
@@ -8817,6 +9143,14 @@
    electronSignAccesses?: EnumElectronSignAccess[];
  }
  interface SetEnterpriseInsuranceSettingCommand {
    /** Id */
    id?: string;
    insuranceSupplierAccess?: EnumInsuranceSupplierAccess;
    /** 投保供应商账号 */
    insuranceSupplierAccount?: string;
  }
  interface SetEnterpriseSmsSettingCommand {
    /** Id */
    id?: string;
@@ -8831,6 +9165,12 @@
    isDisabled?: boolean;
  }
  interface SetIsDisabledInsuranceProductCommand {
    ids?: string[];
    /** 是否已禁用 */
    isDisabled?: boolean;
  }
  interface SetMenuSwitchCommand {
    /** Id */
    ids?: string[];