export const __webpack_esm_id__=67806;export const __webpack_esm_ids__=[67806,99354];export const __webpack_esm_modules__={67806(t,e,i){i.d(e,{Q:()=>o,v:()=>n});var s=i(99354);class n{_endpointId;_endpointURI;_label;_description;_default;_active;_lastModified;_objectsCount;_propertiesCount;_warnings;_errors;_createdSuccessfully;constructor(t={}){this._endpointId=t.endpointId,this._endpointURI=t.endpointURI,this._label=t.label,this._description=t.description,this._default=t.default,this._active=t.active,this._lastModified=t.lastModified,this._objectsCount=t.objectsCount,this._propertiesCount=t.propertiesCount,this._warnings=t.warnings,this._errors=t.errors,this._createdSuccessfully=0===this._errors}toUpdateEndpointRequest(t){return new s.Y({id:this.endpointId,label:this.label,description:this.description,active:this.active,default:this.default,options:t})}get createdSuccessfully(){return this._createdSuccessfully}get endpointId(){return this._endpointId}set endpointId(t){this._endpointId=t}get endpointURI(){return this._endpointURI}set endpointURI(t){this._endpointURI=t}get label(){return this._label}set label(t){this._label=t}get description(){return this._description}set description(t){this._description=t}get default(){return this._default}set default(t){this._default=t}get active(){return this._active}set active(t){this._active=t}get lastModified(){return this._lastModified}set lastModified(t){this._lastModified=t}get objectsCount(){return this._objectsCount}set objectsCount(t){this._objectsCount=t}get propertiesCount(){return this._propertiesCount}set propertiesCount(t){this._propertiesCount=t}get warnings(){return this._warnings}set warnings(t){this._warnings=t}get errors(){return this._errors}set errors(t){this._errors=t}}class o{_originalEndpointsList;_endpoints;constructor(t){this._originalEndpointsList=t||[],this._endpoints=t||[]}updateEndpoint(t){const e=this._endpoints.findIndex(e=>e.endpointId===t.endpointId);-1!==e&&(this._endpoints[e]=t)}filter(t){this._endpoints=this._originalEndpointsList.filter(e=>e.endpointId.toLowerCase().includes(t.toLowerCase())||e.label?.toLowerCase().includes(t.toLowerCase()))}findDefaultEndpoint(){return this._endpoints.find(t=>t.default)}get endpoints(){return this._endpoints}set endpoints(t){this._endpoints=t}}},99354(t,e,i){i.d(e,{Y:()=>s});class s{_id;_label;_description;_active;_default;_options;constructor(t){this._id=t.id,this._label=t.label,this._description=t.description,this._active=t.active,this._default=t.default,this._options=t.options}getUpdateDefaultEndpointRequest(){return{default:this.default}}getUpdateEndpointActiveStateRequest(){return{active:!this.active}}getUpdateEndpointSettingsRequest(){return{options:this.options?this.options.toFlatJSON():null}}set id(t){this._id=t}get id(){return this._id}set label(t){this._label=t}get label(){return this._label}set description(t){this._description=t}get description(){return this._description}set active(t){this._active=t}get active(){return this._active}set default(t){this._default=t}get default(){return this._default}set options(t){this._options=t}get options(){return this._options}}}};
//# sourceMappingURL=67806.4308d5edc99ee18e6c7e.bundle.js.map