import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type PrivacyPolicyResponse = Response< { id: string; content: string; type: 'TermsAndConditions::PrivacyPolicy' }, undefined, ApiError > const getPrivacyPolicy = (http: HttpClient) => { return { query: (): Promise => { return http.get(`v1/privacy_policy`) }, } } export default getPrivacyPolicy