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

var __defProp=Object['defineProperty'],__name=(_0x4f4783,_0x3fcaba)=>__defProp(_0x4f4783,'name',{'value':_0x3fcaba,'configurable':!![]});async function getRoleToPermissionPackages(){const _0x2fb83a=await getResourcesByName(resourceNames['roleToPermissionPackage']);return _0x2fb83a;}__name(getRoleToPermissionPackages,'getRoleToPermissionPackages');async function createRoleToPermissionPackage(_0x353129){const _0x2dbf5c=await createResource(_0x353129,resourceNames['roleToPermissionPackage']);return _0x2dbf5c;}__name(createRoleToPermissionPackage,'createRoleToPermissionPackage');async function createRoleToPermissionPackageDirectlyInDb(_0x37c961){return createResourceDirectlyInDb(_0x37c961,resourceNames['roleToPermissionPackage']);}__name(createRoleToPermissionPackageDirectlyInDb,'createRoleToPermissionPackageDirectlyInDb');

export { createRoleToPermissionPackage, createRoleToPermissionPackageDirectlyInDb, getRoleToPermissionPackages };
