| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取电子保单 POST /api/InsuranceOrder/DownloadPolicyFile/${param0} */ |
| | | export async function downloadPolicyFileId( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIdownloadPolicyFileIdParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | const { id: param0, ...queryParams } = params; |
| | | return request<string>(`/api/InsuranceOrder/DownloadPolicyFile/${param0}`, { |
| | | method: 'POST', |
| | | params: { ...queryParams }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 批量减员保单数据 POST /api/InsuranceOrder/DownsizingInsuranceOrderData */ |
| | | export async function downsizingInsuranceOrderData( |
| | | body: API.DownsizingInsuranceOrderData, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 运营端 导出投保订单 POST /api/InsuranceOrder/GetInsurancePageBackExport */ |
| | | export async function getInsurancePageBackExport( |
| | | body: API.GetInsurancePageInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/InsuranceOrder/GetInsurancePageBackExport', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导出投保订单 POST /api/InsuranceOrder/GetInsurancePageExport */ |
| | | export async function getInsurancePageExport( |
| | | body: API.GetInsurancePageInput, |
| | |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetInsurancePageOutput>('/api/InsuranceOrder/GetInsurancePolicyHeadDto', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取保单支付信息 GET /api/InsuranceOrder/GetInsurancePolicyPay */ |
| | | export async function getInsurancePolicyPay( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetInsurancePolicyPayParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.InsurancePolicyPayDto[]>('/api/InsuranceOrder/GetInsurancePolicyPay', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 保单详情-导入人员清单 GET /api/InsuranceOrder/GetInsuranceStaffListExport */ |
| | | /** 保单详情-导出人员清单 POST /api/InsuranceOrder/GetInsuranceStaffListExport */ |
| | | export async function getInsuranceStaffListExport( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetInsuranceStaffListExportParams, |
| | | body: API.ExportInsuranceStaffListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/InsuranceOrder/GetInsuranceStaffListExport', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取发票 POST /api/InsuranceOrder/GetInvoice/${param0} */ |
| | | export async function getInvoiceId( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetInvoiceIdParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | const { id: param0, ...queryParams } = params; |
| | | return request<any>(`/api/InsuranceOrder/GetInvoice/${param0}`, { |
| | | method: 'POST', |
| | | params: { ...queryParams }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | |
| | | /** 新增保单导入 POST /api/InsuranceOrder/ImportInsStaffToList */ |
| | | export async function importInsStaffToList( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIimportInsStaffToListParams, |
| | | body: API.ImportInsStaffToListFrontInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ImportInsStaffAnalysisList[]>('/api/InsuranceOrder/ImportInsStaffToList', { |
| | | return request<API.ImportInsStaffToListOutput>('/api/InsuranceOrder/ImportInsStaffToList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导入保单数据 POST /api/InsuranceOrder/ImportInsuranceOrderData */ |
| | | export async function importInsuranceOrderData(body: string, options?: API.RequestConfig) { |
| | | return request<any>('/api/InsuranceOrder/ImportInsuranceOrderData', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保单审核 POST /api/InsuranceOrder/InsurancePolicyAudit */ |
| | | export async function insurancePolicyAudit( |
| | | body: API.InsurancePolicyAuditInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.InsurancePolicyAuditOutput>('/api/InsuranceOrder/InsurancePolicyAudit', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保单再审 POST /api/InsuranceOrder/InsurancePolicyAuditAgain */ |
| | | export async function insurancePolicyAuditAgain( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIinsurancePolicyAuditAgainParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/InsuranceOrder/InsurancePolicyAuditAgain', { |
| | | method: 'POST', |
| | | params: { |
| | | ...params, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 导入保单数据 POST /api/InsuranceOrder/ImportInsuranceOrderData */ |
| | | export async function importInsuranceOrderData(body: string, options?: API.RequestConfig) { |
| | | return request<any>('/api/InsuranceOrder/ImportInsuranceOrderData', { |
| | | /** 投保状态补录 POST /api/InsuranceOrder/RestorePolicyStatus */ |
| | | export async function restorePolicyStatus( |
| | | body: API.RestorePolicyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/InsuranceOrder/RestorePolicyStatus', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |