// @ts-ignore /* eslint-disable */ import request from '@/utils/request'; /** 轨迹内容编辑 POST /Track/Content/Edit */ export async function trackContentEditPost( body: API.EditTrackContentInput, options?: { [key: string]: any } ) { return request(`trackApi/Track/Content/Edit`, { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, data: body, ...(options || {}), }); } /** 轨迹内容映射编辑 POST /Track/Content/EditMap */ export async function trackContentEditMapPost( body: API.EditTrackContentMapInput, options?: { [key: string]: any } ) { return request(`trackApi/Track/Content/EditMap`, { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, data: body, ...(options || {}), }); } /** 创建轨迹时获取可用的轨迹内容 POST /Track/Content/GetAvailableContent */ export async function trackContentGetAvailableContentPost( body: API.GetAvailableContentInput, options?: { [key: string]: any } ) { return request( `trackApi/Track/Content/GetAvailableContent`, { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, data: body, ...(options || {}), } ); } /** 根据子系统id、单号、订单类型、轨迹发生时间、轨迹code获取轨迹内容 POST /Track/Content/GetContentDetail */ export async function trackContentGetContentDetailPost( body: API.GetContentDetailInput, options?: { [key: string]: any } ) { return request( `trackApi/Track/Content/GetContentDetail`, { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, data: body, ...(options || {}), } ); } /** 根据内容id获取轨迹内容 GET /Track/Content/GetDetail */ export async function trackContentGetDetailGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.TrackContentGetDetailGETParams, options?: { [key: string]: any } ) { return request( `trackApi/Track/Content/GetDetail`, { method: 'GET', params: { ...params, }, ...(options || {}), } ); } /** 获取分页轨迹内容 POST /Track/Content/GetList */ export async function trackContentGetPageTrackContentPost( body: API.GetPageTrackContentInput, options?: { [key: string]: any } ) { return request( `trackApi/Track/Content/GetList`, { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, data: body, ...(options || {}), } ); } /** 轨迹内容映射详情 GET /Track/Content/GetMapDetail */ export async function trackContentGetMapDetailGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.TrackContentGetMapDetailGETParams, options?: { [key: string]: any } ) { return request( `trackApi/Track/Content/GetMapDetail`, { method: 'GET', params: { ...params, }, ...(options || {}), } ); } /** 轨迹内容映射列表 POST /Track/Content/GetMapPage */ export async function trackContentGetMapPagePost( body: API.GetTrackContentMapPageInputVO, options?: { [key: string]: any } ) { return request( `trackApi/Track/Content/GetMapPage`, { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, data: body, ...(options || {}), } ); } /** 根据轨迹内容code获取轨迹内容 POST /Track/Content/GetTrackContentByCode */ export async function trackContentGetTrackContentByCodePost( body: API.GetTrackContentByCodeInput, options?: { [key: string]: any } ) { return request( `trackApi/Track/Content/GetTrackContentByCode`, { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, data: body, ...(options || {}), } ); }