'use strict';
import { resourceMetaId } from '../../../decorators/resource-id.js';
import { accessByUserId } from '../../../decorators/access-by-user-id.js';
import { expandDescription } from '../../../decorators/expand-description-properties.js';
import { resourceIds } from '../../../../../fd-toolbox/constants/resource-id-constants.js';
import { BaseResource } from '../../../../../fd-toolbox/base-resource/base-resource.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x3e9b8f,_0x461747)=>__defProp(_0x3e9b8f,'name',{'value':_0x461747,'configurable':!![]}),__decorateClass=(_0x28823e,_0x3c25e9,_0xaf4014,_0x338086)=>{var _0x25fb5e=_0x338086>-0xeb3+0x267*-0x3+-0x47*-0x4f?void(-0x265d+0x7ef*0x2+0x167f):_0x338086?__getOwnPropDesc(_0x3c25e9,_0xaf4014):_0x3c25e9;for(var _0x25fc7c=_0x28823e['length']-(-0x143b*0x1+0xff1+0x44b*0x1),_0x5f0193;_0x25fc7c>=0x1c9*0x11+0x2580+0x43d9*-0x1;_0x25fc7c--)if(_0x5f0193=_0x28823e[_0x25fc7c])_0x25fb5e=(_0x338086?_0x5f0193(_0x3c25e9,_0xaf4014,_0x25fb5e):_0x5f0193(_0x25fb5e))||_0x25fb5e;if(_0x338086&&_0x25fb5e)__defProp(_0x3c25e9,_0xaf4014,_0x25fb5e);return _0x25fb5e;};let UsageLimit=class extends BaseResource{['resourceId'];['resource'];['type'];['paymentPlanId'];['numericLimitValue'];['paymentPlan'];};__name(UsageLimit,'UsageLimit'),__decorateClass([expandDescription()],UsageLimit['prototype'],'resourceId',0x8f2+-0x1d67+0x1477),__decorateClass([expandDescription()],UsageLimit['prototype'],'paymentPlanId',-0xb*0x3f+-0xb7*-0x20+0x1*-0x1429),UsageLimit=__decorateClass([resourceMetaId(resourceIds['usageLimit']),accessByUserId()],UsageLimit);

export { UsageLimit };
