'use strict';
import { resourceMetaId } from '../../../decorators/resource-id.js';
import { resourceIds } from '../../../../../fd-toolbox/constants/resource-id-constants.js';
import { WorkspaceResource } from '../workspace/workspace-resource.js';
import { notEditableFromOutside } from '../../../decorators/not-editable-from-outside.js';
import { allowedCrudActions } from '../../../decorators/allowed-crud-actions.js';
import { crudActions } from '../../../../../fd-toolbox/enums/enums.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x5998b4,_0x2a8470)=>__defProp(_0x5998b4,'name',{'value':_0x2a8470,'configurable':!![]}),__decorateClass=(_0x4a57d5,_0x390205,_0x3709c4,_0x2779b8)=>{var _0x523e5e=_0x2779b8>-0xe70+-0x93*-0x39+0x925*-0x2?void(0x14bb+-0x1cc5+0x126*0x7):_0x2779b8?__getOwnPropDesc(_0x390205,_0x3709c4):_0x390205;for(var _0xf1a016=_0x4a57d5['length']-(-0x5ee*-0x3+-0x111d*-0x2+-0x3403*0x1),_0xd6fde0;_0xf1a016>=-0x85*0xf+-0x1c0+0x15d*0x7;_0xf1a016--)if(_0xd6fde0=_0x4a57d5[_0xf1a016])_0x523e5e=(_0x2779b8?_0xd6fde0(_0x390205,_0x3709c4,_0x523e5e):_0xd6fde0(_0x523e5e))||_0x523e5e;if(_0x2779b8&&_0x523e5e)__defProp(_0x390205,_0x3709c4,_0x523e5e);return _0x523e5e;};let UserWorkspaceInvite=class extends WorkspaceResource{['email'];['expirationDate'];};__name(UserWorkspaceInvite,'UserWorkspaceInvite'),__decorateClass([notEditableFromOutside()],UserWorkspaceInvite['prototype'],'expirationDate',0x9e0+0x550+0x1d*-0x86),UserWorkspaceInvite=__decorateClass([allowedCrudActions([crudActions['create'],crudActions['view'],crudActions['delete']]),resourceMetaId(resourceIds['userWorkspaceInvite'])],UserWorkspaceInvite);

export { UserWorkspaceInvite };
