| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询个人用户签约详情 GET /api/user/enterpriseEmployee/getPersonalUserElectronSign */ |
| | | export async function getPersonalUserElectronSign( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetPersonalUserElectronSignParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalUserElectronSignQueryResult>( |
| | | '/api/user/enterpriseEmployee/getPersonalUserElectronSign', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询个人用户签约列表 POST /api/user/enterpriseEmployee/getPersonalUserElectronSigns */ |
| | | export async function getPersonalUserElectronSigns( |
| | | body: API.GetPersonalUserElectronSignsQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalUserElectronSignsQueryResult>( |
| | | '/api/user/enterpriseEmployee/getPersonalUserElectronSigns', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 导入灵工信息 POST /api/user/enterpriseEmployee/importEnterpriseEmployees */ |
| | | export async function importEnterpriseEmployees( |
| | | body: API.ImportEnterpriseEmployeesCommand, |
| | |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 邀请灵工签约 POST /api/user/enterpriseEmployee/inviteElectronSign */ |
| | | export async function inviteElectronSign( |
| | | body: API.InviteElectronSignCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterpriseEmployee/inviteElectronSign', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |