@omniviewdev/runtime 0.6.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- "use strict";var Je=Object.defineProperty;var Qe=(e,t,r)=>t in e?Je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>Qe(e,typeof t!="symbol"?t+"":t,r);const o=require("./index-D_aIcqH0.cjs"),u=require("./models-CGYstu7u.cjs"),n=require("./calls-DUhq86Ki.cjs");function xe(e,t){return n.ByID(3867104420,e,t).then(r=>v(r))}function ke(e){return n.ByID(3795411887,e)}function Ke(){return n.ByID(1053995964).then(e=>tt(e))}function Xe(e){return n.ByID(3231741321,e).then(t=>nt(t))}function R(e){return n.ByID(2597562645,e).then(t=>_(t))}function Ye(e,t,r){return n.ByID(1481837168,e,t,r)}function Ze(e,t){return n.ByID(230212281,e,t)}function et(){return n.ByID(2408440370).then(e=>_(e))}const v=u.Setting.createFrom,tt=o.Array(o.Any),nt=o.Map(o.Any,v),_=o.Map(o.Any,o.Any),rt=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:xe,HasPlugin:ke,ListPlugins:Ke,ListSettings:Xe,PluginValues:R,SetSetting:Ye,SetSettings:Ze,Values:et},Symbol.toStringTag,{value:"Module"}));function ot(e){return n.ByID(3150413499,e).then(t=>l(t))}function ct(e){return n.ByID(1152913314,e).then(t=>Ft(t))}function w(e){return n.ByID(111194374,e).then(t=>S(t))}function it(e){return n.ByID(3945933305,e)}function ut(e){return n.ByID(2859775056,e).then(t=>L(t))}function st(e,t){return n.ByID(2209599792,e,t).then(r=>Gt(r))}function at(e){return n.ByID(3963363730,e).then(t=>L(t))}function yt(e){return n.ByID(1357029266,e).then(t=>l(t))}function lt(){return n.ByID(2477486666).then(e=>h(e))}function $t(){return n.ByID(976517756).then(e=>h(e))}function pt(e){return n.ByID(1020548995,e).then(t=>h(t))}function ft(e,t){return n.ByID(2004740384,e,t).then(r=>h(r))}function ht(){return n.ByID(873697101).then(e=>M(e))}function Dt(){return n.ByID(637134283).then(e=>Ct(e))}function It(){return n.ByID(550607756).then(e=>Rt(e))}function Bt(e,t){return n.ByID(288660195,e,t).then(r=>l(r))}function Tt(e){return n.ByID(1771013494,e).then(t=>l(t))}function O(e){return n.ByID(2433379724,e).then(t=>l(t))}function St(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>M(c))}function dt(e){return n.ByID(1369550929,e).then(t=>l(t))}function gt(e){return n.ByID(3828800061,e).then(t=>l(t))}const l=u.PluginInfo.createFrom,mt=u.DownloadStats.createFrom,Ft=o.Nullable(mt),S=u.PluginMeta.createFrom,At=u.VersionInfo.createFrom,L=o.Array(At),bt=u.Review.createFrom,Gt=o.Array(bt),h=o.Nullable(S),Pt=u.AvailablePlugin.createFrom,M=o.Array(Pt),Ct=o.Array(S),Rt=o.Array(l),vt=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:ot,GetPluginDownloadStats:ct,GetPluginMeta:w,GetPluginReadme:it,GetPluginReleaseHistory:ut,GetPluginReviews:st,GetPluginVersions:at,InstallDevPluginFromPath:yt,InstallFromPathPrompt:lt,InstallInDevMode:$t,InstallPluginFromPath:pt,InstallPluginVersion:ft,ListAvailablePlugins:ht,ListPluginMetas:Dt,ListPlugins:It,LoadPlugin:Bt,ReloadPlugin:Tt,RetryFailedPlugin:O,SearchPlugins:St,UninstallPlugin:dt,UnlinkDevPlugin:gt},Symbol.toStringTag,{value:"Module"}));function _t(e){return n.ByID(122243240,e)}function wt(){return n.ByID(269082212).then(e=>xt(e))}function Ot(e){return n.ByID(1421156656,e).then(t=>d(t))}function Lt(e){return n.ByID(3143996982,e).then(t=>j(t))}function Mt(e){return n.ByID(1695819138,e)}function Nt(e){return n.ByID(1827194808,e).then(t=>kt(t))}function jt(e){return n.ByID(72059321,e)}function Ht(e){return n.ByID(62418781,e).then(t=>Kt(t))}function zt(e){return n.ByID(2222012564,e).then(t=>Xt(t))}function Ut(e){return n.ByID(2753368941,e)}function Wt(e){return n.ByID(3825211425,e)}function Vt(e){return n.ByID(2121298005,e).then(t=>Yt(t))}function Et(){return n.ByID(3038957305).then(e=>f(e))}function qt(){return n.ByID(3369612893)}function Jt(e,t){return n.ByID(252556992,e,t)}function Qt(e){return n.ByID(1704369097,e)}function N(){return n.ByID(2936263106).then(e=>j(e))}const d=u.Category.createFrom,xt=o.Array(d),j=o.Map(o.Any,o.Any),kt=o.Array(o.Any),Kt=o.Array(o.Any),Xt=u.Setting.createFrom,Yt=o.Array(o.Any);var f=function e(...t){return f===e&&(f=Zt),f(...t)};const Zt=o.Map(o.Any,d),en=Object.freeze(Object.defineProperty({__proto__:null,GetBool:_t,GetCategories:wt,GetCategory:Ot,GetCategoryValues:Lt,GetFloat:Mt,GetFloatSlice:Nt,GetInt:jt,GetIntSlice:Ht,GetSetting:zt,GetSettingValue:Ut,GetString:Wt,GetStringSlice:Vt,ListSettings:Et,LoadSettings:qt,SetSetting:Jt,SetSettings:Qt,Values:N},Symbol.toStringTag,{value:"Module"}));class g{constructor(t={}){s(this,"type");s(this,"label");s(this,"target");"type"in t||(this.type=""),"label"in t||(this.label=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new g(r)}}class m{constructor(t={}){s(this,"type");s(this,"title");s(this,"status");s(this,"detail");s(this,"instance");s(this,"suggestions");s(this,"actions");s(this,"code");s(this,"requestId");s(this,"recovery");s(this,"location");"type"in t||(this.type=""),"title"in t||(this.title=""),"status"in t||(this.status=0),"detail"in t||(this.detail=""),Object.assign(this,t)}static createFrom(t={}){const r=tn,c=rn,i=cn;let a=typeof t=="string"?JSON.parse(t):t;return"suggestions"in a&&(a.suggestions=r(a.suggestions)),"actions"in a&&(a.actions=c(a.actions)),"location"in a&&(a.location=i(a.location)),new m(a)}}class F{constructor(t={}){s(this,"start");s(this,"end");s(this,"unit");"start"in t||(this.start=0),"end"in t||(this.end=0),"unit"in t||(this.unit=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new F(r)}}const tn=o.Array(o.Any),nn=g.createFrom,rn=o.Array(nn),on=F.createFrom,cn=o.Nullable(on);class D{constructor(t={}){s(this,"type");s(this,"data");s(this,"error");"type"in t||(this.type=""),Object.assign(this,t)}static createFrom(t={}){const r=un,c=an;let i=typeof t=="string"?JSON.parse(t):t;return"data"in i&&(i.data=r(i.data)),"error"in i&&(i.error=c(i.error)),new D(i)}}class A{constructor(t={}){s(this,"sequence");s(this,"event");s(this,"terminal");"sequence"in t||(this.sequence=0),"event"in t||(this.event=new D),"terminal"in t||(this.terminal=!1),Object.assign(this,t)}static createFrom(t={}){const r=yn;let c=typeof t=="string"?JSON.parse(t):t;return"event"in c&&(c.event=r(c.event)),new A(c)}}class b{constructor(t={}){s(this,"connection");s(this,"started");s(this,"resources");s(this,"resourceCounts");s(this,"totalResources");s(this,"syncedCount");s(this,"errorCount");s(this,"lastSyncTime");"connection"in t||(this.connection=new u.Connection),"started"in t||(this.started=!1),"resources"in t||(this.resources={}),"resourceCounts"in t||(this.resourceCounts={}),"totalResources"in t||(this.totalResources=0),"syncedCount"in t||(this.syncedCount=0),"errorCount"in t||(this.errorCount=0),Object.assign(this,t)}static createFrom(t={}){const r=ln,c=$n,i=pn;let a=typeof t=="string"?JSON.parse(t):t;return"connection"in a&&(a.connection=r(a.connection)),"resources"in a&&(a.resources=c(a.resources)),"resourceCounts"in a&&(a.resourceCounts=i(a.resourceCounts)),new b(a)}}const un=o.Map(o.Any,o.Any),sn=m.createFrom,an=o.Nullable(sn),yn=D.createFrom,ln=u.Connection.createFrom,$n=o.Map(o.Any,o.Any),pn=o.Map(o.Any,o.Any);function fn(e,t){return n.ByID(4065522324,e,t)}function H(e){return n.ByID(2393377246,e).then(t=>On(t))}function z(e){return n.ByID(1090099505,e)}function hn(e,t){return n.ByID(1688967279,e,t).then(r=>pe(r))}function U(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(i=>Mn(i))}function W(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(i=>jn(i))}function Dn(e,t,r){return n.ByID(1338477906,e,t,r)}function V(e,t,r,c,i){return n.ByID(1844283666,e,t,r,c,i).then(a=>zn(a))}function In(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(i=>Wn(i))}function E(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(i=>En(i))}function q(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Jn(c))}function J(){return n.ByID(4153677080).then(e=>kn(e))}function Q(e,t){return n.ByID(950535743,e,t).then(r=>I(r))}function x(e,t){return n.ByID(537508515,e,t).then(r=>fe(r))}function k(e,t){return n.ByID(1394342402,e,t).then(r=>Xn(r))}function Bn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>Zn(c))}function Tn(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(i=>tr(i))}function Sn(e,t){return n.ByID(2699561690,e,t).then(r=>rr(r))}function dn(e,t){return n.ByID(1474609809,e,t).then(r=>cr(r))}function gn(e,t){return n.ByID(4077050094,e,t).then(r=>ir(r))}function mn(e,t,r,c,i,a){return n.ByID(3171791798,e,t,r,c,i,a).then(y=>sr(y))}function Fn(e,t){return n.ByID(114848330,e,t).then(r=>he(r))}function K(e,t){return n.ByID(4290498491,e,t).then(r=>ar(r))}function An(e,t,r){return n.ByID(137675652,e,t,r)}function X(e,t){return n.ByID(2078766795,e,t).then(r=>yr(r))}function Y(e,t){return n.ByID(3311395752,e,t).then(r=>lr(r))}function Z(e,t){return n.ByID(42345827,e,t).then(r=>pr(r))}function bn(e){return n.ByID(854008408,e)}function Gn(e,t){return n.ByID(3547410887,e,t)}function Pn(e,t,r){return n.ByID(3516169863,e,t,r)}function ee(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(i=>hr(i))}function te(){return n.ByID(1598984489).then(e=>Dr(e))}function ne(e){return n.ByID(1775572154,e).then(t=>G(t))}function Cn(){return n.ByID(3217612415).then(e=>fe(e))}function Rn(e){return n.ByID(2037329938,e).then(t=>G(t))}function re(e,t){return n.ByID(421198049,e,t)}function vn(e,t,r,c,i){return n.ByID(3987850310,e,t,r,c,i).then(a=>Br(a))}function _n(e,t,r){return n.ByID(555702059,e,t,r)}function oe(e,t){return n.ByID(3276991559,e,t).then(r=>pe(r))}function ce(e,t){return n.ByID(3389223006,e,t)}function ie(e,t){return n.ByID(794258089,e,t).then(r=>I(r))}function ue(e,t){return n.ByID(1661153284,e,t)}function wn(e,t,r){return n.ByID(3981374696,e,t,r)}function se(e,t,r,c,i){return n.ByID(2990116431,e,t,r,c,i)}function ae(e,t,r){return n.ByID(2856546527,e,t,r)}function ye(e,t,r){return n.ByID(3710015102,e,t,r)}function le(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(i=>Sr(i))}function $e(e,t){return n.ByID(2131988692,e,t).then(r=>I(r))}const On=A.createFrom,pe=u.ConnectionStatus.createFrom,Ln=u.CreateResult.createFrom,Mn=o.Nullable(Ln),Nn=u.DeleteResult.createFrom,jn=o.Nullable(Nn),Hn=u.ActionResult.createFrom,zn=o.Nullable(Hn),Un=u.FindResult.createFrom,Wn=o.Nullable(Un),Vn=u.GetResult.createFrom,En=o.Nullable(Vn),qn=u.ActionDescriptor.createFrom,Jn=o.Array(qn),Qn=b.createFrom,xn=o.Array(Qn),kn=o.Map(o.Any,xn),I=u.Connection.createFrom,fe=o.Array(o.Any),Kn=u.EditorSchema.createFrom,Xn=o.Array(Kn),Yn=u.FilterField.createFrom,Zn=o.Array(Yn),er=u.ResourceHealth.createFrom,tr=o.Nullable(er),nr=u.RelationshipDescriptor.createFrom,rr=o.Array(nr),or=u.ResourceCapabilities.createFrom,cr=o.Nullable(or),ir=u.ResourceDefinition.createFrom,ur=u.ResourceEvent.createFrom,sr=o.Array(ur),he=u.ResourceGroup.createFrom,ar=o.Map(o.Any,he),De=u.ResourceMeta.createFrom,yr=o.Nullable(De),lr=o.Map(o.Any,De),$r=u.WatchConnectionSummary.createFrom,pr=o.Nullable($r),fr=u.ListResult.createFrom,hr=o.Nullable(fr),G=o.Array(I),Dr=o.Map(o.Any,G),Ir=u.ResolvedRelationship.createFrom,Br=o.Array(Ir),Tr=u.UpdateResult.createFrom,Sr=o.Nullable(Tr),dr=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:fn,AttachStreamAction:H,CancelStreamAction:z,CheckConnection:hn,Create:U,Delete:W,EnsureResourceWatch:Dn,ExecuteAction:V,Find:In,Get:E,GetActions:q,GetAllConnectionStates:J,GetConnection:Q,GetConnectionNamespaces:x,GetEditorSchemas:k,GetFilterFields:Bn,GetHealth:Tn,GetRelationships:Sn,GetResourceCapabilities:dn,GetResourceDefinition:gn,GetResourceEvents:mn,GetResourceGroup:Fn,GetResourceGroups:K,GetResourceSchema:An,GetResourceType:X,GetResourceTypes:Y,GetWatchState:Z,HasPlugin:bn,HasResourceType:Gn,IsResourceWatchRunning:Pn,List:ee,ListAllConnections:te,ListConnections:ne,ListPlugins:Cn,LoadConnections:Rn,RemoveConnection:re,ResolveRelationships:vn,RestartResourceWatch:_n,StartConnection:oe,StartConnectionWatch:ce,StopConnection:ie,StopConnectionWatch:ue,StopResourceWatch:wn,StreamAction:se,SubscribeResource:ae,UnsubscribeResource:ye,Update:le,UpdateConnection:$e},Symbol.toStringTag,{value:"Module"}));function gr(e,t){return n.ByID(3653639550,e,t)}function Ie(e,t){return n.ByID(851823419,e,t)}function mr(e){return n.ByID(2991415449,e).then(t=>Fr(t))}function Be(e,t,r){return n.ByID(2695679023,e,t,r)}const Fr=o.Array(o.Any),Ar=Object.freeze(Object.defineProperty({__proto__:null,Delete:gr,Get:Ie,Keys:mr,Set:Be},Symbol.toStringTag,{value:"Module"}));function br(e){return n.ByID(93318075,e).then(t=>(t[0]=p(t[0]),t[1]=o.ByteSlice(t[1]),t))}function Gr(e){return n.ByID(1353297556,e)}function Te(e,t,r){return n.ByID(608251756,e,t,r).then(c=>p(c))}function Pr(e){return n.ByID(4182196712,e).then(t=>p(t))}function Cr(e){return n.ByID(3993344525,e).then(t=>p(t))}function Rr(e,t){return n.ByID(1779192716,e,t).then(r=>zr(r))}function vr(){return n.ByID(4033362541).then(e=>Ur(e))}function _r(e){return n.ByID(2619212338,e).then(t=>de(t))}function wr(e){return n.ByID(1371268636,e).then(t=>p(t))}function Or(e){return n.ByID(3881019319,e)}function Lr(){return n.ByID(3006426324).then(e=>Wr(e))}function Mr(){return n.ByID(265791345).then(e=>Vr(e))}function Nr(e,t,r){return n.ByID(1492965384,e,t,r)}function jr(e,t){return n.ByID(486465741,e,t)}const Hr=u.Session.createFrom,p=o.Nullable(Hr),Se=u.Handler.createFrom,zr=o.Nullable(Se),de=o.Map(o.Any,Se),Ur=o.Map(o.Any,de),Wr=o.Array(o.Any),Vr=o.Array(p),Er=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:br,CloseSession:Gr,CreateSession:Te,CreateTerminal:Pr,DetachSession:Cr,GetHandler:Rr,GetHandlers:vr,GetPluginHandlers:_r,GetSession:wr,HasPlugin:Or,ListPlugins:Lr,ListSessions:Mr,ResizeSession:Nr,WriteSession:jr},Symbol.toStringTag,{value:"Module"}));function ge(e){return n.ByID(2776241946,e)}function me(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>B(c))}function qr(e){return n.ByID(1474987050,e).then(t=>B(t))}function Jr(e){return n.ByID(3156347865,e).then(t=>eo(t))}function Qr(e){return n.ByID(1444002509,e)}function xr(){return n.ByID(3104582886).then(e=>to(e))}function kr(){return n.ByID(2249742267).then(e=>no(e))}function Kr(e,t){return n.ByID(1212190993,e,t)}function Xr(e,t){return n.ByID(2177127885,e,t).then(r=>B(r))}const Yr=u.LogSession.createFrom,B=o.Nullable(Yr),Zr=u.Handler$1.createFrom,eo=o.Array(Zr),to=o.Array(o.Any),no=o.Array(B),ro=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:ge,CreateSession:me,GetSession:qr,GetSupportedResources:Jr,HasPlugin:Qr,ListPlugins:xr,ListSessions:kr,SendCommand:Kr,UpdateSessionOptions:Xr},Symbol.toStringTag,{value:"Module"}));class P{constructor(t={}){s(this,"plugin_id");s(this,"provider_id");s(this,"name");s(this,"icon");s(this,"description");s(this,"handlers");"plugin_id"in t||(this.plugin_id=""),"provider_id"in t||(this.provider_id=""),"name"in t||(this.name=""),"icon"in t||(this.icon=""),"description"in t||(this.description=""),"handlers"in t||(this.handlers=[]),Object.assign(this,t)}static createFrom(t={}){const r=co;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new P(c)}}const oo=u.Handler$2.createFrom,co=o.Array(oo);function Fe(){return n.ByID(3919346639).then(e=>Ce(e))}function Ae(e){return n.ByID(3953821778,e).then(t=>Ce(t))}function io(e){return n.ByID(1815388456,e)}function uo(){return n.ByID(2730149903).then(e=>yo(e))}function so(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>Re(c))}function be(e,t,r,c,i,a,y,$,Ve,Ee){return n.ByID(2480040278,e,t,r,c,i,a,y,$,Ve,Ee).then(qe=>$o(qe))}function Ge(e,t,r){return n.ByID(3738888803,e,t,r)}function Pe(e){return n.ByID(3994236150,e)}const ao=P.createFrom,Ce=o.Array(ao),yo=o.Array(o.Any),lo=u.QueryResponse.createFrom,Re=o.Nullable(lo),$o=o.Map(o.Any,Re),po=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Fe,GetProvidersForResource:Ae,HasPlugin:io,ListPlugins:uo,Query:so,QueryAll:be,Subscribe:Ge,Unsubscribe:Pe},Symbol.toStringTag,{value:"Module"}));function ve(e){return n.ByID(182596922,e).then(t=>T(t))}function _e(e,t,r){return n.ByID(981100722,e,t,r).then(c=>C(c))}function fo(e){return n.ByID(2157304970,e).then(t=>T(t))}function ho(e){return n.ByID(650882,e).then(t=>Le(t))}function Do(e){return n.ByID(3624690437,e)}function we(){return n.ByID(2195697754).then(e=>C(e))}function Io(){return n.ByID(167463150).then(e=>Le(e))}function Bo(e,t){return n.ByID(2090415403,e,t).then(r=>C(r))}function Oe(e,t,r){return n.ByID(780445954,e,t,r).then(c=>T(c))}const To=u.PortForwardSession.createFrom,T=o.Nullable(To),C=o.Array(T),Le=o.Array(o.Any),So=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:ve,FindPortForwardSessions:_e,GetPortForwardSession:fo,GetSupportedPortForwardTargets:ho,HasPlugin:Do,ListAllPortForwardSessions:we,ListPlugins:Io,ListPortForwardSessions:Bo,StartResourcePortForwardingSession:Oe},Symbol.toStringTag,{value:"Module"}));function go(e){return n.ByID(2106300110,e).then(t=>Fo(t))}function Me(e){return n.ByID(765209827,e).then(t=>Ao(t))}function mo(e){return n.ByID(2355436169,e).then(t=>je(t))}const Ne=u.ResourceComponent.createFrom,je=o.Array(Ne),Fo=o.Map(o.Any,je),Ao=o.Nullable(Ne),bo=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:go,GetResourceAreaComponent:Me,GetResourceComponents:mo},Symbol.toStringTag,{value:"Module"}));function He(e,t,r,c,i,a){return n.ByID(3749557463,e,t,r,c,i,a).then(y=>Co(y))}function ze(e,t,r,c,i,a,y){return n.ByID(3912521777,e,t,r,c,i,a,y).then($=>We($))}function Go(e,t,r,c,i,a,y){return n.ByID(1916045973,e,t,r,c,i,a,y).then($=>vo($))}function Ue(e,t,r,c,i,a,y){return n.ByID(210990208,e,t,r,c,i,a,y).then($=>wo($))}const Po=u.DependencyTree.createFrom,Co=o.Nullable(Po),Ro=u.GraphEdge.createFrom,We=o.Array(Ro),vo=o.Array(We),_o=u.Subgraph.createFrom,wo=o.Nullable(_o),Oo=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:He,GetRelated:ze,GetRelationshipChain:Go,GetSubgraph:Ue},Symbol.toStringTag,{value:"Module"}));exports.AttachStreamAction=H;exports.CancelStreamAction=z;exports.ClosePortForwardSession=ve;exports.CloseSession=ge;exports.Create=U;exports.CreateSession=Te;exports.CreateSession$1=me;exports.Delete=W;exports.ExecuteAction=V;exports.FindPortForwardSessions=_e;exports.Get=Ie;exports.Get$1=E;exports.GetActions=q;exports.GetAllConnectionStates=J;exports.GetConnection=Q;exports.GetConnectionNamespaces=x;exports.GetDependencyTree=He;exports.GetEditorSchemas=k;exports.GetPluginMeta=w;exports.GetProviders=Fe;exports.GetProvidersForResource=Ae;exports.GetRelated=ze;exports.GetResourceAreaComponent=Me;exports.GetResourceGroups=K;exports.GetResourceType=X;exports.GetResourceTypes=Y;exports.GetSubgraph=Ue;exports.GetWatchState=Z;exports.List=ee;exports.ListAllConnections=te;exports.ListAllPortForwardSessions=we;exports.ListConnections=ne;exports.PluginValues=R;exports.QueryAll=be;exports.RemoveConnection=re;exports.RetryFailedPlugin=O;exports.Set=Be;exports.StartConnection=oe;exports.StartConnectionWatch=ce;exports.StartResourcePortForwardingSession=Oe;exports.StopConnection=ie;exports.StopConnectionWatch=ue;exports.StreamAction=se;exports.Subscribe=Ge;exports.SubscribeResource=ae;exports.Unsubscribe=Pe;exports.UnsubscribeResource=ye;exports.Update=le;exports.UpdateConnection=$e;exports.Values=N;exports.graphservice=Oo;exports.servicewrapper=Er;exports.servicewrapper$1=So;exports.servicewrapper$2=vt;exports.servicewrapper$3=dr;exports.servicewrapper$4=rt;exports.servicewrapper$5=en;exports.servicewrapper$6=bo;exports.servicewrapper$7=ro;exports.servicewrapper$8=po;exports.servicewrapper$9=Ar;
@@ -1 +0,0 @@
1
- "use strict";var Zt=Object.defineProperty;var Vt=(i,e,s)=>e in i?Zt(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var t=(i,e,s)=>Vt(i,typeof e!="symbol"?e+"":e,s);const c=require("./index-D_aIcqH0.cjs");class K{constructor(e={}){t(this,"settings");t(this,"id");t(this,"label");t(this,"description");t(this,"icon");"settings"in e||(this.settings={}),"id"in e||(this.id=""),"label"in e||(this.label=""),"description"in e||(this.description=""),"icon"in e||(this.icon=""),Object.assign(this,e)}static createFrom(e={}){const s=Wt;let n=typeof e=="string"?JSON.parse(e):e;return"settings"in n&&(n.settings=s(n.settings)),new K(n)}}class O{constructor(e={}){t(this,"id");t(this,"label");t(this,"description");t(this,"type");t(this,"value");t(this,"default");t(this,"options");t(this,"fileSelection");t(this,"sensitive");t(this,"devOnly");"id"in e||(this.id=""),"label"in e||(this.label=""),"description"in e||(this.description=""),"type"in e||(this.type=""),"value"in e||(this.value=null),"default"in e||(this.default=null),"options"in e||(this.options=[]),"fileSelection"in e||(this.fileSelection=null),"sensitive"in e||(this.sensitive=!1),"devOnly"in e||(this.devOnly=!1),Object.assign(this,e)}static createFrom(e={}){const s=Xt,n=ei;let a=typeof e=="string"?JSON.parse(e):e;return"options"in a&&(a.options=s(a.options)),"fileSelection"in a&&(a.fileSelection=n(a.fileSelection)),new O(a)}}class w{constructor(e={}){t(this,"enabled");t(this,"allowFolders");t(this,"extensions");t(this,"multiple");t(this,"relative");t(this,"defaultPath");"enabled"in e||(this.enabled=!1),"allowFolders"in e||(this.allowFolders=!1),"extensions"in e||(this.extensions=[]),"multiple"in e||(this.multiple=!1),"relative"in e||(this.relative=!1),"defaultPath"in e||(this.defaultPath=""),Object.assign(this,e)}static createFrom(e={}){const s=ti;let n=typeof e=="string"?JSON.parse(e):e;return"extensions"in n&&(n.extensions=s(n.extensions)),new w(n)}}class N{constructor(e={}){t(this,"label");t(this,"description");t(this,"value");"label"in e||(this.label=""),"description"in e||(this.description=""),"value"in e||(this.value=null),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new N(s)}}var je=(i=>(i.$zero="",i.Text="text",i.Select="select",i.MultiSelect="multiselect",i.Integer="integer",i.Float="float",i.Toggle="toggle",i.Color="color",i.DateTime="datetime",i.Password="password",i))(je||{});const Qt=O.createFrom,Wt=c.Map(c.Any,Qt),Yt=N.createFrom,Xt=c.Array(Yt),$t=w.createFrom,ei=c.Nullable($t),ti=c.Array(c.Any),ii=Object.freeze(Object.defineProperty({__proto__:null,Category:K,Setting:O,SettingFileSelection:w,SettingOption:N,SettingType:je},Symbol.toStringTag,{value:"Module"}));class T{constructor(e={}){t(this,"name");t(this,"email");t(this,"url");"name"in e||(this.name=""),"email"in e||(this.email=""),"url"in e||(this.url=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new T(s)}}var Je=(i=>(i.$zero="",i.PluginComponentAreaEditor="EDITOR",i.PluginComponentAreaSidebar="SIDEBAR",i))(Je||{});class h{constructor(e={}){t(this,"resource");"resource"in e||(this.resource=[]),Object.assign(this,e)}static createFrom(e={}){const s=si;let n=typeof e=="string"?JSON.parse(e):e;return"resource"in n&&(n.resource=s(n.resource)),new h(n)}}class v{constructor(e={}){t(this,"name");t(this,"email");"name"in e||(this.name=""),"email"in e||(this.email=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new v(s)}}class m{constructor(e={}){t(this,"id");t(this,"version");t(this,"name");t(this,"icon");t(this,"icon_url");t(this,"description");t(this,"repository");t(this,"website");t(this,"category");t(this,"license");t(this,"author");t(this,"maintainers");t(this,"tags");t(this,"dependencies");t(this,"capabilities");t(this,"theme");t(this,"components");t(this,"schema_version");t(this,"sdk_protocol_version");t(this,"state_isolation");"id"in e||(this.id=""),"version"in e||(this.version=""),"name"in e||(this.name=""),"icon"in e||(this.icon=""),"icon_url"in e||(this.icon_url=""),"description"in e||(this.description=""),"repository"in e||(this.repository=""),"website"in e||(this.website=""),"category"in e||(this.category=""),"license"in e||(this.license=""),"maintainers"in e||(this.maintainers=[]),"tags"in e||(this.tags=[]),"dependencies"in e||(this.dependencies=[]),"capabilities"in e||(this.capabilities=[]),"theme"in e||(this.theme=new g),"components"in e||(this.components=new h),"schema_version"in e||(this.schema_version=0),"sdk_protocol_version"in e||(this.sdk_protocol_version=0),Object.assign(this,e)}static createFrom(e={}){const s=ri,n=oi,a=B,r=B,o=B,Gt=li,Lt=pi,qt=fi;let l=typeof e=="string"?JSON.parse(e):e;return"author"in l&&(l.author=s(l.author)),"maintainers"in l&&(l.maintainers=n(l.maintainers)),"tags"in l&&(l.tags=a(l.tags)),"dependencies"in l&&(l.dependencies=r(l.dependencies)),"capabilities"in l&&(l.capabilities=o(l.capabilities)),"theme"in l&&(l.theme=Gt(l.theme)),"components"in l&&(l.components=Lt(l.components)),"state_isolation"in l&&(l.state_isolation=qt(l.state_isolation)),new m(l)}}class A{constructor(e={}){t(this,"name");t(this,"plugin");t(this,"area");t(this,"resources");t(this,"extension");"name"in e||(this.name=""),"plugin"in e||(this.plugin=""),"area"in e||(this.area=""),"resources"in e||(this.resources=[]),"extension"in e||(this.extension=""),Object.assign(this,e)}static createFrom(e={}){const s=B;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new A(n)}}class g{constructor(e={}){t(this,"colors");"colors"in e||(this.colors=new y),Object.assign(this,e)}static createFrom(e={}){const s=hi;let n=typeof e=="string"?JSON.parse(e):e;return"colors"in n&&(n.colors=s(n.colors)),new g(n)}}class y{constructor(e={}){t(this,"primary");t(this,"secondary");t(this,"tertiary");"primary"in e||(this.primary=""),"secondary"in e||(this.secondary=""),"tertiary"in e||(this.tertiary=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new y(s)}}class j{constructor(e={}){t(this,"schema_version");t(this,"capability");t(this,"sdk_module");t(this,"sdk_revision");t(this,"sdk_source_sha256");t(this,"binary_sha256");"schema_version"in e||(this.schema_version=0),"capability"in e||(this.capability=""),"sdk_module"in e||(this.sdk_module=""),"sdk_revision"in e||(this.sdk_revision=""),"binary_sha256"in e||(this.binary_sha256=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new j(s)}}const ni=A.createFrom,si=c.Array(ni),ai=T.createFrom,ri=c.Nullable(ai),ci=v.createFrom,oi=c.Array(ci),B=c.Array(c.Any),li=g.createFrom,pi=h.createFrom,di=j.createFrom,fi=c.Nullable(di),hi=y.createFrom,mi=Object.freeze(Object.defineProperty({__proto__:null,PluginAuthor:T,PluginComponentArea:Je,PluginComponents:h,PluginMaintainer:v,PluginMeta:m,PluginResourceComponent:A,PluginTheme:g,PluginThemeColors:y,StateIsolationProvenance:j},Symbol.toStringTag,{value:"Module"}));class G{constructor(e={}){t(this,"id");t(this,"name");t(this,"description");t(this,"icon_url");t(this,"category");t(this,"tags");t(this,"license");t(this,"official");t(this,"featured");t(this,"download_count");t(this,"average_rating");t(this,"review_count");t(this,"repository");t(this,"url");t(this,"publisher_name");t(this,"installed");t(this,"installed_version");t(this,"latest_version");t(this,"update_available");"id"in e||(this.id=""),"name"in e||(this.name=""),"description"in e||(this.description=""),"icon_url"in e||(this.icon_url=""),"category"in e||(this.category=""),"tags"in e||(this.tags=[]),"license"in e||(this.license=""),"official"in e||(this.official=!1),"featured"in e||(this.featured=!1),"download_count"in e||(this.download_count=0),"average_rating"in e||(this.average_rating=0),"review_count"in e||(this.review_count=0),"repository"in e||(this.repository=""),"url"in e||(this.url=""),"publisher_name"in e||(this.publisher_name=""),"installed"in e||(this.installed=!1),"installed_version"in e||(this.installed_version=""),"latest_version"in e||(this.latest_version=""),"update_available"in e||(this.update_available=!1),Object.assign(this,e)}static createFrom(e={}){const s=yt;let n=typeof e=="string"?JSON.parse(e):e;return"tags"in n&&(n.tags=s(n.tags)),new G(n)}}class L{constructor(e={}){t(this,"date");t(this,"count");"date"in e||(this.date=""),"count"in e||(this.count=0),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new L(s)}}class q{constructor(e={}){t(this,"total");t(this,"last_month");t(this,"last_week");t(this,"daily_stats");"total"in e||(this.total=0),"last_month"in e||(this.last_month=0),"last_week"in e||(this.last_week=0),"daily_stats"in e||(this.daily_stats=[]),Object.assign(this,e)}static createFrom(e={}){const s=yi;let n=typeof e=="string"?JSON.parse(e):e;return"daily_stats"in n&&(n.daily_stats=s(n.daily_stats)),new q(n)}}class Z{constructor(e={}){t(this,"id");t(this,"user_id");t(this,"rating");t(this,"title");t(this,"body");t(this,"created_at");"id"in e||(this.id=""),"user_id"in e||(this.user_id=0),"rating"in e||(this.rating=0),"title"in e||(this.title=""),"body"in e||(this.body=""),"created_at"in e||(this.created_at=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Z(s)}}class V{constructor(e={}){t(this,"version");t(this,"description");t(this,"changelog");t(this,"min_ide_version");t(this,"max_ide_version");t(this,"capabilities");t(this,"created_at");"version"in e||(this.version=""),"description"in e||(this.description=""),"changelog"in e||(this.changelog=""),"min_ide_version"in e||(this.min_ide_version=""),"max_ide_version"in e||(this.max_ide_version=""),"capabilities"in e||(this.capabilities=[]),"created_at"in e||(this.created_at=""),Object.assign(this,e)}static createFrom(e={}){const s=yt;let n=typeof e=="string"?JSON.parse(e):e;return"capabilities"in n&&(n.capabilities=s(n.capabilities)),new V(n)}}const yt=c.Array(c.Any),gi=L.createFrom,yi=c.Array(gi),_i=Object.freeze(Object.defineProperty({__proto__:null,AvailablePlugin:G,DailyStat:L,DownloadStats:q,Review:Z,VersionInfo:V},Symbol.toStringTag,{value:"Module"}));var _=(i=>(i[i.$zero=0]="$zero",i[i.minDuration=-9223372036854776e3]="minDuration",i[i.maxDuration=9223372036854776e3]="maxDuration",i[i.Nanosecond=1]="Nanosecond",i[i.Microsecond=1e3]="Microsecond",i[i.Millisecond=1e6]="Millisecond",i[i.Second=1e9]="Second",i[i.Minute=6e10]="Minute",i[i.Hour=36e11]="Hour",i))(_||{});const bi=Object.freeze(Object.defineProperty({__proto__:null,Duration:_},Symbol.toStringTag,{value:"Module"}));var _t=(i=>(i.$zero="",i.CapabilityResource="resource",i.CapabilityExec="exec",i.CapabilityNetworker="networker",i.CapabilityLog="log",i.CapabilityMetric="metric",i.CapabilitySettings="settings",i.CapabilityUI="ui",i))(_t||{});class Q{constructor(e={}){t(this,"last_refresh");t(this,"data");t(this,"labels");t(this,"lifecycle");t(this,"id");t(this,"uid");t(this,"name");t(this,"description");t(this,"avatar");t(this,"expiry_time");t(this,"Client");"last_refresh"in e||(this.last_refresh="0001-01-01T00:00:00.000Z"),"data"in e||(this.data={}),"labels"in e||(this.labels={}),"lifecycle"in e||(this.lifecycle=new J),"id"in e||(this.id=""),"uid"in e||(this.uid=""),"name"in e||(this.name=""),"description"in e||(this.description=""),"avatar"in e||(this.avatar=""),"expiry_time"in e||(this.expiry_time=_.$zero),"Client"in e||(this.Client=null),Object.assign(this,e)}static createFrom(e={}){const s=gt,n=gt,a=ui;let r=typeof e=="string"?JSON.parse(e):e;return"data"in r&&(r.data=s(r.data)),"labels"in r&&(r.labels=n(r.labels)),"lifecycle"in r&&(r.lifecycle=a(r.lifecycle)),new Q(r)}}class W{constructor(e={}){t(this,"enabled");t(this,"triggers");t(this,"retry");"enabled"in e||(this.enabled=!1),"triggers"in e||(this.triggers=[]),"retry"in e||(this.retry=""),Object.assign(this,e)}static createFrom(e={}){const s=Si;let n=typeof e=="string"?JSON.parse(e):e;return"triggers"in n&&(n.triggers=s(n.triggers)),new W(n)}}var bt=(i=>(i.$zero="",i.ConnectionAutoConnectRetryNone="NONE",i.ConnectionAutoConnectRetryOnChange="ON_CHANGE",i))(bt||{}),ut=(i=>(i.$zero="",i.ConnectionAutoConnectTriggerPluginStart="PLUGIN_START",i.ConnectionAutoConnectTriggerConnectionDiscovered="CONNECTION_DISCOVERED",i))(ut||{});class J{constructor(e={}){t(this,"auto_connect");Object.assign(this,e)}static createFrom(e={}){const s=Oi;let n=typeof e=="string"?JSON.parse(e):e;return"auto_connect"in n&&(n.auto_connect=s(n.auto_connect)),new J(n)}}class Ce{constructor(e={}){t(this,"connection");t(this,"status");t(this,"error");t(this,"details");"connection"in e||(this.connection=null),"status"in e||(this.status=""),"error"in e||(this.error=""),"details"in e||(this.details=""),Object.assign(this,e)}static createFrom(e={}){const s=Ni;let n=typeof e=="string"?JSON.parse(e):e;return"connection"in n&&(n.connection=s(n.connection)),new Ce(n)}}var St=(i=>(i.$zero="",i.ConnectionStatusUnknown="UNKNOWN",i.ConnectionStatusConnected="CONNECTED",i.ConnectionStatusDisconnected="DISCONNECTED",i.ConnectionStatusPending="PENDING",i.ConnectionStatusFailed="FAILED",i.ConnectionStatusError="ERROR",i.ConnectionStatusUnauthorized="UNAUTHORIZED",i.ConnectionStatusForbidden="FORBIDDEN",i.ConnectionStatusBadRequest="BAD_REQUEST",i.ConnectionStatusNotFound="NOT_FOUND",i.ConnectionStatusTimeout="TIMEOUT",i.ConnectionStatusUnavailable="UNAVAILABLE",i.ConnectionStatusRequestEntityTooLarge="REQUEST_ENTITY_TOO_LARGE",i))(St||{});class Pe{constructor(e={}){t(this,"id");t(this,"metadata");t(this,"phase");t(this,"enabled");t(this,"devMode");t(this,"devPath");t(this,"capabilities");t(this,"lastError");"id"in e||(this.id=""),"metadata"in e||(this.metadata=new m),"phase"in e||(this.phase=""),"enabled"in e||(this.enabled=!1),"devMode"in e||(this.devMode=!1),"capabilities"in e||(this.capabilities=[]),Object.assign(this,e)}static createFrom(e={}){const s=Ti,n=vi;let a=typeof e=="string"?JSON.parse(e):e;return"metadata"in a&&(a.metadata=s(a.metadata)),"capabilities"in a&&(a.capabilities=n(a.capabilities)),new Pe(a)}}const gt=c.Map(c.Any,c.Any),ui=J.createFrom,Si=c.Array(c.Any),Fi=W.createFrom,Oi=c.Nullable(Fi),wi=Q.createFrom,Ni=c.Nullable(wi),Ti=m.createFrom,vi=c.Array(c.Any);class Ee{constructor(e={}){t(this,"id");t(this,"label");t(this,"description");t(this,"icon");t(this,"scope");t(this,"streaming");t(this,"paramsSchema");t(this,"outputSchema");t(this,"dangerous");"id"in e||(this.id=""),"label"in e||(this.label=""),"description"in e||(this.description=""),"icon"in e||(this.icon=""),"scope"in e||(this.scope=""),"streaming"in e||(this.streaming=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ee(s)}}class Re{constructor(e={}){t(this,"id");t(this,"namespace");t(this,"params");"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const s=Ct;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new Re(n)}}class Ie{constructor(e={}){t(this,"success");t(this,"data");t(this,"message");"success"in e||(this.success=!1),"data"in e||(this.data={}),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const s=Ct;let n=typeof e=="string"?JSON.parse(e):e;return"data"in n&&(n.data=s(n.data)),new Ie(n)}}var Ft=(i=>(i.$zero="",i.ActionScopeInstance="instance",i.ActionScopeType="type",i))(Ft||{});class Y{constructor(e={}){t(this,"id");t(this,"header");t(this,"accessor");t(this,"accessorPriority");t(this,"colorMap");t(this,"color");t(this,"align");t(this,"hidden");t(this,"width");t(this,"formatter");t(this,"component");t(this,"componentParams");t(this,"resourceLink");t(this,"valueMap");"id"in e||(this.id=""),"header"in e||(this.header=""),"accessor"in e||(this.accessor=""),Object.assign(this,e)}static createFrom(e={}){const s=u,n=ji,a=u;let r=typeof e=="string"?JSON.parse(e):e;return"colorMap"in r&&(r.colorMap=s(r.colorMap)),"resourceLink"in r&&(r.resourceLink=n(r.resourceLink)),"valueMap"in r&&(r.valueMap=a(r.valueMap)),new Y(r)}}class xe{constructor(e={}){t(this,"input");t(this,"namespace");"input"in e||(this.input=null),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new xe(s)}}class ze{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ze(s)}}class ke{constructor(e={}){t(this,"id");t(this,"namespace");t(this,"gracePeriodSeconds");"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ke(s)}}class Me{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Me(s)}}var Ot=(i=>(i.$zero="",i.EdgeOutgoing="",i.EdgeIncoming="incoming",i))(Ot||{});class De{constructor(e={}){t(this,"resourceKey");t(this,"fileMatch");t(this,"uri");t(this,"url");t(this,"content");t(this,"language");"resourceKey"in e||(this.resourceKey=""),"fileMatch"in e||(this.fileMatch=""),"uri"in e||(this.uri=""),"language"in e||(this.language=""),Object.assign(this,e)}static createFrom(e={}){const s=c.ByteSlice;let n=typeof e=="string"?JSON.parse(e):e;return"content"in n&&(n.content=s(n.content)),new De(n)}}var wt=(i=>(i.$zero="",i.SeverityNormal="normal",i.SeverityWarning="warning",i.SeverityError="error",i))(wt||{});class X{constructor(e={}){t(this,"logic");t(this,"predicates");t(this,"groups");Object.assign(this,e)}static createFrom(e={}){const s=Ci,n=Pi;let a=typeof e=="string"?JSON.parse(e):e;return"predicates"in a&&(a.predicates=s(a.predicates)),"groups"in a&&(a.groups=n(a.groups)),new X(a)}}class He{constructor(e={}){t(this,"path");t(this,"displayName");t(this,"description");t(this,"type");t(this,"operators");t(this,"allowedValues");t(this,"required");"path"in e||(this.path=""),"displayName"in e||(this.displayName=""),"description"in e||(this.description=""),"type"in e||(this.type=""),"operators"in e||(this.operators=[]),Object.assign(this,e)}static createFrom(e={}){const s=Ei,n=oe;let a=typeof e=="string"?JSON.parse(e):e;return"operators"in a&&(a.operators=s(a.operators)),"allowedValues"in a&&(a.allowedValues=n(a.allowedValues)),new He(a)}}var Nt=(i=>(i.$zero="",i.FilterFieldString="string",i.FilterFieldInt="integer",i.FilterFieldFloat="number",i.FilterFieldBool="boolean",i.FilterFieldTime="datetime",i.FilterFieldEnum="enum",i.FilterFieldMap="map",i))(Nt||{}),Tt=(i=>(i.$zero="",i.FilterAnd="and",i.FilterOr="or",i))(Tt||{}),vt=(i=>(i.$zero="",i.OpEqual="eq",i.OpNotEqual="neq",i.OpGreaterThan="gt",i.OpGreaterOrEqual="gte",i.OpLessThan="lt",i.OpLessOrEqual="lte",i.OpContains="contains",i.OpPrefix="prefix",i.OpSuffix="suffix",i.OpRegex="regex",i.OpIn="in",i.OpNotIn="notin",i.OpExists="exists",i.OpNotExists="notexists",i.OpHasKey="haskey",i))(vt||{});class ${constructor(e={}){t(this,"field");t(this,"operator");t(this,"value");"field"in e||(this.field=""),"operator"in e||(this.operator=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new $(s)}}class Ue{constructor(e={}){t(this,"filters");t(this,"textQuery");t(this,"namespaces");t(this,"order");t(this,"pagination");"namespaces"in e||(this.namespaces=[]),"order"in e||(this.order=[]),"pagination"in e||(this.pagination=new b),Object.assign(this,e)}static createFrom(e={}){const s=Ri,n=oe,a=Et,r=Rt;let o=typeof e=="string"?JSON.parse(e):e;return"filters"in o&&(o.filters=s(o.filters)),"namespaces"in o&&(o.namespaces=n(o.namespaces)),"order"in o&&(o.order=a(o.order)),"pagination"in o&&(o.pagination=r(o.pagination)),new Ue(o)}}class Be{constructor(e={}){t(this,"result");t(this,"success");t(this,"totalCount");t(this,"nextCursor");"result"in e||(this.result=[]),"success"in e||(this.success=!1),"totalCount"in e||(this.totalCount=0),Object.assign(this,e)}static createFrom(e={}){const s=It;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new Be(n)}}class Ke{constructor(e={}){t(this,"id");t(this,"namespace");"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ke(s)}}class Ge{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ge(s)}}class ee{constructor(e={}){t(this,"type");t(this,"status");t(this,"reason");t(this,"message");t(this,"lastProbeTime");t(this,"lastTransitionTime");"type"in e||(this.type=""),"status"in e||(this.status=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ee(s)}}var At=(i=>(i.$zero="",i.HealthHealthy="healthy",i.HealthDegraded="degraded",i.HealthUnhealthy="unhealthy",i.HealthPending="pending",i.HealthUnknown="unknown",i))(At||{});class Le{constructor(e={}){t(this,"namespaces");t(this,"order");t(this,"pagination");"namespaces"in e||(this.namespaces=[]),"order"in e||(this.order=[]),"pagination"in e||(this.pagination=new b),Object.assign(this,e)}static createFrom(e={}){const s=oe,n=Et,a=Rt;let r=typeof e=="string"?JSON.parse(e):e;return"namespaces"in r&&(r.namespaces=s(r.namespaces)),"order"in r&&(r.order=n(r.order)),"pagination"in r&&(r.pagination=a(r.pagination)),new Le(r)}}class qe{constructor(e={}){t(this,"result");t(this,"success");t(this,"totalCount");t(this,"nextCursor");"result"in e||(this.result=[]),"success"in e||(this.success=!1),"totalCount"in e||(this.totalCount=0),Object.assign(this,e)}static createFrom(e={}){const s=It;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new qe(n)}}class te{constructor(e={}){t(this,"field");t(this,"descending");"field"in e||(this.field=""),"descending"in e||(this.descending=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new te(s)}}class b{constructor(e={}){t(this,"page");t(this,"pageSize");t(this,"cursor");"page"in e||(this.page=0),"pageSize"in e||(this.pageSize=0),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new b(s)}}class C{constructor(e={}){t(this,"type");t(this,"targetResourceKey");t(this,"label");t(this,"inverseLabel");t(this,"cardinality");t(this,"direction");t(this,"extractor");t(this,"targetNamespaced");"type"in e||(this.type=""),"targetResourceKey"in e||(this.targetResourceKey=""),"label"in e||(this.label=""),Object.assign(this,e)}static createFrom(e={}){const s=zi;let n=typeof e=="string"?JSON.parse(e):e;return"extractor"in n&&(n.extractor=s(n.extractor)),new C(n)}}class ie{constructor(e={}){t(this,"method");t(this,"fieldPath");t(this,"labelSelector");"method"in e||(this.method=""),Object.assign(this,e)}static createFrom(e={}){const s=u;let n=typeof e=="string"?JSON.parse(e):e;return"labelSelector"in n&&(n.labelSelector=s(n.labelSelector)),new ie(n)}}var Ze=(i=>(i.$zero="",i.RelOwns="owns",i.RelRunsOn="runs_on",i.RelUses="uses",i.RelExposes="exposes",i.RelManages="manages",i.RelMemberOf="member_of",i.RelSelects="selects",i))(Ze||{});class Ve{constructor(e={}){t(this,"descriptor");t(this,"targets");"descriptor"in e||(this.descriptor=new C),"targets"in e||(this.targets=[]),Object.assign(this,e)}static createFrom(e={}){const s=ki,n=Di;let a=typeof e=="string"?JSON.parse(e):e;return"descriptor"in a&&(a.descriptor=s(a.descriptor)),"targets"in a&&(a.targets=n(a.targets)),new Ve(a)}}class Qe{constructor(e={}){t(this,"canGet");t(this,"canList");t(this,"canFind");t(this,"canCreate");t(this,"canUpdate");t(this,"canDelete");t(this,"watchable");t(this,"filterable");t(this,"searchable");t(this,"hasActions");t(this,"hasSchema");t(this,"namespaceScoped");t(this,"hasRelationships");t(this,"hasHealth");t(this,"hasEvents");t(this,"scaleHint");"canGet"in e||(this.canGet=!1),"canList"in e||(this.canList=!1),"canFind"in e||(this.canFind=!1),"canCreate"in e||(this.canCreate=!1),"canUpdate"in e||(this.canUpdate=!1),"canDelete"in e||(this.canDelete=!1),"watchable"in e||(this.watchable=!1),"filterable"in e||(this.filterable=!1),"searchable"in e||(this.searchable=!1),"hasActions"in e||(this.hasActions=!1),"hasSchema"in e||(this.hasSchema=!1),"namespaceScoped"in e||(this.namespaceScoped=!1),"hasRelationships"in e||(this.hasRelationships=!1),"hasHealth"in e||(this.hasHealth=!1),"hasEvents"in e||(this.hasEvents=!1),Object.assign(this,e)}static createFrom(e={}){const s=Ui;let n=typeof e=="string"?JSON.parse(e):e;return"scaleHint"in n&&(n.scaleHint=s(n.scaleHint)),new Qe(n)}}class We{constructor(e={}){t(this,"id_accessor");t(this,"namespace_accessor");t(this,"memoizer_accessor");t(this,"columnDefs");"id_accessor"in e||(this.id_accessor=""),"namespace_accessor"in e||(this.namespace_accessor=""),"memoizer_accessor"in e||(this.memoizer_accessor=""),"columnDefs"in e||(this.columnDefs=[]),Object.assign(this,e)}static createFrom(e={}){const s=Ki;let n=typeof e=="string"?JSON.parse(e):e;return"columnDefs"in n&&(n.columnDefs=s(n.columnDefs)),new We(n)}}class Ye{constructor(e={}){t(this,"type");t(this,"reason");t(this,"message");t(this,"source");t(this,"count");t(this,"firstSeen");t(this,"lastSeen");"type"in e||(this.type=""),"reason"in e||(this.reason=""),"message"in e||(this.message=""),"firstSeen"in e||(this.firstSeen="0001-01-01T00:00:00.000Z"),"lastSeen"in e||(this.lastSeen="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ye(s)}}class Xe{constructor(e={}){t(this,"id");t(this,"name");t(this,"description");t(this,"icon");t(this,"resources");"id"in e||(this.id=""),"name"in e||(this.name=""),"description"in e||(this.description=""),"icon"in e||(this.icon=""),"resources"in e||(this.resources={}),Object.assign(this,e)}static createFrom(e={}){const s=qi;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new Xe(n)}}class $e{constructor(e={}){t(this,"status");t(this,"reason");t(this,"message");t(this,"since");t(this,"conditions");"status"in e||(this.status=""),Object.assign(this,e)}static createFrom(e={}){const s=Vi;let n=typeof e=="string"?JSON.parse(e):e;return"conditions"in n&&(n.conditions=s(n.conditions)),new $e(n)}}class ne{constructor(e={}){t(this,"idAccessor");t(this,"namespaceAccessor");t(this,"namespaced");t(this,"resourceKey");t(this,"keyAccessor");t(this,"keyMap");t(this,"detailExtractors");t(this,"displayId");"idAccessor"in e||(this.idAccessor=""),"namespaceAccessor"in e||(this.namespaceAccessor=""),"namespaced"in e||(this.namespaced=!1),"resourceKey"in e||(this.resourceKey=""),"keyAccessor"in e||(this.keyAccessor=""),"keyMap"in e||(this.keyMap={}),"detailExtractors"in e||(this.detailExtractors={}),"displayId"in e||(this.displayId=!1),Object.assign(this,e)}static createFrom(e={}){const s=u,n=u;let a=typeof e=="string"?JSON.parse(e):e;return"keyMap"in a&&(a.keyMap=s(a.keyMap)),"detailExtractors"in a&&(a.detailExtractors=n(a.detailExtractors)),new ne(a)}}class se{constructor(e={}){t(this,"group");t(this,"version");t(this,"kind");t(this,"label");t(this,"icon");t(this,"description");t(this,"category");"group"in e||(this.group=""),"version"in e||(this.version=""),"kind"in e||(this.kind=""),"label"in e||(this.label=""),"icon"in e||(this.icon=""),"description"in e||(this.description=""),"category"in e||(this.category=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new se(s)}}class ae{constructor(e={}){t(this,"pluginId");t(this,"connectionId");t(this,"resourceKey");t(this,"id");t(this,"namespace");t(this,"displayName");"connectionId"in e||(this.connectionId=""),"resourceKey"in e||(this.resourceKey=""),"id"in e||(this.id=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ae(s)}}class re{constructor(e={}){t(this,"level");t(this,"expectedCount");t(this,"defaultPageSize");"level"in e||(this.level=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new re(s)}}var jt=(i=>(i.$zero="",i.ScaleFew="few",i.ScaleModerate="moderate",i.ScaleMany="many",i))(jt||{});class et{constructor(e={}){t(this,"input");t(this,"id");t(this,"namespace");"input"in e||(this.input=null),"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new et(s)}}class tt{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new tt(s)}}class it{constructor(e={}){t(this,"connectionId");t(this,"resources");t(this,"resourceCounts");t(this,"scope");"connectionId"in e||(this.connectionId=""),"resources"in e||(this.resources={}),"resourceCounts"in e||(this.resourceCounts={}),Object.assign(this,e)}static createFrom(e={}){const s=Qi,n=Wi,a=Xi;let r=typeof e=="string"?JSON.parse(e):e;return"resources"in r&&(r.resources=s(r.resources)),"resourceCounts"in r&&(r.resourceCounts=n(r.resourceCounts)),"scope"in r&&(r.scope=a(r.scope)),new it(r)}}class ce{constructor(e={}){t(this,"partitions");Object.assign(this,e)}static createFrom(e={}){const s=oe;let n=typeof e=="string"?JSON.parse(e):e;return"partitions"in n&&(n.partitions=s(n.partitions)),new ce(n)}}var Jt=(i=>(i[i.$zero=0]="$zero",i[i.WatchStateIdle=0]="WatchStateIdle",i[i.WatchStateSyncing=1]="WatchStateSyncing",i[i.WatchStateSynced=2]="WatchStateSynced",i[i.WatchStateError=3]="WatchStateError",i[i.WatchStateStopped=4]="WatchStateStopped",i[i.WatchStateFailed=5]="WatchStateFailed",i[i.WatchStateForbidden=6]="WatchStateForbidden",i[i.WatchStateSkipped=7]="WatchStateSkipped",i))(Jt||{});class nt{constructor(e={}){t(this,"pluginId");t(this,"connection");t(this,"resourceKey");t(this,"state");t(this,"message");t(this,"resourceCount");t(this,"errorCode");"pluginId"in e||(this.pluginId=""),"connection"in e||(this.connection=""),"resourceKey"in e||(this.resourceKey=""),"state"in e||(this.state=0),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new nt(s)}}const Ct=c.Map(c.Any,c.Any),u=c.Map(c.Any,c.Any),Ai=ne.createFrom,ji=c.Nullable(Ai),Ji=$.createFrom,Ci=c.Array(Ji),Pt=X.createFrom,Pi=c.Array(Pt),Ei=c.Array(c.Any),oe=c.Array(c.Any),Ri=c.Nullable(Pt),Ii=te.createFrom,Et=c.Array(Ii),Rt=b.createFrom,It=c.Array(c.Any),xi=ie.createFrom,zi=c.Nullable(xi),ki=C.createFrom,Mi=ae.createFrom,Di=c.Array(Mi),Hi=re.createFrom,Ui=c.Nullable(Hi),Bi=Y.createFrom,Ki=c.Array(Bi),Gi=se.createFrom,Li=c.Array(Gi),qi=c.Map(c.Any,Li),Zi=ee.createFrom,Vi=c.Array(Zi),Qi=c.Map(c.Any,c.Any),Wi=c.Map(c.Any,c.Any),Yi=ce.createFrom,Xi=c.Nullable(Yi);let le=class xt{constructor(e={}){t(this,"label");t(this,"label_selector");t(this,"paths");t(this,"selectors");"label"in e||(this.label=""),"label_selector"in e||(this.label_selector=""),"paths"in e||(this.paths=[]),"selectors"in e||(this.selectors={}),Object.assign(this,e)}static createFrom(e={}){const s=fe,n=S;let a=typeof e=="string"?JSON.parse(e):e;return"paths"in a&&(a.paths=s(a.paths)),"selectors"in a&&(a.selectors=n(a.selectors)),new xt(a)}},zt=class kt{constructor(e={}){t(this,"plugin");t(this,"resource");t(this,"target_builder");t(this,"default_command");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"target_builder"in e||(this.target_builder=new le),"default_command"in e||(this.default_command=[]),Object.assign(this,e)}static createFrom(e={}){const s=$i,n=fe;let a=typeof e=="string"?JSON.parse(e):e;return"target_builder"in a&&(a.target_builder=s(a.target_builder)),"default_command"in a&&(a.default_command=n(a.default_command)),new kt(a)}};class pe{constructor(e={}){t(this,"created_at");t(this,"labels");t(this,"params");t(this,"id");t(this,"command");t(this,"attached");"created_at"in e||(this.created_at="0001-01-01T00:00:00.000Z"),"labels"in e||(this.labels={}),"params"in e||(this.params={}),"id"in e||(this.id=""),"command"in e||(this.command=[]),"attached"in e||(this.attached=!1),Object.assign(this,e)}static createFrom(e={}){const s=S,n=S,a=fe;let r=typeof e=="string"?JSON.parse(e):e;return"labels"in r&&(r.labels=s(r.labels)),"params"in r&&(r.params=n(r.params)),"command"in r&&(r.command=a(r.command)),new pe(r)}}class de{constructor(e={}){t(this,"params");t(this,"labels");t(this,"id");t(this,"resource_plugin");t(this,"resource_key");t(this,"resource_data");t(this,"command");t(this,"tty");"params"in e||(this.params={}),"labels"in e||(this.labels={}),"id"in e||(this.id=""),"resource_plugin"in e||(this.resource_plugin=""),"resource_key"in e||(this.resource_key=""),"resource_data"in e||(this.resource_data={}),"command"in e||(this.command=[]),"tty"in e||(this.tty=!1),Object.assign(this,e)}static createFrom(e={}){const s=S,n=S,a=en,r=fe;let o=typeof e=="string"?JSON.parse(e):e;return"params"in o&&(o.params=s(o.params)),"labels"in o&&(o.labels=n(o.labels)),"resource_data"in o&&(o.resource_data=a(o.resource_data)),"command"in o&&(o.command=r(o.command)),new de(o)}}const fe=c.Array(c.Any),S=c.Map(c.Any,c.Any),$i=le.createFrom,en=c.Map(c.Any,c.Any),tn=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:le,Handler:zt,Session:pe,SessionOptions:de},Symbol.toStringTag,{value:"Module"}));class P{constructor(e={}){t(this,"label");t(this,"label_selector");t(this,"paths");t(this,"selectors");"label"in e||(this.label=""),"label_selector"in e||(this.label_selector=""),"paths"in e||(this.paths=[]),"selectors"in e||(this.selectors={}),Object.assign(this,e)}static createFrom(e={}){const s=nn,n=rt;let a=typeof e=="string"?JSON.parse(e):e;return"paths"in a&&(a.paths=s(a.paths)),"selectors"in a&&(a.selectors=n(a.selectors)),new P(a)}}class he{constructor(e={}){t(this,"resource_key");t(this,"resource_id");t(this,"resource_data");t(this,"options");"resource_key"in e||(this.resource_key=""),"resource_id"in e||(this.resource_id=""),"resource_data"in e||(this.resource_data={}),"options"in e||(this.options=new d),Object.assign(this,e)}static createFrom(e={}){const s=sn,n=Ht;let a=typeof e=="string"?JSON.parse(e):e;return"resource_data"in a&&(a.resource_data=s(a.resource_data)),"options"in a&&(a.options=n(a.options)),new he(a)}}let Mt=class Dt{constructor(e={}){t(this,"plugin");t(this,"resource");t(this,"target_builder");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"target_builder"in e||(this.target_builder=new P),Object.assign(this,e)}static createFrom(e={}){const s=an;let n=typeof e=="string"?JSON.parse(e):e;return"target_builder"in n&&(n.target_builder=s(n.target_builder)),new Dt(n)}};class me{constructor(e={}){t(this,"id");t(this,"plugin_id");t(this,"connection_id");t(this,"resource_key");t(this,"resource_id");t(this,"options");t(this,"status");t(this,"active_sources");t(this,"created_at");"id"in e||(this.id=""),"plugin_id"in e||(this.plugin_id=""),"connection_id"in e||(this.connection_id=""),"resource_key"in e||(this.resource_key=""),"resource_id"in e||(this.resource_id=""),"options"in e||(this.options=new d),"status"in e||(this.status=0),"active_sources"in e||(this.active_sources=[]),"created_at"in e||(this.created_at="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){const s=Ht,n=cn;let a=typeof e=="string"?JSON.parse(e):e;return"options"in a&&(a.options=s(a.options)),"active_sources"in a&&(a.active_sources=n(a.active_sources)),new me(a)}}class d{constructor(e={}){t(this,"target");t(this,"follow");t(this,"include_previous");t(this,"include_timestamps");t(this,"tail_lines");t(this,"since_seconds");t(this,"since_time");t(this,"limit_bytes");t(this,"include_source_events");t(this,"params");"target"in e||(this.target=""),"follow"in e||(this.follow=!1),"include_previous"in e||(this.include_previous=!1),"include_timestamps"in e||(this.include_timestamps=!1),"tail_lines"in e||(this.tail_lines=0),"since_seconds"in e||(this.since_seconds=0),"limit_bytes"in e||(this.limit_bytes=0),"include_source_events"in e||(this.include_source_events=!1),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const s=rt;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new d(n)}}var st=(i=>(i[i.$zero=0]="$zero",i[i.LogSessionStatusActive=0]="LogSessionStatusActive",i[i.LogSessionStatusPaused=1]="LogSessionStatusPaused",i[i.LogSessionStatusClosed=2]="LogSessionStatusClosed",i[i.LogSessionStatusError=3]="LogSessionStatusError",i[i.LogSessionStatusConnecting=4]="LogSessionStatusConnecting",i[i.LogSessionStatusInitializing=5]="LogSessionStatusInitializing",i))(st||{});class E{constructor(e={}){t(this,"id");t(this,"labels");"id"in e||(this.id=""),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=rt;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new E(n)}}var at=(i=>(i[i.$zero=0]="$zero",i[i.StreamCommandPause=0]="StreamCommandPause",i[i.StreamCommandResume=1]="StreamCommandResume",i[i.StreamCommandClose=2]="StreamCommandClose",i))(at||{});const nn=c.Array(c.Any),rt=c.Map(c.Any,c.Any),sn=c.Map(c.Any,c.Any),Ht=d.createFrom,an=P.createFrom,rn=E.createFrom,cn=c.Array(rn),on=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:P,CreateSessionOptions:he,Handler:Mt,LogSession:me,LogSessionOptions:d,LogSessionStatus:st,LogSource:E,LogStreamCommand:at},Symbol.toStringTag,{value:"Module"}));class R{constructor(e={}){t(this,"metric_id");t(this,"min");t(this,"max");t(this,"avg");t(this,"sum");t(this,"p50");t(this,"p90");t(this,"p99");t(this,"count");t(this,"window");t(this,"labels");"metric_id"in e||(this.metric_id=""),"min"in e||(this.min=0),"max"in e||(this.max=0),"avg"in e||(this.avg=0),"sum"in e||(this.sum=0),"p50"in e||(this.p50=0),"p90"in e||(this.p90=0),"p99"in e||(this.p99=0),"count"in e||(this.count=0),"window"in e||(this.window=_.$zero),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=H;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new R(n)}}class I{constructor(e={}){t(this,"min");t(this,"max");t(this,"color");"min"in e||(this.min=0),"max"in e||(this.max=0),"color"in e||(this.color=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new I(s)}}class x{constructor(e={}){t(this,"metric_id");t(this,"value");t(this,"timestamp");t(this,"labels");"metric_id"in e||(this.metric_id=""),"value"in e||(this.value=0),"timestamp"in e||(this.timestamp="0001-01-01T00:00:00.000Z"),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=H;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new x(n)}}class z{constructor(e={}){t(this,"timestamp");t(this,"value");t(this,"labels");"timestamp"in e||(this.timestamp="0001-01-01T00:00:00.000Z"),"value"in e||(this.value=0),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=H;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new z(n)}}class ge{constructor(e={}){t(this,"resource");t(this,"metrics");"resource"in e||(this.resource=""),"metrics"in e||(this.metrics=[]),Object.assign(this,e)}static createFrom(e={}){const s=pn;let n=typeof e=="string"?JSON.parse(e):e;return"metrics"in n&&(n.metrics=s(n.metrics)),new ge(n)}}class k{constructor(e={}){t(this,"id");t(this,"name");t(this,"unit");t(this,"icon");t(this,"color_ranges");t(this,"format_string");t(this,"supported_shapes");t(this,"chart_group");"id"in e||(this.id=""),"name"in e||(this.name=""),"unit"in e||(this.unit=0),"icon"in e||(this.icon=""),"color_ranges"in e||(this.color_ranges=[]),"format_string"in e||(this.format_string=""),"supported_shapes"in e||(this.supported_shapes=[]),"chart_group"in e||(this.chart_group=""),Object.assign(this,e)}static createFrom(e={}){const s=fn,n=hn;let a=typeof e=="string"?JSON.parse(e):e;return"color_ranges"in a&&(a.color_ranges=s(a.color_ranges)),"supported_shapes"in a&&(a.supported_shapes=n(a.supported_shapes)),new k(a)}}class M{constructor(e={}){t(this,"time_series");t(this,"current_value");t(this,"aggregate_value");Object.assign(this,e)}static createFrom(e={}){const s=gn,n=_n,a=un;let r=typeof e=="string"?JSON.parse(e):e;return"time_series"in r&&(r.time_series=s(r.time_series)),"current_value"in r&&(r.current_value=n(r.current_value)),"aggregate_value"in r&&(r.aggregate_value=a(r.aggregate_value)),new M(r)}}var ct=(i=>(i[i.$zero=0]="$zero",i[i.ShapeCurrent=0]="ShapeCurrent",i[i.ShapeTimeseries=1]="ShapeTimeseries",i[i.ShapeAggregate=2]="ShapeAggregate",i))(ct||{}),ot=(i=>(i[i.$zero=0]="$zero",i[i.UnitNone=0]="UnitNone",i[i.UnitBytes=1]="UnitBytes",i[i.UnitKB=2]="UnitKB",i[i.UnitMB=3]="UnitMB",i[i.UnitGB=4]="UnitGB",i[i.UnitPercentage=5]="UnitPercentage",i[i.UnitMillis=6]="UnitMillis",i[i.UnitSeconds=7]="UnitSeconds",i[i.UnitCount=8]="UnitCount",i[i.UnitOpsPerSec=9]="UnitOpsPerSec",i[i.UnitBytesPerSec=10]="UnitBytesPerSec",i[i.UnitMillicores=11]="UnitMillicores",i[i.UnitCores=12]="UnitCores",i))(ot||{});class ye{constructor(e={}){t(this,"resource_key");t(this,"resource_id");t(this,"resource_namespace");t(this,"resource_data");t(this,"metric_ids");t(this,"shape");t(this,"start_time");t(this,"end_time");t(this,"step");t(this,"params");"resource_key"in e||(this.resource_key=""),"resource_id"in e||(this.resource_id=""),"resource_namespace"in e||(this.resource_namespace=""),"resource_data"in e||(this.resource_data={}),"metric_ids"in e||(this.metric_ids=[]),"shape"in e||(this.shape=0),"start_time"in e||(this.start_time="0001-01-01T00:00:00.000Z"),"end_time"in e||(this.end_time="0001-01-01T00:00:00.000Z"),"step"in e||(this.step=_.$zero),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const s=Sn,n=Fn,a=H;let r=typeof e=="string"?JSON.parse(e):e;return"resource_data"in r&&(r.resource_data=s(r.resource_data)),"metric_ids"in r&&(r.metric_ids=n(r.metric_ids)),"params"in r&&(r.params=a(r.params)),new ye(r)}}class _e{constructor(e={}){t(this,"success");t(this,"results");t(this,"error");"success"in e||(this.success=!1),"results"in e||(this.results=[]),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){const s=wn;let n=typeof e=="string"?JSON.parse(e):e;return"results"in n&&(n.results=s(n.results)),new _e(n)}}class D{constructor(e={}){t(this,"metric_id");t(this,"data_points");t(this,"labels");"metric_id"in e||(this.metric_id=""),"data_points"in e||(this.data_points=[]),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=Tn,n=H;let a=typeof e=="string"?JSON.parse(e):e;return"data_points"in a&&(a.data_points=s(a.data_points)),"labels"in a&&(a.labels=n(a.labels)),new D(a)}}const H=c.Map(c.Any,c.Any),ln=k.createFrom,pn=c.Array(ln),dn=I.createFrom,fn=c.Array(dn),hn=c.Array(c.Any),mn=D.createFrom,gn=c.Nullable(mn),yn=x.createFrom,_n=c.Nullable(yn),bn=R.createFrom,un=c.Nullable(bn),Sn=c.Map(c.Any,c.Any),Fn=c.Array(c.Any),On=M.createFrom,wn=c.Array(On),Nn=z.createFrom,Tn=c.Array(Nn),vn=Object.freeze(Object.defineProperty({__proto__:null,AggregateValue:R,ColorRange:I,CurrentValue:x,DataPoint:z,Handler:ge,MetricDescriptor:k,MetricResult:M,MetricShape:ct,MetricUnit:ot,QueryRequest:ye,QueryResponse:_e,TimeSeries:D},Symbol.toStringTag,{value:"Module"}));class be{constructor(e={}){t(this,"resource_id");t(this,"connection_id");"resource_id"in e||(this.resource_id=""),"connection_id"in e||(this.connection_id=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new be(s)}}var lt=(i=>(i.$zero="",i.PortForwardConnectionTypeResource="RESOURCE",i.PortForwardConnectionTypeStatic="STATIC",i))(lt||{}),pt=(i=>(i.$zero="",i.PortForwardProtocolTCP="TCP",i.PortForwardProtocolUDP="UDP",i))(pt||{});class ue{constructor(e={}){t(this,"created_at");t(this,"updated_at");t(this,"connection");t(this,"labels");t(this,"id");t(this,"protocol");t(this,"state");t(this,"connection_type");t(this,"encryption");t(this,"local_port");t(this,"remote_port");"created_at"in e||(this.created_at="0001-01-01T00:00:00.000Z"),"updated_at"in e||(this.updated_at="0001-01-01T00:00:00.000Z"),"connection"in e||(this.connection=null),"labels"in e||(this.labels={}),"id"in e||(this.id=""),"protocol"in e||(this.protocol=""),"state"in e||(this.state=""),"connection_type"in e||(this.connection_type=""),"encryption"in e||(this.encryption=new f),"local_port"in e||(this.local_port=0),"remote_port"in e||(this.remote_port=0),Object.assign(this,e)}static createFrom(e={}){const s=Ae,n=Ut;let a=typeof e=="string"?JSON.parse(e):e;return"labels"in a&&(a.labels=s(a.labels)),"encryption"in a&&(a.encryption=n(a.encryption)),new ue(a)}}class f{constructor(e={}){t(this,"algorithm");t(this,"key");t(this,"enabled");"algorithm"in e||(this.algorithm=""),"key"in e||(this.key=""),"enabled"in e||(this.enabled=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new f(s)}}class Se{constructor(e={}){t(this,"connection");t(this,"labels");t(this,"params");t(this,"protocol");t(this,"connection_type");t(this,"encryption");t(this,"local_port");t(this,"remote_port");"connection"in e||(this.connection=null),"labels"in e||(this.labels={}),"params"in e||(this.params={}),"protocol"in e||(this.protocol=""),"connection_type"in e||(this.connection_type=""),"encryption"in e||(this.encryption=new f),"local_port"in e||(this.local_port=0),"remote_port"in e||(this.remote_port=0),Object.assign(this,e)}static createFrom(e={}){const s=Ae,n=Ae,a=Ut;let r=typeof e=="string"?JSON.parse(e):e;return"labels"in r&&(r.labels=s(r.labels)),"params"in r&&(r.params=n(r.params)),"encryption"in r&&(r.encryption=a(r.encryption)),new Se(r)}}var dt=(i=>(i.$zero="",i.SessionStateActive="ACTIVE",i.SessionStatePaused="PAUSED",i.SessionStateStopped="STOPPED",i.SessionStateFailed="FAILED",i))(dt||{});const Ae=c.Map(c.Any,c.Any),Ut=f.createFrom,An=Object.freeze(Object.defineProperty({__proto__:null,FindPortForwardSessionRequest:be,PortForwardConnectionType:lt,PortForwardProtocol:pt,PortForwardSession:ue,PortForwardSessionEncryption:f,PortForwardSessionOptions:Se,SessionState:dt},Symbol.toStringTag,{value:"Module"}));class Fe{constructor(e={}){t(this,"plugin");"plugin"in e||(this.plugin=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Fe(s)}}class Oe{constructor(e={}){t(this,"plugin");t(this,"resource");t(this,"area");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"area"in e||(this.area=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Oe(s)}}class we{constructor(e={}){t(this,"plugin");t(this,"resource");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new we(s)}}class Ne{constructor(e={}){t(this,"owner");t(this,"name");t(this,"plugin");t(this,"resource");t(this,"area");t(this,"extension");"owner"in e||(this.owner=""),"name"in e||(this.name=""),"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"area"in e||(this.area=""),"extension"in e||(this.extension=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ne(s)}}var ft=(i=>(i.$zero="",i.ResourceComponentAreaSidebar="SIDEBAR",i.ResourceComponentAreaTable="TABLE",i))(ft||{});const jn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponentsInput:Fe,GetResourceAreaComponentInput:Oe,GetResourceComponentsInput:we,ResourceComponent:Ne,ResourceComponentArea:ft},Symbol.toStringTag,{value:"Module"}));class Te{constructor(e={}){t(this,"edge");t(this,"children");"edge"in e||(this.edge=new U),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const s=Bt,n=Kt;let a=typeof e=="string"?JSON.parse(e):e;return"edge"in a&&(a.edge=s(a.edge)),"children"in a&&(a.children=n(a.children)),new Te(a)}}class ht{constructor(e={}){t(this,"root");t(this,"children");"root"in e||(this.root=new p),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const s=F,n=Kt;let a=typeof e=="string"?JSON.parse(e):e;return"root"in a&&(a.root=s(a.root)),"children"in a&&(a.children=n(a.children)),new ht(a)}}class U{constructor(e={}){t(this,"source");t(this,"target");t(this,"type");t(this,"label");"source"in e||(this.source=new p),"target"in e||(this.target=new p),"type"in e||(this.type=Ze.$zero),"label"in e||(this.label=""),Object.assign(this,e)}static createFrom(e={}){const s=F,n=F;let a=typeof e=="string"?JSON.parse(e):e;return"source"in a&&(a.source=s(a.source)),"target"in a&&(a.target=n(a.target)),new U(a)}}class p{constructor(e={}){t(this,"pluginId");t(this,"connectionId");t(this,"resourceKey");t(this,"id");t(this,"namespace");"pluginId"in e||(this.pluginId=""),"connectionId"in e||(this.connectionId=""),"resourceKey"in e||(this.resourceKey=""),"id"in e||(this.id=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new p(s)}}class mt{constructor(e={}){t(this,"root");t(this,"nodes");t(this,"edges");t(this,"truncated");"root"in e||(this.root=new p),"nodes"in e||(this.nodes=[]),"edges"in e||(this.edges=[]),"truncated"in e||(this.truncated=!1),Object.assign(this,e)}static createFrom(e={}){const s=F,n=Pn,a=En;let r=typeof e=="string"?JSON.parse(e):e;return"root"in r&&(r.root=s(r.root)),"nodes"in r&&(r.nodes=n(r.nodes)),"edges"in r&&(r.edges=a(r.edges)),new mt(r)}}class ve{constructor(e={}){t(this,"node");t(this,"depth");"node"in e||(this.node=new p),"depth"in e||(this.depth=0),Object.assign(this,e)}static createFrom(e={}){const s=F;let n=typeof e=="string"?JSON.parse(e):e;return"node"in n&&(n.node=s(n.node)),new ve(n)}}const Bt=U.createFrom,Jn=Te.createFrom,Kt=c.Array(Jn),F=p.createFrom,Cn=ve.createFrom,Pn=c.Array(Cn),En=c.Array(Bt);exports.ActionDescriptor=Ee;exports.ActionInput=Re;exports.ActionResult=Ie;exports.ActionScope=Ft;exports.ActionTargetBuilder=le;exports.AggregateValue=R;exports.AvailablePlugin=G;exports.Capability=_t;exports.Category=K;exports.ColorRange=I;exports.ColumnDefinition=Y;exports.Connection=Q;exports.ConnectionAutoConnect=W;exports.ConnectionAutoConnectRetry=bt;exports.ConnectionAutoConnectTrigger=ut;exports.ConnectionLifecycle=J;exports.ConnectionStatus=Ce;exports.ConnectionStatusCode=St;exports.CreateInput=xe;exports.CreateResult=ze;exports.CreateSessionOptions=he;exports.CurrentValue=x;exports.DataPoint=z;exports.DeleteInput=ke;exports.DeleteResult=Me;exports.DependencyNode=Te;exports.DependencyTree=ht;exports.DownloadStats=q;exports.Duration=_;exports.EdgeDirection=Ot;exports.EditorSchema=De;exports.EventSeverity=wt;exports.FilterExpression=X;exports.FilterField=He;exports.FilterFieldType=Nt;exports.FilterLogic=Tt;exports.FilterOperator=vt;exports.FilterPredicate=$;exports.FindInput=Ue;exports.FindPortForwardSessionRequest=be;exports.FindResult=Be;exports.GetInput=Ke;exports.GetPluginComponentsInput=Fe;exports.GetResourceAreaComponentInput=Oe;exports.GetResourceComponentsInput=we;exports.GetResult=Ge;exports.GraphEdge=U;exports.GraphNode=p;exports.Handler=zt;exports.Handler$1=Mt;exports.Handler$2=ge;exports.HealthCondition=ee;exports.HealthStatus=At;exports.ListInput=Le;exports.ListResult=qe;exports.LogSession=me;exports.LogSessionOptions=d;exports.LogSessionStatus=st;exports.LogSource=E;exports.LogStreamCommand=at;exports.MetricDescriptor=k;exports.MetricResult=M;exports.MetricShape=ct;exports.MetricUnit=ot;exports.OrderField=te;exports.PaginationParams=b;exports.PluginAuthor=T;exports.PluginComponentArea=Je;exports.PluginComponents=h;exports.PluginInfo=Pe;exports.PluginMaintainer=v;exports.PluginMeta=m;exports.PluginResourceComponent=A;exports.PluginTheme=g;exports.PluginThemeColors=y;exports.PortForwardConnectionType=lt;exports.PortForwardProtocol=pt;exports.PortForwardSession=ue;exports.PortForwardSessionEncryption=f;exports.PortForwardSessionOptions=Se;exports.QueryRequest=ye;exports.QueryResponse=_e;exports.RelationshipDescriptor=C;exports.RelationshipExtractor=ie;exports.RelationshipType=Ze;exports.ResolvedRelationship=Ve;exports.ResourceCapabilities=Qe;exports.ResourceComponent=Ne;exports.ResourceComponentArea=ft;exports.ResourceDefinition=We;exports.ResourceEvent=Ye;exports.ResourceGroup=Xe;exports.ResourceHealth=$e;exports.ResourceLink=ne;exports.ResourceMeta=se;exports.ResourceRef=ae;exports.Review=Z;exports.ScaleHint=re;exports.ScaleLevel=jt;exports.Session=pe;exports.SessionOptions=de;exports.SessionState=dt;exports.Setting=O;exports.SettingFileSelection=w;exports.SettingOption=N;exports.SettingType=je;exports.StateIsolationProvenance=j;exports.Subgraph=mt;exports.SubgraphNode=ve;exports.TimeSeries=D;exports.UpdateInput=et;exports.UpdateResult=tt;exports.VersionInfo=V;exports.WatchConnectionSummary=it;exports.WatchScope=ce;exports.WatchState=Jt;exports.WatchStateEvent=nt;exports.models=mi;exports.models$1=tn;exports.models$2=on;exports.models$3=vn;exports.models$4=An;exports.models$5=ii;exports.models$6=_i;exports.models$7=jn;exports.models$8=bi;