| | |
| | | }); |
| | | } |
| | | |
| | | /** 批量签约 POST /api/ElectronSign/BatchSignContract */ |
| | | export async function batchSignContract( |
| | | body: API.BatchSignContractInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.BatchSignContractOutput>('/api/ElectronSign/BatchSignContract', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 批量更新合同参数状态 POST /api/ElectronSign/BatchUpdateContractParamterStatus */ |
| | | export async function batchUpdateContractParamterStatus( |
| | | body: API.BatchUpdateContractParamterStatusInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ElectronSign/BatchUpdateContractParamterStatus', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 批量更新客户合同参数状态 POST /api/ElectronSign/BatchUpdateCustomContractParamterStatus */ |
| | | export async function batchUpdateCustomContractParamterStatus( |
| | | body: API.BatchUpdateCustomContractParamterStatusInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ElectronSign/BatchUpdateCustomContractParamterStatus', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 创建或更新模板 POST /api/ElectronSign/CreateOrUpdateContractTemplate */ |
| | | export async function createOrUpdateContractTemplate( |
| | | body: API.CreateOrUpdateContractTemplateInput, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取合同参数列表 POST /api/ElectronSign/GetContractParamterList */ |
| | | export async function getContractParamterList( |
| | | body: API.GetContractParamterListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetContractParamterListItemPageOutput>( |
| | | '/api/ElectronSign/GetContractParamterList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取合同模板列表 POST /api/ElectronSign/GetContractTemplateList */ |
| | | export async function getContractTemplateList( |
| | | body: API.GetContractTemplateInput, |
| | |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取客户合同参数列表 POST /api/ElectronSign/GetCustomContractParamterList */ |
| | | export async function getCustomContractParamterList( |
| | | body: API.GetCustomContractParamterListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCustomContractParamterListItemPageOutput>( |
| | | '/api/ElectronSign/GetCustomContractParamterList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取客户合同参数选择器 GET /api/ElectronSign/GetCustomContractParamterSelect */ |
| | | export async function getCustomContractParamterSelect( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetCustomContractParamterSelectParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCustomContractParamterListItem[]>( |
| | | '/api/ElectronSign/GetCustomContractParamterSelect', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取客户列表 POST /api/ElectronSign/GetCustomerList */ |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 保存合同参数 POST /api/ElectronSign/SaveContractParamter */ |
| | | export async function saveContractParamter( |
| | | body: API.SaveContractTemplateParamterInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/ElectronSign/SaveContractParamter', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存客户合同参数 POST /api/ElectronSign/SaveCustomContractParamter */ |
| | | export async function saveCustomContractParamter( |
| | | body: API.SaveCustomContractTemplateParamterInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/ElectronSign/SaveCustomContractParamter', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 发起签约 POST /api/ElectronSign/SendContract */ |
| | | export async function sendContract(body: API.SendContractInput, options?: API.RequestConfig) { |
| | | return request<API.SendContractOutput>('/api/ElectronSign/SendContract', { |