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/FlexTask.ts | 63 +++
src/services/api/index.ts | 4
src/services/api/Common.ts | 15
src/services/api/FlexEnterprise.ts | 108 +++++
src/services/api/FlexWorker.ts | 336 +++++++++++++++++
src/services/api/typings.d.ts | 576 +++++++++++++++++++++++++++++
6 files changed, 1,094 insertions(+), 8 deletions(-)
diff --git a/src/services/api/Common.ts b/src/services/api/Common.ts
index 93aa15e..33f7365 100644
--- a/src/services/api/Common.ts
+++ b/src/services/api/Common.ts
@@ -17,6 +17,21 @@
});
}
+/** 绗笁鏂规墜鏈哄彿楠岃瘉 鍙戦�侀獙璇佺爜 POST /api/Common/SendPhoneCertificationVerificationCode */
+export async function sendPhoneCertificationVerificationCode(
+ body: API.SendPhoneCertificationVerificationCodeInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/Common/SendPhoneCertificationVerificationCode', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 鍙戦�侀獙璇佺爜 POST /api/Common/SendVerificationCode */
export async function sendVerificationCode(
body: API.SendPhoneVerificationCodeByBusinessTypeInput,
diff --git a/src/services/api/FlexEnterprise.ts b/src/services/api/FlexEnterprise.ts
new file mode 100644
index 0000000..47751e0
--- /dev/null
+++ b/src/services/api/FlexEnterprise.ts
@@ -0,0 +1,108 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鏂板鎴栦慨鏀逛紒涓氱鐞� POST /api/FlexEnterprise/CreateOrEditFlexEnterprise */
+export async function createOrEditFlexEnterprise(
+ body: API.CreateOrEditFlexEnterpriseInput,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterprise', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏂板鎴栦慨鏀归摱琛岃缃� POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseBankSetting */
+export async function createOrEditFlexEnterpriseBankSetting(
+ body: API.CreateOrEditFlexEnterpriseBankInput,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseBankSetting', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏂板鎴栦慨鏀规秷鎭缃� POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseMessageSetting */
+export async function createOrEditFlexEnterpriseMessageSetting(
+ body: API.CreateOrEditFlexEnterpriseMessageSettingInput,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseMessageSetting', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏂板鎴栦慨鏀圭數瀛愮璁剧疆 POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseSignSetting */
+export async function createOrEditFlexEnterpriseSignSetting(
+ body: API.CreateOrEditFlexEnterpriseSignSettingInput,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseSignSetting', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍒犻櫎浼佷笟绠$悊 DELETE /api/FlexEnterprise/DeleteFlexEnterprise */
+export async function deleteFlexEnterprise(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIdeleteFlexEnterpriseParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexEnterprise/DeleteFlexEnterprise', {
+ method: 'DELETE',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇浼佷笟绠$悊鍒楄〃 POST /api/FlexEnterprise/GetFlexEnterpriseList */
+export async function getFlexEnterpriseList(
+ body: API.GetFlexEnterpriseInput,
+ options?: API.RequestConfig
+) {
+ return request<API.FlexEnterpriseDtoPageOutput>('/api/FlexEnterprise/GetFlexEnterpriseList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆浼佷笟鐘舵�� POST /api/FlexEnterprise/SetFlexEnterpriseStatus */
+export async function setFlexEnterpriseStatus(
+ body: API.SetFlexEnterpriseStatusInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexEnterprise/SetFlexEnterpriseStatus', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
diff --git a/src/services/api/FlexTask.ts b/src/services/api/FlexTask.ts
new file mode 100644
index 0000000..e26d387
--- /dev/null
+++ b/src/services/api/FlexTask.ts
@@ -0,0 +1,63 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鑾峰彇浠诲姟璇︽儏 GET /api/FlexTask/GetFlexTaskDetail */
+export async function getFlexTaskDetail(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetFlexTaskDetailParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetFlexTaskDetailForBackOutput>('/api/FlexTask/GetFlexTaskDetail', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇杩愯惀绔换鍔$鐞嗗垪琛� POST /api/FlexTask/GetFlexTaskList */
+export async function getFlexTaskList(
+ body: API.GetFlexTaskForBackInput,
+ options?: API.RequestConfig
+) {
+ return request<API.FlexTaskListOutputPageOutput>('/api/FlexTask/GetFlexTaskList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鎶ュ悕璇︽儏 POST /api/FlexTask/GetFlexTaskWorkerList */
+export async function getFlexTaskWorkerList(
+ body: API.GetFlexTaskWorkerListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetWorkerListForBackOutputPageOutput>('/api/FlexTask/GetFlexTaskWorkerList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆浠诲姟鎺ㄨ崘鐘舵�� POST /api/FlexTask/SetFlexTaskReRecommendStatus */
+export async function setFlexTaskReRecommendStatus(
+ body: API.SetRecommendInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexTask/SetFlexTaskReRecommendStatus', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
diff --git a/src/services/api/FlexWorker.ts b/src/services/api/FlexWorker.ts
index 8124d65..8c2cc4c 100644
--- a/src/services/api/FlexWorker.ts
+++ b/src/services/api/FlexWorker.ts
@@ -14,6 +14,66 @@
});
}
+/** 娣诲姞鑱旂郴璁板綍 GET /api/FlexWorker/AddUserResumeContractRecord */
+export async function addUserResumeContractRecord(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIaddUserResumeContractRecordParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/AddUserResumeContractRecord', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鍙栨秷浜哄憳鏀惰棌 DELETE /api/FlexWorker/CancelUserResumeCollect */
+export async function cancelUserResumeCollect(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIcancelUserResumeCollectParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/CancelUserResumeCollect', {
+ method: 'DELETE',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鏀惰棌浜哄憳绠�鍘� POST /api/FlexWorker/CollectFlexWorkerResume */
+export async function collectFlexWorkerResume(
+ body: API.CollectFlexWorkerResumeInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/CollectFlexWorkerResume', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏀惰棌鍚嶇墖 GET /api/FlexWorker/CollectVisitingCard */
+export async function collectVisitingCard(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIcollectVisitingCardParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/CollectVisitingCard', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
/** 浠诲姟鍒犻櫎 DELETE /api/FlexWorker/DeleteFlexTask */
export async function deleteFlexTask(
// 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -29,6 +89,79 @@
});
}
+/** 鍒犻櫎鍚嶇墖鏀惰棌 DELETE /api/FlexWorker/DeleteMyCardCollect */
+export async function deleteMyCardCollect(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIdeleteMyCardCollectParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/DeleteMyCardCollect', {
+ method: 'DELETE',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 缂栬緫B绔悕鐗� POST /api/FlexWorker/EditVisitingCard */
+export async function editVisitingCard(
+ body: API.MyVisitingCardOutput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/EditVisitingCard', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐪佸競鍖哄垪琛� POST /api/FlexWorker/GetAreaList */
+export async function getAreaList(body: API.GetAreaListInput, options?: API.RequestConfig) {
+ return request<API.AreaDto[]>('/api/FlexWorker/GetAreaList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇璧勬牸璇佷功鍒楄〃 GET /api/FlexWorker/GetCertificationList */
+export async function getCertificationList(options?: API.RequestConfig) {
+ return request<API.GetSearchSettingListOutput[]>('/api/FlexWorker/GetCertificationList', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇浼佷笟绂忓埄鍒楄〃 GET /api/FlexWorker/GetEnterpriseWelfareList */
+export async function getEnterpriseWelfareList(options?: API.RequestConfig) {
+ return request<API.GetSearchSettingListOutput[]>('/api/FlexWorker/GetEnterpriseWelfareList', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇绛剧害浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexSignWorkerList */
+export async function getFlexSignWorkerList(
+ body: API.GetFlexSignWorkerListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetNewestWorkerListOutputPageOutput>('/api/FlexWorker/GetFlexSignWorkerList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** B绔皬绋嬪簭-鑾峰彇浠诲姟绠$悊(鏈畨鎺�/宸插畨鎺�) POST /api/FlexWorker/GetFlexTaskByArrange */
export async function getFlexTaskByArrange(
body: API.GetFlexTaskListInput,
@@ -89,6 +222,209 @@
});
}
+/** 搴旇仒绠$悊-浠诲姟璇︽儏-鑾峰彇浜哄憳鎶ュ悕鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerApplyList */
+export async function getFlexTaskWorkerApplyList(
+ body: API.GetFlexTaskWorkerApplyListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetNewestWorkerListOutputPageOutput>(
+ '/api/FlexWorker/GetFlexTaskWorkerApplyList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 浠诲姟绠$悊-寰呭畨鎺�/宸插畨鎺� 浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerArrangeList */
+export async function getFlexTaskWorkerArrangeList(
+ body: API.GetFlexTaskWorkerArrangeListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetNewestWorkerListOutputPageOutput>(
+ '/api/FlexWorker/GetFlexTaskWorkerArrangeList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 楠屾敹绠$悊-浠诲姟璇︽儏-鑾峰彇鍗曚釜浜哄憳鎻愪氦楠屾敹鍐呭鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerCheckContentDto */
+export async function getFlexTaskWorkerCheckContentDto(
+ body: API.GetFlexTaskWorkerCheckContentDtoInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetTaskWorkerCheckContentOutput>(
+ '/api/FlexWorker/GetFlexTaskWorkerCheckContentDto',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇楠屾敹绠$悊 寰呴獙鏀�/宸查獙鏀�-浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerCheckList */
+export async function getFlexTaskWorkerCheckList(
+ body: API.GetFlexTaskWorkerCheckListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetNewestWorkerListOutputPageOutput>(
+ '/api/FlexWorker/GetFlexTaskWorkerCheckList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鎴戠殑鍚嶇墖澶� POST /api/FlexWorker/GetMyCollectVisitingCardList */
+export async function getMyCollectVisitingCardList(
+ body: API.GetCollectVisitingCardListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetCollectVisitingCardOutputPageOutput>(
+ '/api/FlexWorker/GetMyCollectVisitingCardList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇鎴戠殑鍚嶇墖 GET /api/FlexWorker/GetMyVisitingCard */
+export async function getMyVisitingCard(options?: API.RequestConfig) {
+ return request<API.MyVisitingCardOutput>('/api/FlexWorker/GetMyVisitingCard', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐏靛伐鍒楄〃 POST /api/FlexWorker/GetNewesWorkertList */
+export async function getNewesWorkertList(
+ body: API.GetNewestWorkerListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetNewestWorkerListOutputPageOutput>('/api/FlexWorker/GetNewesWorkertList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鑱旂郴璁板綍 POST /api/FlexWorker/GetUserContractRecordList */
+export async function getUserContractRecordList(body: API.PageInput, options?: API.RequestConfig) {
+ return request<API.GetNewestWorkerListOutputPageOutput>(
+ '/api/FlexWorker/GetUserContractRecordList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇绠�鍘嗘敹钘忓垪琛� POST /api/FlexWorker/GetWorkerResumeCollectList */
+export async function getWorkerResumeCollectList(body: API.PageInput, options?: API.RequestConfig) {
+ return request<API.GetNewestWorkerListOutputPageOutput>(
+ '/api/FlexWorker/GetWorkerResumeCollectList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 浼佷笟瑙g害 GET /api/FlexWorker/StopEnterpriseUserContract */
+export async function stopEnterpriseUserContract(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIstopEnterpriseUserContractParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/StopEnterpriseUserContract', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 浠诲姟浜哄憳瀹夋帓/鍙栨秷瀹夋帓 POST /api/FlexWorker/TaskWorkerArrange */
+export async function taskWorkerArrange(
+ body: API.TaskWorkerArrangeInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/TaskWorkerArrange', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 楠屾敹绠$悊-楠屾敹璇︽儏-瀵逛汉鍛樿繘琛岄獙鏀跺鏍� POST /api/FlexWorker/TaskWorkerCheckAcceptStatus */
+export async function taskWorkerCheckAcceptStatus(
+ body: API.TaskWorkerCheckAcceptStatusInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/TaskWorkerCheckAcceptStatus', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 浠诲姟浜哄憳褰曠敤/璋㈢粷 POST /api/FlexWorker/TaskWorkerHireRefuse */
+export async function taskWorkerHireRefuse(
+ body: API.TaskWorkerHireRefuseInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/FlexWorker/TaskWorkerHireRefuse', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 鏇存柊鎷涜仒浠诲姟鍙戝竷鐘舵�� POST /api/FlexWorker/UpdateFlexTaskReleaseStatus */
export async function updateFlexTaskReleaseStatus(
body: API.UpdateTaskReleaseStatusInput,
diff --git a/src/services/api/index.ts b/src/services/api/index.ts
index 94b7246..2f434df 100644
--- a/src/services/api/index.ts
+++ b/src/services/api/index.ts
@@ -8,6 +8,8 @@
import * as BaseModule from './BaseModule';
import * as Common from './Common';
import * as Features from './Features';
+import * as FlexEnterprise from './FlexEnterprise';
+import * as FlexTask from './FlexTask';
import * as FlexWorker from './FlexWorker';
import * as IdentityRole from './IdentityRole';
import * as IdentityUser from './IdentityUser';
@@ -26,6 +28,8 @@
BaseModule,
Common,
Features,
+ FlexEnterprise,
+ FlexTask,
FlexWorker,
IdentityRole,
IdentityUser,
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,10 +68,22 @@
isCache?: boolean;
}
+ interface APIaddUserResumeContractRecordParams {
+ flexWorkerId?: string;
+ }
+
interface APIapiDefinitionParams {
includeTypes?: boolean;
}
+ interface APIcancelUserResumeCollectParams {
+ flexWorkerId?: string;
+ }
+
+ interface APIcollectVisitingCardParams {
+ flexVisitingCardId?: string;
+ }
+
interface APIcreateParams {
systemEmail: string;
systemPassword: string;
@@ -86,6 +98,10 @@
id?: string;
}
+ interface APIdeleteFlexEnterpriseParams {
+ id?: string;
+ }
+
interface APIdeleteFlexTaskParams {
id?: string;
}
@@ -102,6 +118,10 @@
id?: string;
}
+ interface APIdeleteMyCardCollectParams {
+ visitingCardCollectId?: string;
+ }
+
interface APIdeleteRoleParams {
id?: string;
}
@@ -164,6 +184,10 @@
moduleId?: string;
}
+ interface APIgetFlexTaskDetailParams {
+ id?: string;
+ }
+
interface APIgetFlexTaskDtoParams {
id?: string;
}
@@ -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;
@@ -433,6 +478,11 @@
kind?: string;
}
+ interface CollectFlexWorkerResumeInput {
+ flexWorkerId?: string;
+ userResumeId?: string;
+ }
+
interface ConditionInfo {
id?: string;
name?: string;
@@ -451,6 +501,69 @@
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 {
id?: string;
parentId?: string;
@@ -514,6 +627,20 @@
status: boolean;
}
+ interface EnterpriseSignSettingDto {
+ id?: string;
+ signChannel?: SignChannelEnum;
+ chargeType?: ChargeTypeEnum;
+ /** 瀹炲悕璐圭敤 */
+ realVerifyCost?: number;
+ /** 绛剧害璐圭敤 */
+ signCost?: number;
+ /** 涓�鍙d环 */
+ mergeSignCost?: number;
+ /** 浼佷笟Id */
+ flexEnterpirseId?: string;
+ }
+
interface EntityExtensionDto {
properties?: Record<string, any>;
configuration?: Record<string, any>;
@@ -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,12 +807,50 @@
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;
interface GenerateUserNameInput {
@@ -629,10 +858,91 @@
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 {
taskId?: string;
taskName?: string;
@@ -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;
@@ -659,6 +969,19 @@
sexType?: GenderTypeEnum;
}
+ interface GetFlexTaskForBackInput {
+ pageModel?: Pagination;
+ /** 浠诲姟鍚嶇О */
+ taskName?: string;
+ /** 鍙戝竷寮�濮嬫棩鏈� */
+ startBeginDate?: string;
+ /** 鍙戝竷缁撴潫鏃ユ湡 */
+ startEndDate?: string;
+ releaseStatus?: FlexTaskReleaseStatusEnum;
+ /** 鏄惁鎺ㄨ崘 */
+ isRecommend?: boolean;
+ }
+
interface GetFlexTaskListByStatusInput {
pageModel?: Pagination;
releaseStatus?: FlexTaskReleaseStatusEnum;
@@ -676,6 +999,8 @@
taskId?: string;
taskName?: string;
isArrange?: boolean;
+ isOverCheck?: boolean;
+ releaseStatus?: FlexTaskReleaseStatusEnum;
startDate?: string;
endDate?: string;
feeType?: FlexTaskFeeTypeEnum;
@@ -688,7 +1013,7 @@
areaName?: string;
address?: string;
applyWorkerCount?: number;
- creationDate?: string;
+ creationTime?: string;
}
interface GetFlexTaskListOutputPageOutput {
@@ -697,6 +1022,105 @@
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 {
entityDisplayName?: string;
groups?: PermissionGroupDto[];
@@ -726,12 +1150,41 @@
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 {
id?: string;
name?: string;
@@ -743,6 +1196,27 @@
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 {
timeZoneName?: string;
}
@@ -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 {
@@ -1053,6 +1555,8 @@
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,11 +1808,19 @@
preViewData?: string;
}
+ interface SetRecommendInput {
+ id?: string;
+ /** 鏄惁鎺ㄨ崘 */
+ isRecommend?: boolean;
+ }
+
interface SetRoleUserInput {
userId?: string[];
roleId?: string;
}
+ type SettleStatusEnum = 10 | 20 | -10;
+
interface SetUserRoleInput {
userId?: string;
roleName?: string[];
@@ -1306,6 +1833,26 @@
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 {
extraProperties?: Record<string, any>;
id?: string;
@@ -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.10.0