import type { IContactsForm } from '../../types'; import { ApiHelper } from '../../runtime'; /** Сервис для работы с API контакты */ export class ContactsApiService { static async email( data: IContactsForm, ): Promise { return await ApiHelper.fetch( '/contacts/email', { method: 'POST', headers: { 'X-Cache-Time': 259200, 'Content-Type': 'application/json', }, body: data }, useRuntimeConfig(), ); } }