'use strict';
import { resourceNames } from '../../../../fd-toolbox/resources/resource-names.js';
import { getResource, getResourcesByName } from '../../../meta/server/db/db.js';
import { createResource } from '../../../meta/server/resources/crud-resources.js';

var __defProp=Object['defineProperty'],__name=(_0x59d7ab,_0x2461a7)=>__defProp(_0x59d7ab,'name',{'value':_0x2461a7,'configurable':!![]});function getOneCompany(_0xb32d65){return getResource({'resourceName':resourceNames['company'],'id':_0xb32d65});}__name(getOneCompany,'getOneCompany');function createCompany(_0x2bc3c0){return createResource(_0x2bc3c0,resourceNames['company']);}__name(createCompany,'createCompany');function getCompanies(){return getResourcesByName(resourceNames['company']);}__name(getCompanies,'getCompanies');

export { createCompany, getCompanies, getOneCompany };
