| | |
| | | }); |
| | | } |
| | | |
| | | /** 对客户新增编辑合同模板 POST /api/LgGigWorker/AddUpdateCustomerContractTemplate */ |
| | | /** 运营端对客户新增编辑合同模板 POST /api/LgGigWorker/AddUpdateCustomerContractTemplate */ |
| | | export async function addUpdateCustomerContractTemplate( |
| | | body: API.AddUpdateContractTemplateInput, |
| | | options?: API.RequestConfig |
| | |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 客户新增编辑合同模板 POST /api/LgGigWorker/AddUpdateCustomerContractTemplateWithCustomer */ |
| | | export async function addUpdateCustomerContractTemplateWithCustomer( |
| | | body: API.AddUpdateContractTemplateInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LgGigWorker/AddUpdateCustomerContractTemplateWithCustomer', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 判断是否能签署 GET /api/LgGigWorker/CanSign */ |
| | | export async function canSign(options?: API.RequestConfig) { |
| | | return request<boolean>('/api/LgGigWorker/CanSign', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取当前电子签类型 GET /api/LgGigWorker/GetCurrentSignType */ |
| | | export async function getCurrentSignType(options?: API.RequestConfig) { |
| | | return request<string>('/api/LgGigWorker/GetCurrentSignType', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取甲方列表 POST /api/LgGigWorker/GetCustomerList */ |
| | | export async function getCustomerList(body: API.GetCustomerListInput, options?: API.RequestConfig) { |
| | | return request<API.GetCustomerListOutputPageOutput>('/api/LgGigWorker/GetCustomerList', { |
| | |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取模板明细信息 GET /api/LgGigWorker/GetCustomerTemplateDetail */ |
| | | export async function getCustomerTemplateDetail( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetCustomerTemplateDetailParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCustomerTemplateDetailOutput>( |
| | | '/api/LgGigWorker/GetCustomerTemplateDetail', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取甲方客户合同模板列表 GET /api/LgGigWorker/GetCustomerTemplateList */ |
| | |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取甲方客户合同模板列表 POST /api/LgGigWorker/GetCustomerTemplateList */ |
| | | export async function getCustomerTemplateList_2( |
| | | body: API.QueryCustomerTemplateListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCustomerTemplateListOutput[]>('/api/LgGigWorker/GetCustomerTemplateList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 根据bussinessCode获取其电子签通道 GET /api/LgGigWorker/GetSignChannelByBussinessCode */ |
| | | export async function getSignChannelByBussinessCode( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetSignChannelByBussinessCodeParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.SignChannelEnum>('/api/LgGigWorker/GetSignChannelByBussinessCode', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 根据signId获取其电子签通道 GET /api/LgGigWorker/GetSignChannelBySignId */ |
| | | export async function getSignChannelBySignId( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetSignChannelBySignIdParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.SignChannelEnum>('/api/LgGigWorker/GetSignChannelBySignId', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取统一电子签费用 POST /api/LgGigWorker/GetSignMergeSignCostList */ |
| | | export async function getSignMergeSignCostList( |
| | | body: API.GetSignCostListInput, |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 根据signChannel获取计费方式 GET /api/LgGigWorker/GetSignSettingByChannle */ |
| | | export async function getSignSettingByChannle( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetSignSettingByChannleParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ChargeTypeEnum>('/api/LgGigWorker/GetSignSettingByChannle', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取客户甲方下拉列表 GET /api/LgGigWorker/GetUserCustomerAllList */ |
| | | export async function getUserCustomerAllList( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |