Admin Portal - Selfhosted

This commit is contained in:
hillelcoren 2023-03-27 10:44:11 +00:00
parent b672577028
commit 3ed0a40854

View File

@ -39399,7 +39399,7 @@ cNh:function cNh(){},
bqK(a,b,c,d,e){var s,r bqK(a,b,c,d,e){var s,r
if(B.c.ck(a,"https://invoicing.co"))e="" if(B.c.ck(a,"https://invoicing.co"))e=""
s=t.X s=t.X
r=A.u(["X-CLIENT-VERSION","5.0.110","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s) r=A.u(["X-CLIENT-VERSION","5.0.111","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.t(0,"X-API-Token",b) if(b.length!==0)r.t(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.t(0,"X-API-OAUTH-PASSWORD",c) if((c==null?"":c).length!==0)r.t(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=B.aN.gjs().ew(d) if((d==null?"":d).length!==0){s=B.aN.gjs().ew(d)
@ -39407,8 +39407,8 @@ r.t(0,"X-API-PASSWORD-BASE64",B.f7.gjs().ew(s))}return r},
dMP(a,b){var s=b.e,r=s.h(0,"x-app-version"),q=s.h(0,"x-minimum-client-version"),p=b.b dMP(a,b){var s=b.e,r=s.h(0,"x-app-version"),q=s.h(0,"x-minimum-client-version"),p=b.b
if(p>=500)throw A.i(A.f6D(p,b.gij(b))) if(p>=500)throw A.i(A.f6D(p,b.gij(b)))
else if(r==null){p=b.gij(b).length>200?B.c.b3(b.gij(b),0,200):b.gij(b) else if(r==null){p=b.gij(b).length>200?B.c.b3(b.gij(b),0,200):b.gij(b)
throw A.i("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.ax2(A.ax3("5.0.110"),A.ax3(q)) throw A.i("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: "+a+"\n\nResponse: "+p+"\n\nHeaders: "+s.k(0)+"}")}else{s=A.ax2(A.ax3("5.0.111"),A.ax3(q))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.110 < Minimum v"+A.k(q)+"]") if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.111 < Minimum v"+A.k(q)+"]")
else{s=A.ax2(A.ax3(r),A.ax3("5.0.4")) else{s=A.ax2(A.ax3(r),A.ax3("5.0.4"))
if(s<0)throw A.i("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]") if(s<0)throw A.i("Error: server not supported, please update to the latest version [Current v"+r+" < Minimum v5.0.4]")
else if(p>=400)throw A.i(A.f6D(p,b.gij(b)))}}}, else if(p>=400)throw A.i(A.f6D(p,b.gij(b)))}}},
@ -202054,7 +202054,7 @@ return A.P($async$$0,r)},
$S:32} $S:32}
A.ewd.prototype={ A.ewd.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3" $1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.dy=a.ay="5.0.110" a.dy=a.ay="5.0.111"
a.at=new A.ew9(this.a)}, a.at=new A.ew9(this.a)},
$S:3090} $S:3090}
A.ew9.prototype={ A.ew9.prototype={
@ -203987,7 +203987,7 @@ r=this.z.a[r].b.x
r=r==null?null:r.x r=r==null?null:r.x
s="v"+(r==null?"":r) s="v"+(r==null?"":r)
if(s.length!==0)s+="-" if(s.length!==0)s+="-"
return B.c.ab(s+A.f8D(),B.a.ga4("5.0.110".split(".")))}, return B.c.ab(s+A.f8D(),B.a.ga4("5.0.111".split(".")))},
gA6(){var s=this,r=s.x.p2,q=s.y.a gA6(){var s=this,r=s.x.p2,q=s.y.a
q=s.z.a[q].b.f.cT q=s.z.a[q].b.f.cT
q=r.b.h(0,q).a.a q=r.b.h(0,q).a.a