import { http } from './http.js'; /** * Company payment accounts. */ export const account = { // #region GET /api/account — list list() { return http('/api/account'); }, // #endregion // #region POST /api/account — create create(body) { return http('/api/account', { method: 'POST', body }); }, // #endregion // #region DELETE /api/account/:id — delete delete(id) { return http(`/api/account/${id}`, { method: 'DELETE' }); }, // #endregion };