| /* 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 || {}), | 
|   }); | 
| } | 
|   | 
| /** 支付宝通知回传 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 || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 查询支付宝资金二级商户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 || {}), | 
|     } | 
|   ); | 
| } | 
|   | 
| /** 开通企业钱包 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/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 || {}), | 
|     } | 
|   ); | 
| } |