'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=(_0x1973c8,_0x170702)=>__defProp(_0x1973c8,'name',{'value':_0x170702,'configurable':!![]});function getOneDeal(_0x3ae3b9){return getResource({'resourceName':resourceNames['deal'],'id':_0x3ae3b9});}__name(getOneDeal,'getOneDeal');function createDeal(_0x58f3c9){return createResource(_0x58f3c9,resourceNames['deal']);}__name(createDeal,'createDeal');function getDeals(){return getResourcesByName(resourceNames['deal']);}__name(getDeals,'getDeals');

export { createDeal, getDeals, getOneDeal };
