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

var __defProp=Object['defineProperty'],__name=(_0x926cdd,_0x490980)=>__defProp(_0x926cdd,'name',{'value':_0x490980,'configurable':!![]});function getOnePhoneBrand(_0x6db1ea){return getResource({'resourceName':resourceNames['phoneBrand'],'id':_0x6db1ea});}__name(getOnePhoneBrand,'getOnePhoneBrand');function createPhoneBrand(_0x511416){return createResource(_0x511416,resourceNames['phoneBrand']);}__name(createPhoneBrand,'createPhoneBrand');function getPhoneBrands(){return getResourcesByName(resourceNames['phoneBrand']);}__name(getPhoneBrands,'getPhoneBrands');function deletePhoneBrand(_0x2e6fa3){return deleteResource(_0x2e6fa3,resourceNames['phoneBrand']);}__name(deletePhoneBrand,'deletePhoneBrand');

export { createPhoneBrand, deletePhoneBrand, getOnePhoneBrand, getPhoneBrands };
