From f15a17f17cf1c3f278a047b6f5275f95641eceb1 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 13 三月 2025 13:05:56 +0800 Subject: [PATCH] feat: api --- src/services/api/typings.d.ts | 576 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 568 insertions(+), 8 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index cd366cf..ed47c06 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -42,9 +42,9 @@ sexType?: GenderTypeEnum; /** 璇佷功Id */ listCertionIds?: string[]; - provinceId?: string; - cityId?: string; - areaId?: string; + provinceId?: number; + cityId?: number; + areaId?: number; address?: string; startDate?: string; endDate?: string; @@ -68,8 +68,20 @@ isCache?: boolean; } + interface APIaddUserResumeContractRecordParams { + flexWorkerId?: string; + } + interface APIapiDefinitionParams { includeTypes?: boolean; + } + + interface APIcancelUserResumeCollectParams { + flexWorkerId?: string; + } + + interface APIcollectVisitingCardParams { + flexVisitingCardId?: string; } interface APIcreateParams { @@ -83,6 +95,10 @@ } interface APIdeleteDefaultConnectionStringParams { + id?: string; + } + + interface APIdeleteFlexEnterpriseParams { id?: string; } @@ -100,6 +116,10 @@ interface APIdeleteModuleParams { id?: string; + } + + interface APIdeleteMyCardCollectParams { + visitingCardCollectId?: string; } interface APIdeleteRoleParams { @@ -162,6 +182,10 @@ interface APIgetFirstCurrentUserModuleListCacheByModuleIdParams { moduleId?: string; + } + + interface APIgetFlexTaskDetailParams { + id?: string; } interface APIgetFlexTaskDtoParams { @@ -272,6 +296,10 @@ permissionName?: string; } + interface APIstopEnterpriseUserContractParams { + flexWorkerId?: string; + } + interface APIupdateDefaultConnectionStringParams { id?: string; defaultConnectionString?: string; @@ -355,6 +383,21 @@ values?: Record<string, any>; } + interface AreaDto { + id?: string; + areaCode?: number; + parentId?: number; + areaName?: string; + /** 1鐪� 2甯� 3鍖� 4闀� */ + layer?: number; + sort?: number; + children?: AreaDto[]; + /** 绠�鏄撴嫾闊� */ + simpleSpelling?: string; + /** 蹇�熸绱� */ + quickQuery?: string; + } + interface BaseAuthorizeDto { moduleType?: number; moduleId?: string; @@ -423,6 +466,8 @@ verificationCode: string; } + type ChargeTypeEnum = 1 | 2; + interface CheckLoginVerificationCodeInput { messageType?: string; phoneNumber: string; @@ -431,6 +476,11 @@ interface ClockDto { kind?: string; + } + + interface CollectFlexWorkerResumeInput { + flexWorkerId?: string; + userResumeId?: string; } interface ConditionInfo { @@ -449,6 +499,69 @@ interface ControllerInterfaceApiDescriptionModel { type?: string; + } + + interface CreateOrEditFlexEnterpriseBankInput { + id?: string; + /** 寮�鎴疯 */ + openBank?: string; + /** 寮�鎴锋敮琛� */ + openBranchBank?: string; + /** 閾惰璐︽埛 */ + bankAccount?: string; + verifyStatus?: VerifyStatus; + flexEnterpirseId?: string; + } + + interface CreateOrEditFlexEnterpriseInput { + id?: string; + /** 浼佷笟鍚嶇О */ + enterpriseName?: string; + /** 娉曚汉濮撳悕 */ + legalPersonName?: string; + /** 娉曚汉韬唤璇佸彿 */ + legalPersonIdNumber?: string; + /** 璁よ瘉鑱旂郴浜� */ + contact?: string; + /** 璁よ瘉鑱旂郴浜虹數璇� */ + contactPhone?: string; + /** 绀句細缁熶竴淇$敤浠g爜 */ + societyCreditCode?: string; + /** 鐪佷唤code */ + provinceCode?: number; + /** 鐪佷唤鍚嶇О */ + proviceName?: string; + /** 鍩庡競Code */ + cityCode?: number; + /** 鍩庡競鍚嶇О */ + cityName?: string; + status?: FlexEnterpriseStatus; + settingStatus?: FlexEnterpriseSettingStatus; + certificationStatus?: FlexEnterpriseCertificationStatus; + /** 鎵�灞炶涓� */ + belongIndustryType?: string; + } + + interface CreateOrEditFlexEnterpriseMessageSettingInput { + id?: string; + messageChannel?: MessageChannelEnum; + /** 娑堟伅璐圭敤 */ + messageCost?: number; + flexEnterpirseId?: string; + } + + interface CreateOrEditFlexEnterpriseSignSettingInput { + id?: string; + signChannel?: SignChannelEnum; + chargeType?: ChargeTypeEnum; + /** 瀹炲悕璐圭敤 */ + realVerifyCost?: number; + /** 绛剧害璐圭敤 */ + signCost?: number; + /** 涓�鍙d环 */ + mergeSignCost?: number; + /** 浼佷笟Id */ + flexEnterpirseId?: string; } interface CreateOrEditSearchInput { @@ -512,6 +625,20 @@ interface EnableSearchSettingInput { id: string; status: boolean; + } + + interface EnterpriseSignSettingDto { + id?: string; + signChannel?: SignChannelEnum; + chargeType?: ChargeTypeEnum; + /** 瀹炲悕璐圭敤 */ + realVerifyCost?: number; + /** 绛剧害璐圭敤 */ + signCost?: number; + /** 涓�鍙d环 */ + mergeSignCost?: number; + /** 浼佷笟Id */ + flexEnterpirseId?: string; } interface EntityExtensionDto { @@ -608,6 +735,70 @@ key?: string; } + interface FlexEnterpriseBankDto { + id?: string; + /** 寮�鎴疯 */ + openBank?: string; + /** 寮�鎴锋敮琛� */ + openBranchBank?: string; + /** 閾惰璐︽埛 */ + bankAccount?: string; + verifyStatus?: VerifyStatus; + flexEnterpirseId?: string; + } + + type FlexEnterpriseCertificationStatus = 10 | -10; + + interface FlexEnterpriseDto { + id?: string; + /** 浼佷笟鍚嶇О */ + enterpriseName?: string; + /** 娉曚汉濮撳悕 */ + legalPersonName?: string; + /** 娉曚汉韬唤璇佸彿 */ + legalPersonIdNumber?: string; + /** 璁よ瘉鑱旂郴浜� */ + contact?: string; + /** 璁よ瘉鑱旂郴浜虹數璇� */ + contactPhone?: string; + /** 绀句細缁熶竴淇$敤浠g爜 */ + societyCreditCode?: string; + /** 鐪佷唤code */ + provinceCode?: number; + /** 鐪佷唤鍚嶇О */ + proviceName?: string; + /** 鍩庡競Code */ + cityCode?: number; + /** 鍩庡競鍚嶇О */ + cityName?: string; + status?: FlexEnterpriseStatus; + settingStatus?: FlexEnterpriseSettingStatus; + certificationStatus?: FlexEnterpriseCertificationStatus; + /** 鎵�灞炶涓� */ + belongIndustryType?: string; + enterpriseSignSettingDto?: EnterpriseSignSettingDto; + flexEnterpriseBankDto?: FlexEnterpriseBankDto; + flexEnterpriseMessageSettingDto?: FlexEnterpriseMessageSettingDto; + } + + interface FlexEnterpriseDtoPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: FlexEnterpriseDto[]; + } + + interface FlexEnterpriseMessageSettingDto { + id?: string; + messageChannel?: MessageChannelEnum; + /** 娑堟伅璐圭敤 */ + messageCost?: number; + flexEnterpirseId?: string; + } + + type FlexEnterpriseSettingStatus = 10 | -10; + + type FlexEnterpriseStatus = 10 | -10; + interface FlexTaskAideDto { id?: string; aideType?: FlexTaskAideEnum; @@ -616,11 +807,49 @@ type FlexTaskAideEnum = 10 | 20; + type FlexTaskCheckAcceptStatusEnum = 10 | 20 | 30; + type FlexTaskFeeTypeEnum = 10 | 20 | 30 | 40; + + interface FlexTaskListOutput { + taskId?: string; + /** 浠诲姟鍚嶇О */ + taskName?: string; + releaseStatus?: FlexTaskReleaseStatusEnum; + /** 瀹夋帓鐘舵�� */ + arrangeStatus?: boolean; + /** 鍙戝竷鏃ユ湡 */ + startDate?: string; + /** 缁撴潫鏃ユ湡 */ + endDate?: string; + feeType?: FlexTaskFeeTypeEnum; + settleType?: FlexTaskSettleTypeEnum; + settleStatus?: SettleStatusEnum; + /** 鏄惁鎺ㄨ崘 */ + isRecommend?: boolean; + /** 缁撶畻鏂瑰紡 */ + fee?: number; + /** 鎶ュ悕浜烘暟 */ + applyWorkerCount?: number; + /** 鏄惁宸插畬鎴愰獙鏀� */ + isOverCheck?: boolean; + overCheckStatus?: OverCheckStatusEnum; + creationTime?: string; + } + + interface FlexTaskListOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: FlexTaskListOutput[]; + } type FlexTaskReleaseStatusEnum = 10 | 20; type FlexTaskSettleTypeEnum = 10 | 20 | 30; + + type FlexTaskWorkerHireEnum = 10 | 20 | 30; + + type FlexWorkerEleSignEnum = 10 | 20 | 30; type GenderTypeEnum = 1 | 2; @@ -629,8 +858,89 @@ phoneNumber: string; } + interface GetAreaListInput { + /** 1鐪� 2甯� 3鍖� 4闀� */ + layer?: number; + /** 鐖剁骇缂栫爜 */ + parentCode?: number; + } + + interface GetCollectVisitingCardListInput { + pageModel?: Pagination; + } + + interface GetCollectVisitingCardOutput { + id?: string; + enterpriseId?: string; + userId?: string; + name?: string; + headPhoto?: string; + phoneNum?: string; + weChat?: string; + jobName?: string; + email?: string; + companyName?: string; + creationTime?: string; + } + + interface GetCollectVisitingCardOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: GetCollectVisitingCardOutput[]; + } + interface GetFeatureListResultDto { groups?: FeatureGroupDto[]; + } + + interface GetFlexEnterpriseInput { + pageModel?: Pagination; + /** 浼佷笟鍚嶇О/娉曚汉/鑱旂郴浜� */ + searchWord?: string; + flexEnterpriseSettingStatus?: FlexEnterpriseSettingStatus; + } + + interface GetFlexSignWorkerListInput { + pageModel?: Pagination; + signStatus?: FlexWorkerEleSignEnum; + } + + interface GetFlexTaskDetailForBackOutput { + /** 浠诲姟Id */ + taskId?: string; + /** 浠诲姟鍚嶇О */ + taskName?: string; + isArrange?: boolean; + startDate?: string; + endDate?: string; + feeType?: FlexTaskFeeTypeEnum; + feeTypeName?: string; + settleType?: FlexTaskSettleTypeEnum; + /** 缁撶畻鏂瑰紡 */ + settleTypeName?: string; + /** 绂忓埄 */ + taskWeals?: FlexTaskAideDto[]; + /** 璇佷功 */ + taskCerts?: FlexTaskAideDto[]; + /** 鏈嶅姟璐� */ + fee?: number; + provinceId?: number; + cityId?: number; + areaId?: number; + /** 鐪� */ + provinceName?: string; + /** 甯� */ + cityName?: string; + /** 鍖哄煙 */ + areaName?: string; + /** 浠诲姟鍦扮偣 */ + address?: string; + creationDate?: string; + /** 鏈�灏忓勾榫� */ + minAge?: number; + /** 鏈�澶у勾榫� */ + maxAge?: number; + sexType?: GenderTypeEnum; } interface GetFlexTaskDtoOutput { @@ -646,9 +956,9 @@ taskWeals?: FlexTaskAideDto[]; taskCerts?: FlexTaskAideDto[]; fee?: number; - provinceId?: string; - cityId?: string; - areaId?: string; + provinceId?: number; + cityId?: number; + areaId?: number; provinceName?: string; cityName?: string; areaName?: string; @@ -657,6 +967,19 @@ minAge?: number; maxAge?: number; sexType?: GenderTypeEnum; + } + + interface GetFlexTaskForBackInput { + pageModel?: Pagination; + /** 浠诲姟鍚嶇О */ + taskName?: string; + /** 鍙戝竷寮�濮嬫棩鏈� */ + startBeginDate?: string; + /** 鍙戝竷缁撴潫鏃ユ湡 */ + startEndDate?: string; + releaseStatus?: FlexTaskReleaseStatusEnum; + /** 鏄惁鎺ㄨ崘 */ + isRecommend?: boolean; } interface GetFlexTaskListByStatusInput { @@ -676,6 +999,8 @@ taskId?: string; taskName?: string; isArrange?: boolean; + isOverCheck?: boolean; + releaseStatus?: FlexTaskReleaseStatusEnum; startDate?: string; endDate?: string; feeType?: FlexTaskFeeTypeEnum; @@ -688,13 +1013,112 @@ areaName?: string; address?: string; applyWorkerCount?: number; - creationDate?: string; + creationTime?: string; } interface GetFlexTaskListOutputPageOutput { pageModel?: Pagination; objectData?: any; data?: GetFlexTaskListOutput[]; + } + + interface GetFlexTaskWorkerApplyListInput { + pageModel?: Pagination; + flexTaskId?: string; + } + + interface GetFlexTaskWorkerArrangeListInput { + pageModel?: Pagination; + flexTaskId?: string; + /** 濮撳悕韬唤璇佸彿 */ + searchKeys?: string; + /** 鏄惁宸插畨鎺� */ + arrangStatus?: boolean; + } + + interface GetFlexTaskWorkerCheckContentDtoInput { + /** 浠诲姟Id */ + flexTaskId?: string; + /** 鐏靛伐Id */ + flexWorkerId?: string; + } + + interface GetFlexTaskWorkerCheckListInput { + pageModel?: Pagination; + /** 浠诲姟Id */ + flexTaskId?: string; + checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; + } + + interface GetFlexTaskWorkerListInput { + pageModel?: Pagination; + flexTaskId?: string; + } + + interface GetFlexWorkerRecordOutput { + taskId?: string; + workTime?: string; + cityId?: string; + cityName?: string; + address?: string; + taskName?: string; + } + + interface GetNewestWorkerListInput { + pageModel?: Pagination; + /** 宀椾綅Id */ + expectationJobId?: string; + genderType?: GenderTypeEnum; + /** 韬唤 */ + socialIdentity?: string; + minAge?: number; + maxAge?: number; + /** 璇佷功 */ + certificateTypeId?: string; + } + + interface GetNewestWorkerListOutput { + userId?: string; + userResumeId?: string; + name?: string; + idNumber?: string; + contactPhone?: string; + isRealName?: boolean; + age?: number; + avatarUrl?: string; + genderType?: GenderTypeEnum; + educationalLevel?: string; + socialIdentity?: string; + jobIds?: string[]; + listExpectationJobName?: string[]; + certIds?: string[]; + listCertificateNames?: string[]; + userResumeLifeCircles?: string[]; + socialIdentityName?: string; + eduLevelName?: string; + arrangeCount?: number; + workExperience?: string; + freeTime?: UserResumeFreeTimeEnum; + jobSeekingStatus?: UserResumeJobSeekingStatusEnum; + creationTime?: string; + lastModificationTime?: string; + fristContractTime?: string; + lastContractTime?: string; + userSignStatus?: FlexWorkerEleSignEnum; + enterSignStatus?: FlexWorkerEleSignEnum; + hireStatus?: FlexTaskWorkerHireEnum; + checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; + arrangeStatus?: boolean; + applyTime?: string; + height?: string; + weight?: string; + workRecordList?: GetFlexWorkerRecordOutput[]; + } + + interface GetNewestWorkerListOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: GetNewestWorkerListOutput[]; } interface GetPermissionListResultDto { @@ -726,10 +1150,39 @@ parentId?: string; } + interface GetSearchSettingListOutput { + id?: string; + name?: string; + searchType?: number; + url?: string; + sort?: number; + } + interface GetSearchSettingListPageOutput { pageModel?: Pagination; objectData?: any; data?: GetSearchSettingList[]; + } + + interface GetTaskWorkerCheckContentOutput { + /** 浠诲姟Id */ + flexTaskId?: string; + /** 鐏靛伐Id */ + flexWorkerId?: string; + /** 濮撳悕 */ + name?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhone?: string; + /** 鏄惁瀹炲悕 */ + isRealName?: boolean; + /** 澶村儚 */ + avatarUrl?: string; + /** 鎻愪氦楠屾敹鏃堕棿 */ + appleCheckTime?: string; + /** 楠屾敹鍥剧墖璺緞 */ + checkImageUrl?: string; + checkImageLists?: string[]; + checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; } interface GetTypeSearchSettingList { @@ -741,6 +1194,27 @@ interface GetTypeSearchSettingListInput { searchType: number; belongType?: number; + } + + interface GetWorkerListForBackOutput { + userId?: string; + /** 濮撳悕 */ + name?: string; + /** 韬唤璇佸彿鐮� */ + idNumber?: string; + /** 鐢佃瘽鍙风爜 */ + contactPhone?: string; + /** 骞撮緞 */ + age?: number; + genderType?: GenderTypeEnum; + eduLevelName?: string; + hireStatus?: FlexTaskWorkerHireEnum; + } + + interface GetWorkerListForBackOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: GetWorkerListForBackOutput[]; } interface IanaTimeZone { @@ -929,6 +1403,8 @@ resource?: string; } + type MessageChannelEnum = 10 | 20; + interface MethodParameterApiDescriptionModel { name?: string; typeAsString?: string; @@ -1026,6 +1502,32 @@ interface MyResumeOutput { resumeBaseInfo?: UserResumeBaseInfoOutput; resumeExpectationJob?: UserResumeExpectationJobOutput; + resumeCertifiCate?: UserResumeCertificateListOutput; + resumeCertifiDetail?: UserResumeCertificateDetailOutput; + resumeDetailInfo?: UserResumeDetailInfoOutput; + resumeWorkExperience?: UserResumeWorkExperienceOutput; + resumeWorkRecordList?: UserResumeWorkerRecordOutput[]; + } + + interface MyVisitingCardOutput { + id?: string; + enterpriseId?: string; + userId?: string; + name?: string; + headPhoto?: string; + phoneNum?: string; + weChat?: string; + jobName?: string; + email?: string; + companyName?: string; + provinceId?: string; + cityId?: string; + areaId?: string; + provinceName?: string; + cityName?: string; + areaName?: string; + address?: string; + companyDesc?: string; } interface NameValue { @@ -1052,6 +1554,8 @@ securityToken?: string; requestId?: string; } + + type OverCheckStatusEnum = 10 | 20 | -10; interface PageInput { pageModel?: Pagination; @@ -1260,6 +1764,16 @@ returnUrlHash?: string; } + interface SendPhoneCertificationVerificationCodeInput { + /** 濮撳悕 */ + name: string; + /** 璇佷欢鍙风爜 */ + identity: string; + /** 鐢ㄦ埛甯愬彿 */ + mobile: string; + businessType?: VerificationCodeBusinessTypeEnum; + } + interface SendPhoneMessageBaseInput { messageType?: string; phoneNumber: string; @@ -1276,6 +1790,11 @@ businessType?: VerificationCodeBusinessTypeEnum; } + interface SetFlexEnterpriseStatusInput { + id?: string; + status?: FlexEnterpriseStatus; + } + interface SetMyModule { moduleId?: string; sequence?: number; @@ -1289,10 +1808,18 @@ preViewData?: string; } + interface SetRecommendInput { + id?: string; + /** 鏄惁鎺ㄨ崘 */ + isRecommend?: boolean; + } + interface SetRoleUserInput { userId?: string[]; roleId?: string; } + + type SettleStatusEnum = 10 | 20 | -10; interface SetUserRoleInput { userId?: string; @@ -1304,6 +1831,26 @@ interface SetVersionModuleInput { versionId: string; modules: ModuleTypeInfo[]; + } + + type SignChannelEnum = 10 | 20; + + interface TaskWorkerArrangeInput { + flexTaskId?: string; + flexWorkerId?: string; + arrange?: boolean; + } + + interface TaskWorkerCheckAcceptStatusInput { + flexTaskId?: string; + flexWorkerId?: string; + checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; + } + + interface TaskWorkerHireRefuseInput { + flexTaskId?: string; + flexWorkerId?: string; + hireStatus?: FlexTaskWorkerHireEnum; } interface TenantDto { @@ -1407,6 +1954,11 @@ interface UserResumeBaseInfoOutput { name?: string; phoneNumber?: string; + avatarUrl?: string; + genderType?: GenderTypeEnum; + age?: number; + arrangeCount?: number; + idNumber?: string; socialIdentity?: string; socialIdentityName?: string; educationalLevel?: string; @@ -1453,6 +2005,12 @@ type UserResumeJobSeekingStatusEnum = 1 | 2 | 3; + interface UserResumeWorkerRecordOutput { + workTime?: string; + workAddress?: string; + workName?: string; + } + interface UserResumeWorkExperienceOutput { workingSeniority?: string; workExperience?: string; @@ -1460,7 +2018,9 @@ type UserTypeEnum = 1 | 2; - type VerificationCodeBusinessTypeEnum = 10 | 11 | 20 | 30 | 40 | 70 | 900 | 910 | 920; + type VerificationCodeBusinessTypeEnum = 10 | 11 | 20 | 30 | 40 | 70 | 900 | 910 | 920 | 930; + + type VerifyStatus = 10 | -10; interface VersionCache { name?: string; -- Gitblit v1.9.1