'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=(_0x159835,_0x313126)=>__defProp(_0x159835,'name',{'value':_0x313126,'configurable':!![]});function getOneTicket(_0x20e0b7){return getResource({'resourceName':resourceNames['ticket'],'id':_0x20e0b7});}__name(getOneTicket,'getOneTicket');function createTicket(_0xbedc19){return createResource(_0xbedc19,resourceNames['ticket']);}__name(createTicket,'createTicket');function getTickets(){return getResourcesByName(resourceNames['ticket']);}__name(getTickets,'getTickets');

export { createTicket, getOneTicket, getTickets };
