import { createHttpClient, type ExtendedAxiosInstance } from './create-http-client'

// 管理AI角色创建
export const frogHttp: ExtendedAxiosInstance = createHttpClient({
  serviceName: 'frog',
  encryption: {
    enabled: true,
    md5Salt: 'Q8pD09kIeWXg8Ju',
    aesIv: 'dFd8s4fDfV6d2fsD',
    encryptHeader: 'encrypt',
  },
})

// S3
export const sharkHttp = createHttpClient({
  serviceName: 'shark',
  encryption: {
    enabled: true,
    md5Salt: 'Q8pD09kIeWXg8Ju',
    aesIv: 'dFd8s4fDfV6d2fsD',
    encryptHeader: 'encrypt',
  },
})

// 访问大模型
export const cowHttp = createHttpClient({
  serviceName: 'cow',
  encryption: {
    enabled: true,
    md5Salt: 'Q8pD09kIeWXg8Ju',
    aesIv: 'dFd8s4fDfV6d2fsD',
    encryptHeader: 'encrypt',
  },
})

// IM 通信
export const pigeonHttp = createHttpClient({
  serviceName: 'pigeon',
  encryption: {
    enabled: true,
    md5Salt: 'Q8pD09kIeWXg8Ju',
    aesIv: 'dFd8s4fDfV6d2fsD',
    encryptHeader: 'encrypt',
  },
})

// 支付通信
export const lionHttp = createHttpClient({
  serviceName: 'lion',
  encryption: {
    enabled: true,
    md5Salt: 'Q8pD09kIeWXg8Ju',
    aesIv: 'dFd8s4fDfV6d2fsD',
    encryptHeader: 'encrypt',
  },
})
