PageSourceSearch

https://www.univacity.com/chunk-5HLLOJQ3.js

js univacity.com collected 2026-10-02 20:16:48 UTC 1,678 bytes, 1 lines download raw bytes

1import{R as l,h as r,k as b,p as c}from"./chunk-LQTFT3Z4.js";import{_ as m,da as i,r as d}from"./chunk-LD77J3V7.js";import{a as p,b as h}from"./chunk-GM3FZBKO.js";var g=class s{baseUrl;http=i(b);constructor(){let e=i(c);this.baseUrl=e.apiMainUrl+"/message"}create(e){return this.http.post(this.baseUrl+"/thread",e)}find(e={}){let t=new r({fromObject:e});return this.http.get(this.baseUrl+"/thread",{params:t})}findOne(e,t={}){let a=new r({fromObject:t});return this.http.get(`${this.baseUrl}/thread/${e}`,{params:a})}findOneByType(e,t,a={}){let n=new r({fromObject:h(p({},a),{type:e,reference:t})});return this.http.get(`${this.baseUrl}/thread/${e}/${t}`,{params:n})}update(e,t){return this.http.patch(`${this.baseUrl}/thread/${e}`,t)}delete(e){return this.http.delete(`${this.baseUrl}/thread/${e}`)}getAllAttachment(e,t){let a=new r({fromObject:{populate:t}});return this.http.get(`${this.baseUrl}/meta/${e}/attachments`,{params:a})}findOneReadReceipt(e,t={}){let a=new r({fromObject:t});return this.http.get(`${this.baseUrl}/meta/${e}/read-receipt`,{params:a})}updateReadReceipt(e,t){return this.http.put(`${this.baseUrl}/meta/${e}/read-receipt`,t)}countThreadUnread(e){return this.http.get(`${this.baseUrl}/meta/${e}/read-receipt/count`)}countUserUnread(){return this.http.get(`${this.baseUrl}/meta/read-receipt/count`)}autoComplete=(e,t)=>this.http.get(this.baseUrl,{params:l.removeEmptyProperties({search:e,page:t,select:["code","name"]})}).pipe(d(({docs:a,nextPage:n})=>({options:a.map(o=>({label:o.reference,value:o._id})),nextPage:n})));static \u0275fac=function(t){return new(t||s)};static \u0275prov=m({token:s,factory:s.\u0275fac,providedIn:"root"})};export{g as a};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.