| /* eslint-disable */ | 
| // @ts-ignore | 
| import { request } from '@/utils/request'; | 
|   | 
| /** 支付宝资金二级商户KYB代进件状态通知 POST /api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify */ | 
| export async function alipayFundExpandindirectCreateNotify( | 
|   body: { | 
|     /** 通知ID */ | 
|     notify_id?: string; | 
|     /** 消息发送时的服务端时间 */ | 
|     utc_timestamp?: string; | 
|     /** 消息接口名称 */ | 
|     msg_method?: string; | 
|     /** 消息接受方的应用id */ | 
|     app_id?: string; | 
|     /** 版本号(1.1版本为标准消息) */ | 
|     version?: string; | 
|     /** 消息报文 */ | 
|     biz_content?: string; | 
|     /** 签名 */ | 
|     sign?: string; | 
|     /** 签名类型 */ | 
|     sign_type?: string; | 
|     /** 编码集,该字符集为验签和解密所需要的字符集 */ | 
|     charset?: string; | 
|   }, | 
|   options?: API.RequestConfig | 
| ) { | 
|   const formData = new FormData(); | 
|   | 
|   Object.keys(body).forEach((ele) => { | 
|     const item = (body as any)[ele]; | 
|   | 
|     if (item !== undefined && item !== null) { | 
|       formData.append( | 
|         ele, | 
|         typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item | 
|       ); | 
|     } | 
|   }); | 
|   | 
|   return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify', { | 
|     method: 'POST', | 
|     data: formData, | 
|     requestType: 'form', | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 资金单据状态变更通知 POST /api/user/enterpriseWallet/alipayFundTransOrderChangedNotify */ | 
| export async function alipayFundTransOrderChangedNotify( | 
|   body: { | 
|     /** 通知ID */ | 
|     notify_id?: string; | 
|     /** 消息发送时的服务端时间 */ | 
|     utc_timestamp?: string; | 
|     /** 消息接口名称 */ | 
|     msg_method?: string; | 
|     /** 消息接受方的应用id */ | 
|     app_id?: string; | 
|     /** 版本号(1.1版本为标准消息) */ | 
|     version?: string; | 
|     /** 消息报文 */ | 
|     biz_content?: string; | 
|     /** 签名 */ | 
|     sign?: string; | 
|     /** 签名类型 */ | 
|     sign_type?: string; | 
|     /** 编码集,该字符集为验签和解密所需要的字符集 */ | 
|     charset?: string; | 
|   }, | 
|   options?: API.RequestConfig | 
| ) { | 
|   const formData = new FormData(); | 
|   | 
|   Object.keys(body).forEach((ele) => { | 
|     const item = (body as any)[ele]; | 
|   | 
|     if (item !== undefined && item !== null) { | 
|       formData.append( | 
|         ele, | 
|         typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item | 
|       ); | 
|     } | 
|   }); | 
|   | 
|   return request<boolean>('/api/user/enterpriseWallet/alipayFundTransOrderChangedNotify', { | 
|     method: 'POST', | 
|     data: formData, | 
|     requestType: 'form', | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 支付宝用户授权协议签约通知 POST /api/user/enterpriseWallet/alipayUserAgreementPageSignNotify */ | 
| export async function alipayUserAgreementPageSignNotify( | 
|   body: { | 
|     notify_id?: string; | 
|     notify_time?: string; | 
|     sign_type?: string; | 
|     sign?: string; | 
|     invalid_time?: string; | 
|     sign_scene?: string; | 
|     sign_time?: string; | 
|     alipay_user_id?: string; | 
|     status?: string; | 
|     forex_eligible?: string; | 
|     external_logon_id?: string; | 
|     app_id?: string; | 
|     auth_app_id?: string; | 
|     external_agreement_no?: string; | 
|     personal_product_code?: string; | 
|     valid_time?: string; | 
|     agreement_no?: string; | 
|     zm_open_id?: string; | 
|     alipay_open_id?: string; | 
|     merchant_app_id?: string; | 
|     alipay_logon_id?: string; | 
|     notify_type?: string; | 
|     zm_score?: string; | 
|     single_quota?: string; | 
|     login_token?: string; | 
|     device_id?: string; | 
|     credit_auth_mode?: string; | 
|     specified_sort_assets?: string; | 
|     partner_id?: string; | 
|     modify_type?: string; | 
|     next_deduct_time?: string; | 
|   }, | 
|   options?: API.RequestConfig | 
| ) { | 
|   const formData = new FormData(); | 
|   | 
|   Object.keys(body).forEach((ele) => { | 
|     const item = (body as any)[ele]; | 
|   | 
|     if (item !== undefined && item !== null) { | 
|       formData.append( | 
|         ele, | 
|         typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item | 
|       ); | 
|     } | 
|   }); | 
|   | 
|   return request<boolean>('/api/user/enterpriseWallet/alipayUserAgreementPageSignNotify', { | 
|     method: 'POST', | 
|     data: formData, | 
|     requestType: 'form', | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 关闭企业钱包 POST /api/user/enterpriseWallet/closeEnterpriseWallet */ | 
| export async function closeEnterpriseWallet( | 
|   body: API.CloseEnterpriseWalletCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/enterpriseWallet/closeEnterpriseWallet', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 支付宝资金二级商户KYB代进件 POST /api/user/enterpriseWallet/enterpriseWalletExpandindirectCreate */ | 
| export async function enterpriseWalletExpandindirectCreate( | 
|   body: API.EnterpriseWalletExpandindirectCreateCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/enterpriseWallet/enterpriseWalletExpandindirectCreate', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 支付宝资金二级商户KYB代进件单取消接口 POST /api/user/enterpriseWallet/enterpriseWalletExpandindirectOrderCancel */ | 
| export async function enterpriseWalletExpandindirectOrderCancel( | 
|   body: API.EnterpriseWalletExpandindirectOrderCancelCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/enterpriseWallet/enterpriseWalletExpandindirectOrderCancel', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 导出企业余额详情 POST /api/user/enterpriseWallet/exportEnterpriseBalanceDetails */ | 
| export async function exportEnterpriseBalanceDetails( | 
|   body: API.ExportEnterpriseBalanceDetailsCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<string>('/api/user/enterpriseWallet/exportEnterpriseBalanceDetails', { | 
|     method: 'POST', | 
|     headers: { | 
|       'Content-Type': 'application/json-patch+json', | 
|     }, | 
|     data: body, | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 支付宝通知回传 GET /api/user/enterpriseWallet/getAlipayNotify */ | 
| export async function getAlipayNotify( | 
|   body: API.GetAlipayNotifyCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   const formData = new FormData(); | 
|   | 
|   Object.keys(body).forEach((ele) => { | 
|     const item = (body as any)[ele]; | 
|   | 
|     if (item !== undefined && item !== null) { | 
|       formData.append( | 
|         ele, | 
|         typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item | 
|       ); | 
|     } | 
|   }); | 
|   | 
|   return request<boolean>('/api/user/enterpriseWallet/getAlipayNotify', { | 
|     method: 'GET', | 
|     data: formData, | 
|     requestType: 'form', | 
|     ...(options || {}), | 
|   }); | 
| } | 
|   | 
| /** 查询企业钱包详情 GET /api/user/enterpriseWallet/getEnterpriseWallet */ | 
| export async function getEnterpriseWallet( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWalletParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWalletQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWallet', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询已签约企业钱包通道选择器数据 GET /api/user/enterpriseWallet/getEnterpriseWalletAccessSelect */ | 
| export async function getEnterpriseWalletAccessSelect( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWalletAccessSelectParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.SelectOptionGuidGetEnterpriseWalletAccessSelectQueryOption[]>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWalletAccessSelect', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|         request: undefined, | 
|         ...params['request'], | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业钱包余额 POST /api/user/enterpriseWallet/getEnterpriseWalletBalances */ | 
| export async function getEnterpriseWalletBalances( | 
|   body: API.GetEnterpriseWalletBalancesQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWalletBalancesQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWalletBalances', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询支付宝资金二级商户KYB代进件单详情 GET /api/user/enterpriseWallet/getEnterpriseWalletExpandindirectOrder */ | 
| export async function getEnterpriseWalletExpandindirectOrder( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWalletExpandindirectOrderParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWalletExpandindirectOrderQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWalletExpandindirectOrder', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业钱包交易详情 GET /api/user/enterpriseWallet/getEnterpriseWalletTransaction */ | 
| export async function getEnterpriseWalletTransaction( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWalletTransactionParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWalletTransactionQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWalletTransaction', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业微信支付钱包详情 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWallet */ | 
| export async function getEnterpriseWeChatPayWallet( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWeChatPayWalletParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWeChatPayWalletQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWeChatPayWallet', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业微信钱包地区 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletAreas */ | 
| export async function getEnterpriseWeChatPayWalletAreas( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWeChatPayWalletAreasParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.WeChatPayArea[]>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletAreas', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业微信支付银行账户更新信息 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankAccountUpdateInfo */ | 
| export async function getEnterpriseWeChatPayWalletBankAccountUpdateInfo( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWeChatPayWalletBankAccountUpdateInfoParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWeChatPayWalletBankAccountUpdateInfoQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankAccountUpdateInfo', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业微信支付钱包支行分页列表 POST /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankBranches */ | 
| export async function getEnterpriseWeChatPayWalletBankBranches( | 
|   body: API.GetEnterpriseWeChatPayWalletBankBranchesQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWeChatPayWalletBankBranchesQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankBranches', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业微信支付钱包银行城市列表 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankCities */ | 
| export async function getEnterpriseWeChatPayWalletBankCities( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWeChatPayWalletBankCitiesParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWeChatPayWalletBankCitiesQueryItem[]>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankCities', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业微信支付钱包银行省份列表 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankProvinces */ | 
| export async function getEnterpriseWeChatPayWalletBankProvinces( | 
|   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|   params: API.APIgetEnterpriseWeChatPayWalletBankProvincesParams, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWeChatPayWalletBankProvincesQueryItem[]>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankProvinces', | 
|     { | 
|       method: 'GET', | 
|       params: { | 
|         ...params, | 
|         request: undefined, | 
|         ...params['request'], | 
|       }, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询企业微信支付钱包银行分页列表 POST /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBanks */ | 
| export async function getEnterpriseWeChatPayWalletBanks( | 
|   body: API.GetEnterpriseWeChatPayWalletBanksQuery, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.GetEnterpriseWeChatPayWalletBanksQueryResult>( | 
|     '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBanks', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 开通企业钱包 POST /api/user/enterpriseWallet/openEnterpriseWallet */ | 
| export async function openEnterpriseWallet( | 
|   body: API.OpenEnterpriseWalletCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.OpenEnterpriseWalletCommandResult>( | 
|     '/api/user/enterpriseWallet/openEnterpriseWallet', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 开通企业微信钱包 POST /api/user/enterpriseWallet/openEnterpriseWeChatPayWallet */ | 
| export async function openEnterpriseWeChatPayWallet( | 
|   body: API.OpenEnterpriseWeChatPayWalletCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.OpenEnterpriseWeChatPayWalletCommandResult>( | 
|     '/api/user/enterpriseWallet/openEnterpriseWeChatPayWallet', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 企业钱包充值 POST /api/user/enterpriseWallet/rechargeEnterpriseWallet */ | 
| export async function rechargeEnterpriseWallet( | 
|   body: API.RechargeEnterpriseWalletCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.RechargeEnterpriseWalletCommandResult>( | 
|     '/api/user/enterpriseWallet/rechargeEnterpriseWallet', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 修改企业微信支付钱包结算账户 POST /api/user/enterpriseWallet/updateEnterpriseWeChatPayWalletBankAccountInfo */ | 
| export async function updateEnterpriseWeChatPayWalletBankAccountInfo( | 
|   body: API.UpdateEnterpriseWeChatPayWalletBankAccountInfoCommand, | 
|   options?: API.RequestConfig | 
| ) { | 
|   return request<API.UpdateEnterpriseWeChatPayWalletBankAccountInfoCommandResult>( | 
|     '/api/user/enterpriseWallet/updateEnterpriseWeChatPayWalletBankAccountInfo', | 
|     { | 
|       method: 'POST', | 
|       headers: { | 
|         'Content-Type': 'application/json-patch+json', | 
|       }, | 
|       data: body, | 
|       ...(options || {}), | 
|     } | 
|   ); | 
| } |