import type { PageParams } from '@/types/global'
import type { RootName } from '@/types/userCenter'
import { request } from '@/utils/request'


// 企业画像
export const postCompanyDataThirdDataViewApi = (data : PageParams) => {
  return request<RootName>({
    method: 'POST',
    url: '/company/CompanyDataThird/dataView',
  })
}
// 出口数据
export const postDataViewExportApi = (data : PageParams) => {
  return request<RootName>({
    method: 'POST',
    url: '/company/CompanyDataThird/dataViewExport',
  })
}
// 进口数据
export const postDataViewImportApi = (data : PageParams) => {
  return request<RootName>({
    method: 'POST',
    url: '/company/CompanyDataThird/dataViewImport',
  })
}
// 贸易伙伴
export const postDataViewPartnersApi = (data : PageParams) => {
  return request<RootName>({
    method: 'POST',
    url: '/company/CompanyDataThird/dataViewPartners',
  })
}
// 海关编码统计
export const postDataViewHscodeApi = (data : PageParams) => {
  return request<RootName>({
    method: 'POST',
    url: '/company/CompanyDataThird/dataViewHscode',
  })
}
// 海贸区域
export const postDataViewAreaApi = (data : PageParams) => {
  return request<RootName>({
    method: 'POST',
    url: '/company/CompanyDataThird/dataViewArea',
  })
}
