| /* eslint-disable */ | 
| // @ts-ignore | 
| import { request } from '@/utils/request'; | 
|   | 
| /** 删除数据字典类别 DELETE /api/flexjob/dictionary/deleteDictionaryCategory */ | 
| export async function deleteDictionaryCategory( | 
|   body: API.DeleteDictionaryCategoryCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/flexjob/dictionary/deleteDictionaryCategory', { | 
|     method: 'DELETE', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 查询地区选择器 GET /api/flexjob/dictionary/getAreaSelect */ | 
| export async function getAreaSelect( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetAreaSelectParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetAreaSelectQueryResultOption[]>('/api/flexjob/dictionary/getAreaSelect', { | 
|     method: 'GET', | 
|     params: { | 
|       ...params, | 
|     }, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 获取数据字典类别分页列表数据 POST /api/flexjob/dictionary/getDictionaryCategories */ | 
| export async function getDictionaryCategories( | 
|   body: API.GetDictionaryCategoriesQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.PagedListQueryResultGetDictionaryCategoriesQueryResultItem>( | 
|     '/api/flexjob/dictionary/getDictionaryCategories', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询数据字典类别选择器数据 GET /api/flexjob/dictionary/getDictionaryCategorySelect */ | 
| export async function getDictionaryCategorySelect( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetDictionaryCategorySelectParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.SelectOptionGuidGetDictionaryCategorySelectQueryOption[]>( | 
|     '/api/flexjob/dictionary/getDictionaryCategorySelect', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|         request: undefined, | 
|         ...params['request'], | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 获取数据字典分页列表数据 POST /api/flexjob/dictionary/getDictionaryDatas */ | 
| export async function getDictionaryDatas( | 
|   body: API.GetDictionaryDatasQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.PagedListQueryResultGetDictionaryDatasQueryResultItem>( | 
|     '/api/flexjob/dictionary/getDictionaryDatas', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询数据字典选择器 GET /api/flexjob/dictionary/getDictionaryDataSelect */ | 
| export async function getDictionaryDataSelect( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetDictionaryDataSelectParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]>( | 
|     '/api/flexjob/dictionary/getDictionaryDataSelect', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 保存数据字典类别 POST /api/flexjob/dictionary/saveDictionaryCategory */ | 
| export async function saveDictionaryCategory( | 
|   body: API.SaveDictionaryCategoryCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/flexjob/dictionary/saveDictionaryCategory', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 保存数据字典 POST /api/flexjob/dictionary/saveDictionaryData */ | 
| export async function saveDictionaryData( | 
|   body: API.SaveDictionaryDataCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/flexjob/dictionary/saveDictionaryData', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 设置数据字典是否禁用 PUT /api/flexjob/dictionary/setDictionaryDataIsDisabled */ | 
| export async function setDictionaryDataIsDisabled( | 
|   body: API.SetDictionaryDataIsDisabledCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/flexjob/dictionary/setDictionaryDataIsDisabled', { | 
|     method: 'PUT', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 同步人力资源地区字典数据 POST /api/flexjob/dictionary/syncHumanResourcesAreaDictionaryData */ | 
| export async function syncHumanResourcesAreaDictionaryData( | 
|   body: API.SyncHumanResourcesAreaDictionaryDataCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/flexjob/dictionary/syncHumanResourcesAreaDictionaryData', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } |