/* eslint-disable */
// @ts-ignore
import request from '@/http/vue-query';
import type { CustomRequestOptions } from '@/http/types';

import * as API from './types';

/** 版本更新 POST /app/version/isUpdateVersion */
export async function appVersionIsUpdateVersionPost({
  body,
  options,
}: {
  body: API.IsUpdateVersionBo;
  options?: CustomRequestOptions;
}) {
  return request<API.RAppVersionVo>('/app/version/isUpdateVersion', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
