PageSourceSearch

https://fjordlinefreight.fjordline.com/chunk-FVWYN6W6.js

js fjordline.com collected 2026-10-02 05:21:07 UTC 8,950 bytes, 1 lines download raw bytes

1import{O as T,S as m,Sb as y,Tb as g,Ub as b,Wb as j,sc as E,tc as W,uc as U,vc as C}from"./chunk-ODQP3NMW.js";var J=(()=>{class H{constructor(t,e,r){this.httpClient=t,this.basePath="https://api.carus.com",this.defaultHeaders=new y,this.configuration=new C,r&&(this.configuration=r),typeof this.configuration.basePath!="string"&&(typeof e!="string"&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new E}addToHttpParams(t,e,r){return typeof e=="object"&&!(e instanceof Date)?t=this.addToHttpParamsRecursive(t,e):t=this.addToHttpParamsRecursive(t,e,r),t}addToHttpParamsRecursive(t,e,r){if(e==null)return t;if(typeof e=="object")if(Array.isArray(e))e.forEach(d=>t=this.addToHttpParamsRecursive(t,d,r));else if(e instanceof Date)if(r!=null)t=t.append(r,e.toISOString().substr(0,10));else throw Error("key may not be null if value is Date");else Object.keys(e).forEach(d=>t=this.addToHttpParamsRecursive(t,e[d],r!=null?`${r}.${d}`:d));else if(r!=null)t=t.append(r,e);else throw Error("key may not be null if value is not object or array");return t}createCargoUnit(t,e,r,d,s,u="body",p=!1,f){if(t==null)throw new Error("Required parameter xCarusAPISYS was null or undefined when calling createCargoUnit.");if(e==null)throw new Error("Required parameter xCarusAuth was null or undefined when calling createCargoUnit.");if(r==null)throw new Error("Required parameter createCargoVehicleUnitRequest was null or undefined when calling createCargoUnit.");let n=this.defaultHeaders;t!=null&&(n=n.set("X-Carus-APISYS",String(t))),d!=null&&(n=n.set("Accept-Language",String(d))),e!=null&&(n=n.set("X-Carus-Auth",String(e))),s!=null&&(n=n.set("X-Carus-RenderNullFields",String(s)));let i=f&&f.httpHeaderAccept;if(i===void 0){let h=["application/json","application/xml"];i=this.configuration.selectHeaderAccept(h)}i!==void 0&&(n=n.set("Accept",i));let o=f&&f.context;o===void 0&&(o=new g);let l=["application/json","application/xml"],a=this.configuration.selectHeaderContentType(l);a!==void 0&&(n=n.set("Content-Type",a));let c="json";return i&&(i.startsWith("text")?c="text":this.configuration.isJsonMime(i)?c="json":c="blob"),this.httpClient.post(`${this.configuration.basePath}/cargo-self-service/v1/units`,r,{context:o,responseType:c,withCredentials:this.configuration.withCredentials,headers:n,observe:u,reportProgress:p})}deactivateCargoUnitWithCode(t,e,r,d,s,u="body",p=!1,f){if(t==null)throw new Error("Required parameter xCarusAPISYS was null or undefined when calling deactivateCargoUnitWithCode.");if(e==null)throw new Error("Required parameter xCarusAuth was null or undefined when calling deactivateCargoUnitWithCode.");if(r==null)throw new Error("Required parameter vehicleUnitNumber was null or undefined when calling deactivateCargoUnitWithCode.");let n=this.defaultHeaders;t!=null&&(n=n.set("X-Carus-APISYS",String(t))),d!=null&&(n=n.set("Accept-Language",String(d))),e!=null&&(n=n.set("X-Carus-Auth",String(e))),s!=null&&(n=n.set("X-Carus-RenderNullFields",String(s)));let i=f&&f.httpHeaderAccept;if(i===void 0){let a=["application/json","application/xml"];i=this.configuration.selectHeaderAccept(a)}i!==void 0&&(n=n.set("Accept",i));let o=f&&f.context;o===void 0&&(o=new g);let l="json";return i&&(i.startsWith("text")?l="text":this.configuration.isJsonMime(i)?l="json":l="blob"),this.httpClient.patch(`${this.configuration.basePath}/cargo-self-service/v1/units/${encodeURIComponent(String(r))}:deactivate`,null,{context:o,responseType:l,withCredentials:this.configuration.withCredentials,headers:n,observe:u,reportProgress:p})}deleteCargoUnitWithCode(t,e,r,d,s,u="body",p=!1,f){if(t==null)throw new Error("Required parameter xCarusAPISYS was null or undefined when calling deleteCargoUnitWithCode.");if(e==null)throw new Error("Required parameter xCarusAuth was null or undefined when calling deleteCargoUnitWithCode.");if(r==null)throw new Error("Required parameter vehicleUnitNumber was null or undefined when calling deleteCargoUnitWithCode.");let n=this.defaultHeaders;t!=null&&(n=n.set("X-Carus-APISYS",String(t))),d!=null&&(n=n.set("Accept-Language",String(d))),e!=null&&(n=n.set("X-Carus-Auth",String(e))),s!=null&&(n=n.set("X-Carus-RenderNullFields",String(s)));let i=f&&f.httpHeaderAccept;if(i===void 0){let a=["application/json","application/xml"];i=this.configuration.selectHeaderAccept(a)}
1i!==void 0&&(n=n.set("Accept",i));let o=f&&f.context;o===void 0&&(o=new g);let l="json";return i&&(i.startsWith("text")?l="text":this.configuration.isJsonMime(i)?l="json":l="blob"),this.httpClient.delete(`${this.configuration.basePath}/cargo-self-service/v1/units/${encodeURIComponent(String(r))}`,{context:o,responseType:l,withCredentials:this.configuration.withCredentials,headers:n,observe:u,reportProgress:p})}getAllCargoUnitsToCustomer(t,e,r,d,s,u,p,f,n="body",i=!1,o){if(t==null)throw new Error("Required parameter xCarusAPISYS was null or undefined when calling getAllCargoUnitsToCustomer.");if(e==null)throw new Error("Required parameter xCarusAuth was null or undefined when calling getAllCargoUnitsToCustomer.");let l=new b({encoder:this.encoder});d&&(l=this.addToHttpParams(l,d.join(U.csv),"sort")),s!=null&&(l=this.addToHttpParams(l,s,"fields")),u!=null&&(l=this.addToHttpParams(l,u,"pageSize")),p!=null&&(l=this.addToHttpParams(l,p,"pageNum"));let a=this.defaultHeaders;t!=null&&(a=a.set("X-Carus-APISYS",String(t))),r!=null&&(a=a.set("Accept-Language",String(r))),e!=null&&(a=a.set("X-Carus-Auth",String(e))),f!=null&&(a=a.set("X-Carus-RenderNullFields",String(f)));let c=o&&o.httpHeaderAccept;if(c===void 0){let A=["application/json","application/xml"];c=this.configuration.selectHeaderAccept(A)}c!==void 0&&(a=a.set("Accept",c));let h=o&&o.context;h===void 0&&(h=new g);let w="json";return c&&(c.startsWith("text")?w="text":this.configuration.isJsonMime(c)?w="json":w="blob"),this.httpClient.get(`${this.configuration.basePath}/cargo-self-service/v1/units`,{context:h,params:l,responseType:w,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}getCargoUnitWithCode(t,e,r,d,s,u,p="body",f=!1,n){if(t==null)throw new Error("Required parameter xCarusAPISYS was null or undefined when calling getCargoUnitWithCode.");if(e==null)throw new Error("Required parameter xCarusAuth was null or undefined when calling getCargoUnitWithCode.");if(r==null)throw new Error("Required parameter vehicleUnitNumber was null or undefined when calling getCargoUnitWithCode.");let i=new b({encoder:this.encoder});s!=null&&(i=this.addToHttpParams(i,s,"fields"));let o=this.defaultHeaders;t!=null&&(o=o.set("X-Carus-APISYS",String(t))),d!=null&&(o=o.set("Accept-Language",String(d))),e!=null&&(o=o.set("X-Carus-Auth",String(e))),u!=null&&(o=o.set("X-Carus-RenderNullFields",String(u)));let l=n&&n.httpHeaderAccept;if(l===void 0){let h=["application/json","application/xml"];l=this.configuration.selectHeaderAccept(h)}l!==void 0&&(o=o.set("Accept",l));let a=n&&n.context;a===void 0&&(a=new g);let c="json";return l&&(l.startsWith("text")?c="text":this.configuration.isJsonMime(l)?c="json":c="blob"),this.httpClient.get(`${this.configuration.basePath}/cargo-self-service/v1/units/${encodeURIComponent(String(r))}`,{context:a,params:i,responseType:c,withCredentials:this.configuration.withCredentials,headers:o,observe:p,reportProgress:f})}updateCargoUnitWithCode(t,e,r,d,s,u,p="body",f=!1,n){if(t==null)throw new Error("Required parameter xCarusAPISYS was null or undefined when calling updateCargoUnitWithCode.");if(e==null)throw new Error("Required parameter xCarusAuth was null or undefined when calling updateCargoUnitWithCode.");if(r==null)throw new Error("Required parameter vehicleUnitNumber was null or undefined when calling updateCargoUnitWithCode.");if(d==null)throw new Error("Required parameter createCargoVehicleUnitRequest was null or undefined when calling updateCargoUnitWithCode.");let i=this.defaultHeaders;t!=null&&(i=i.set("X-Carus-APISYS",String(t))),s!=null&&(i=i.set("Accept-Language",String(s))),e!=null&&(i=i.set("X-Carus-Auth",String(e))),u!=null&&(i=i.set("X-Carus-RenderNullFields",String(u)));let o=n&&n.httpHeaderAccept;if(o===void 0){let w=["application/json","application/xml"];o=this.configuration.selectHeaderAccept(w)}o!==void 0&&(i=i.set("Accept",o));let l=n&&n.context;l===void 0&&(l=new g);let a=["application/json","application/xml"],c=this.configuration.selectHeaderContentType(a);c!==void 0&&(i=i.set("Content-Type",c));let h="json";return o&&(o.startsWith("text")?h="text":this.configuration.isJsonMime(o)?h="json":h="blob"),this.httpClient.put(`${this.configuration.basePath}/cargo-self-service/v1/units/${encodeURIComponent(String(r))}`,d,{context:l,responseType:h,withCredentials:this.configuration.withCredentials,headers:i,observe:p,reportProgress:f})}static{this.\u0275fac=function(e){return new(e||H)(m(j),m(W,8),m(C,8))}}static{this.\u0275prov=T({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();export{J 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.