| /* eslint-disable */ | 
| // @ts-ignore | 
| import { request } from '@/utils/request'; | 
|   | 
| /** 生成操作令牌 POST /api/user/user/buildOperatorToken */ | 
| export async function buildOperatorToken( | 
|   body: API.BuildOperatorTokenCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.BuildOperatorTokenCommandResult>('/api/user/user/buildOperatorToken', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 校验操作令牌 POST /api/user/user/checkOperatorToken */ | 
| export async function checkOperatorToken( | 
|   body: API.CheckOperatorTokenCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<boolean>('/api/user/user/checkOperatorToken', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 删除用户银行卡信息 DELETE /api/user/user/deletePersonalUserBankCard */ | 
| export async function deletePersonalUserBankCard( | 
|   body: API.DeletePersonalUserBankCardCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/user/user/deletePersonalUserBankCard', { | 
|     method: 'DELETE', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 查询个人用户银行卡信息 GET /api/user/user/getPersonalUserBankCard */ | 
| export async function getPersonalUserBankCard( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetPersonalUserBankCardParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetPersonalUserBankCardQueryResult>('/api/user/user/getPersonalUserBankCard', { | 
|     method: 'GET', | 
|     params: { | 
|       ...params, | 
|     }, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 查询C端人员分页列表数据 POST /api/user/user/getPersonalUserInfos */ | 
| export async function getPersonalUserInfos( | 
|   body: API.GetPersonalUserInfosQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetPersonalUserInfosQueryResult>('/api/user/user/getPersonalUserInfos', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 查询C端人员签约详情分页列表数据 POST /api/user/user/getPersonalUserInfoSignContracts */ | 
| export async function getPersonalUserInfoSignContracts( | 
|   body: API.GetPersonalUserInfoSignContractsQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetPersonalUserInfoSignContractsQueryResult>( | 
|     '/api/user/user/getPersonalUserInfoSignContracts', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询个人用户收支明细详情 GET /api/user/user/getPersonalUserTransaction */ | 
| export async function getPersonalUserTransaction( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetPersonalUserTransactionParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetPersonalUserTransactionQueryResult>( | 
|     '/api/user/user/getPersonalUserTransaction', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询个人用户收支明细分页列表数据 POST /api/user/user/getPersonalUserTransactions */ | 
| export async function getPersonalUserTransactions( | 
|   body: API.GetPersonalUserTransactionsQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetPersonalUserTransactionsQueryResult>( | 
|     '/api/user/user/getPersonalUserTransactions', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询个人钱包余额分页列表 POST /api/user/user/getPersonalUserWalletBalances */ | 
| export async function getPersonalUserWalletBalances( | 
|   body: API.GetPersonalUserWalletBalancesQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetPersonalUserWalletBalancesQueryResult>( | 
|     '/api/user/user/getPersonalUserWalletBalances', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询用户详情 GET /api/user/user/getUser */ | 
| export async function getUser( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetUserParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetUserQueryResult>('/api/user/user/getUser', { | 
|     method: 'GET', | 
|     params: { | 
|       ...params, | 
|     }, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 查询用户角色列表 GET /api/user/user/getUserInfoRoles */ | 
| export async function getUserInfoRoles( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetUserInfoRolesParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetUserInfoRolesQueryResultItem[]>('/api/user/user/getUserInfoRoles', { | 
|     method: 'GET', | 
|     params: { | 
|       ...params, | 
|     }, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 查询用户分页列表数据 POST /api/user/user/getUsers */ | 
| export async function getUsers(body: API.GetUsersQuery, options?: API.RequestConfig) { | 
|   return request<API.GetOperationUserInfosQueryResult>('/api/user/user/getUsers', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 重置用户操作密码 POST /api/user/user/resetUserOperatorPasswords */ | 
| export async function resetUserOperatorPasswords( | 
|   body: API.ResetUserOperatorPasswordsCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/user/user/resetUserOperatorPasswords', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 重置用户密码 POST /api/user/user/resetUserPasswords */ | 
| export async function resetUserPasswords( | 
|   body: API.ResetUserPasswordsCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/user/user/resetUserPasswords', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 保存用户银行卡信息 POST /api/user/user/savePersonalUserBankCard */ | 
| export async function savePersonalUserBankCard( | 
|   body: API.SavePersonalUserBankCardCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/user/savePersonalUserBankCard', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 保存用户 POST /api/user/user/saveUser */ | 
| export async function saveUser(body: API.SaveUserCommand, options?: API.RequestConfig) { | 
|   return request<string>('/api/user/user/saveUser', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 发送绑定银行卡短信 POST /api/user/user/sendSavePersonalUserBankCardVerifyCode */ | 
| export async function sendSavePersonalUserBankCardVerifyCode( | 
|   body: API.SendSavePersonalUserBankCardVerifyCodeCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/user/sendSavePersonalUserBankCardVerifyCode', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 设置用户信息角色 PUT /api/user/user/setUserInfoRoles */ | 
| export async function setUserInfoRoles( | 
|   body: API.SetUserInfoRolesCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/user/user/setUserInfoRoles', { | 
|     method: 'PUT', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 设置用户信息状态 PUT /api/user/user/setUserInfoStatus */ | 
| export async function setUserInfoStatus( | 
|   body: API.SetUserInfoStatusCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<number>('/api/user/user/setUserInfoStatus', { | 
|     method: 'PUT', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 同步企业用户 POST /api/user/user/syncEnterpriseUser */ | 
| export async function syncEnterpriseUser( | 
|   body: API.SyncEnterpriseUserCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/user/syncEnterpriseUser', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 同步运营用户 POST /api/user/user/syncOperationUser */ | 
| export async function syncOperationUser( | 
|   body: API.SyncOperationUserCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/user/syncOperationUser', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } |