From 3210680f3b720752111a6de1e006487c319c0b67 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 15 八月 2025 16:30:01 +0800 Subject: [PATCH] fix: bug --- packages/services/apiV2/typings.d.ts | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 218 insertions(+), 21 deletions(-) diff --git a/packages/services/apiV2/typings.d.ts b/packages/services/apiV2/typings.d.ts index e2b61f5..3fc5b6f 100644 --- a/packages/services/apiV2/typings.d.ts +++ b/packages/services/apiV2/typings.d.ts @@ -83,6 +83,22 @@ id?: string; } + interface APIgetFileUrlParams { + /** 鍦板潃 */ + url?: string; + } + + interface APIgetLicenseOcrParams { + /** 閫氶亾 */ + access?: EnumOcrAccess; + /** 鍦烘櫙 */ + scene?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁涓轰簯瀛樺偍鐩稿鍦板潃 */ + isOssUrl?: boolean; + } + interface APIgetMenuParams { /** Id */ id?: string; @@ -189,7 +205,24 @@ ids?: string[]; } - type AutoTaskStatusByDateCommand = Record<string, any>; + interface BaiduOcrBusinessLicenseResultModel { + /** 浼佷笟鍏ㄧО */ + enterpriseName?: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode?: string; + /** 娉曚汉濮撳悕 */ + legalPerson?: string; + /** 浼佷笟绫诲瀷 */ + enterpriseType?: string; + /** 娉ㄥ唽璧勬湰 */ + registeredCapital?: string; + /** 鎴愮珛鏃ユ湡 */ + establishmentDate?: string; + /** 浼佷笟鍦板潃 */ + address?: string; + /** 缁忚惀鑼冨洿 */ + mainBusiness?: string; + } interface BindWxmpUserInfoCommand { /** 璁块棶浠ょ墝 */ @@ -292,6 +325,18 @@ Wxmp = 20, } + enum EnumDataSource { + /**818 */ + HumanResources = 10, + } + + enum EnumEnterpriseRealMethod { + /**浼佷笟涓夎绱� */ + Identity3 = 10, + /**浼佷笟鍥涜绱� */ + Identity4 = 20, + } + enum EnumMenuType { /**鑿滃崟 */ Menu = 10, @@ -314,11 +359,23 @@ NeedPower = 30, } + enum EnumOcrAccess { + /**鐧惧害 */ + Baidu = 10, + } + enum EnumPagedListOrder { /**鍗囧簭 */ Asc = 0, /**闄嶅簭 */ Desc = 1, + } + + enum EnumPayAccess { + /**骞冲畨閾惰 */ + PingAnBank = 10, + /**鏀粯瀹� */ + Alipay = 20, } enum EnumPersonalFreeTime { @@ -343,6 +400,15 @@ Not = 30, } + enum EnumPersonalRealMethod { + /**涓汉鎵嬫満鍙蜂笁瑕佺礌 */ + Identity3 = 10, + /**閾惰鍗″瑕佺礌 */ + Identity4 = 20, + /**鍒疯劯璁よ瘉 */ + Face = 30, + } + enum EnumRealAccess { /**涓婁笂绛� */ BestSign = 10, @@ -359,22 +425,26 @@ TaskUser = 2, /**浠诲姟楠屾敹 */ TaskCheckReceive = 3, + /**鏂囧瓧璇嗗埆 */ + FileUtils = 4, + /**鏂囧瓧璇嗗埆 */ + OcrUtils = 5, /**鐢ㄦ埛璁よ瘉 */ - Auth = 4, + Auth = 6, /**鐢ㄦ埛鑿滃崟 */ - Menu = 5, + Menu = 7, /**鐢ㄦ埛璧勬簮 */ - Resource = 6, + Resource = 8, /**鐢ㄦ埛瑙掕壊 */ - Role = 7, + Role = 9, /**鐢ㄦ埛淇℃伅 */ - User = 8, + User = 10, /**鐢ㄦ埛绠�鍘� */ - UserResume = 9, + UserResume = 11, /**浼佷笟淇℃伅 */ - Enterprise = 10, + Enterprise = 12, /**鐏靛伐淇℃伅 */ - EnterpriseEmployee = 11, + EnterpriseEmployee = 13, } enum EnumResourceMethod { @@ -752,6 +822,24 @@ /** 閿欒鐮� */ errorCode?: string; data?: GetEnterpriseSmsSettingQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetLicenseOcrCommandResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetLicenseOcrCommandResult; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ @@ -1458,6 +1546,24 @@ timestamp?: number; } + interface FriendlyResultUploadFileCommandResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: UploadFileCommandResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + type GetAliyunOSSAcsQuery = Record<string, any>; interface GetAliyunOSSAcsQueryResult { @@ -2031,6 +2137,12 @@ isConfigured?: boolean; } + interface GetLicenseOcrCommandResult { + /** 鍦板潃 */ + url?: string; + model?: BaiduOcrBusinessLicenseResultModel; + } + interface GetMenuQueryResult { /** Id */ id?: string; @@ -2318,6 +2430,8 @@ } enum GetPersonalHireTaskInfosQueryStatus { + /**寰呭紑濮� */ + Wait = 1, /**杩涜涓� */ InProcess = 10, /**宸插畬鎴� */ @@ -2610,8 +2724,10 @@ } enum GetTaskInfoQueryResultHireButton { + /**寰呭紑濮� */ + Wait = 1, /**鐢宠楠屾敹 */ - ApplyCheckReceive = 1, + ApplyCheckReceive = 5, /**杩涜涓� */ InProcess = 10, /**宸插畬鎴� */ @@ -2692,6 +2808,7 @@ checkReceiveStatus?: EnumTaskCheckReceiveStatus; settlementStatus?: EnumTaskSettlementStatus; recommendStatus?: EnumTaskRecommendStatus; + hireStatus?: EnumTaskUserHireStatus; /** 鍙戝竷鏃堕棿 */ createdTime?: string; } @@ -2952,8 +3069,8 @@ } interface GetUserResumeQueryResultExperience { - /** 绛剧害鏃堕棿 */ - signContractTime?: string; + /** 褰曠敤鏃堕棿 */ + hireTime?: string; /** 浼佷笟鍏ㄧО */ enterpriseName?: string; /** 浠诲姟鍚嶇О */ @@ -3021,6 +3138,7 @@ workExperience?: string; /** 鍒涘缓鏃堕棿 */ createdTime?: string; + hireStatus?: EnumTaskUserHireStatus; } type GetUserResumeWorkExperienceQuery = Record<string, any>; @@ -3360,15 +3478,6 @@ resources?: GetRoleQueryResultResource[]; } - interface SaveScheduleJobDetailCommand { - /** 璧勬簮Id */ - resourceId?: string; - /** 璇锋眰鏁版嵁 */ - body?: string; - /** Cron琛ㄨ揪寮� */ - cron?: string; - } - interface SaveTaskInfoCommand { /** 浠诲姟鍚嶇О */ name: string; @@ -3591,6 +3700,89 @@ files?: string[]; } + interface SyncEnterpriseUserCommand { + dataSource?: EnumDataSource; + /** 鏁版嵁鏉ユ簮Id */ + dataSourceId?: string; + /** 瀵嗙爜 */ + password?: string; + /** 濮撳悕 */ + name?: string; + /** 鐢ㄦ埛鍚� */ + userName?: string; + /** 鎵嬫満鍙� */ + phoneNumber?: string; + status?: EnumUserStatus; + enterprise?: SyncEnterpriseUserCommandEnterprise; + } + + interface SyncEnterpriseUserCommandEnterprise { + /** 鍥尯Id */ + industrialParkId?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode: string; + /** 钀ヤ笟鎵х収鐓х墖 */ + licenseImage?: string; + /** 娉曚汉濮撳悕 */ + legalPerson?: string; + /** 娉曚汉韬唤璇佸彿 */ + legalIdentity?: string; + /** 鎵�鍦ㄧ渷浠界紪鍙� */ + provinceCode?: string; + /** 鎵�鍦ㄥ煄甯傜紪鍙� */ + cityCode?: string; + /** 鑱旂郴浜� */ + contacts?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhoneNumber?: string; + /** 鑱旂郴閭 */ + contactEmail?: string; + payAccess?: EnumPayAccess; + /** 寮�鎴锋�昏 */ + bankName?: string; + /** 寮�鎴锋敮琛� */ + bankBranchName?: string; + /** 閾惰璐︽埛 */ + bankCard?: string; + /** 鏄惁宸叉牎楠岄摱琛岃处鎴� */ + isCheckedBankCard?: boolean; + realAccess?: EnumRealAccess; + /** 瀹炲悕璐圭敤 */ + realVerifyCost?: number; + /** 绛剧害璐圭敤 */ + signCost?: number; + /** 涓�鍙d环 */ + mergeSignCost?: number; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + enterpriseAuth?: SyncEnterpriseUserCommandEnterpriseAuth; + } + + interface SyncEnterpriseUserCommandEnterpriseAuth { + enterpriseRealMethod?: EnumEnterpriseRealMethod; + personalRealMethod?: EnumPersonalRealMethod; + /** 娉曚汉鎴栫粡鍔炰汉濮撳悕 */ + name?: string; + /** 娉曚汉鎴栫粡鍔炰汉韬唤璇佸彿 */ + identity?: string; + /** 娉曚汉鎴栫粡鍔炰汉韬唤璇佷汉鍍忛潰 */ + identityImg?: string; + /** 娉曚汉鎴栫粡鍔炰汉韬唤璇佸浗寰介潰 */ + identityBackImg?: string; + /** 娉曚汉鎴栫粡鍔炰汉閾惰鍗″彿 */ + bankCard?: string; + /** 娉曚汉鎴栫粡鍔炰汉閾惰鍗$収鐗� */ + bankCardImg?: string; + /** 娉曚汉鎴栫粡鍔炰汉鎵嬫満鍙� */ + phoneNumber?: string; + /** 鏄惁濮旀墭缁忓姙浜� */ + proxy?: boolean; + /** 浼佷笟鎺堟潈涔� */ + proxyPowerAttorneyUrl?: string; + } + type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; interface UpdatePhoneNumberVerifyCodeCommand { @@ -3598,6 +3790,11 @@ phoneNumber: string; } + interface UploadFileCommandResult { + /** 鍦板潃 */ + url?: string; + } + interface WxmpLoginCommand { /** 鐢ㄦ埛鐧诲綍鍑瘉 */ code: string; -- Gitblit v1.9.1