@omniviewdev/runtime 0.10.0 → 0.12.0
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.
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +7 -6
- package/dist/api.js +205 -133
- package/dist/bindings/events/index.d.ts +20 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/models.d.ts +19 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +0 -20
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +3 -6
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -2
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +3 -15
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +5 -18
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +190 -9
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +34 -74
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/models.d.ts +178 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper.d.ts +30 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +27 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +809 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +94 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +16 -6
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +27 -17
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +47 -24
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +41 -20
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +16 -4
- package/dist/{calls-Bg_uMVc9.cjs → calls-B-HP1Icv.cjs} +1 -1
- package/dist/{calls-BvZkVSse.js → calls-DYGtxNJ6.js} +1 -0
- package/dist/compat/types.d.ts +1 -1
- package/dist/context/drawer/RightDrawerContext.d.ts +8 -4
- package/dist/context/drawer/types.d.ts +11 -21
- package/dist/context/operations/OperationsContext.d.ts +5 -5
- package/dist/exec.d.ts +5 -0
- package/dist/graph-JDqyJC_i.js +10 -0
- package/dist/graph-wHun0Bkz.cjs +1 -0
- package/dist/hooks/connection/index.d.ts +2 -1
- package/dist/hooks/connection/useConnection.d.ts +9 -30
- package/dist/hooks/connection/useConnectionProfiles.d.ts +7 -0
- package/dist/hooks/connection/useConnectionStatus.d.ts +8 -1
- package/dist/hooks/connection/useConnections.d.ts +3 -2
- package/dist/hooks/connection/useScopeValues.d.ts +9 -0
- package/dist/hooks/logs/useLogSession.d.ts +4 -1
- package/dist/hooks/metric/useMetricStream.d.ts +6 -2
- package/dist/hooks/metric/useResourceMetrics.d.ts +6 -2
- package/dist/hooks/networker/types.d.ts +5 -2
- package/dist/hooks/networker/useResourcePortForwarder.d.ts +1 -1
- package/dist/hooks/resource/useConnectionQueryGuard.d.ts +1 -1
- package/dist/hooks/resource/useDependencyTree.d.ts +4 -12
- package/dist/hooks/resource/useEditorSchemas.d.ts +12 -7
- package/dist/hooks/resource/useEventBatcher.d.ts +12 -47
- package/dist/hooks/resource/useRelatedResources.d.ts +6 -14
- package/dist/hooks/resource/useResolvedResourceTarget.d.ts +162 -0
- package/dist/hooks/resource/useResource.d.ts +7 -58
- package/dist/hooks/resource/useResourceActions.d.ts +9 -58
- package/dist/hooks/resource/useResourceGraph.d.ts +4 -12
- package/dist/hooks/resource/useResourceGroups.d.ts +5 -19
- package/dist/hooks/resource/useResourceMutations.d.ts +5 -61
- package/dist/hooks/resource/useResourceSearch.d.ts +5 -34
- package/dist/hooks/resource/useResourceType.d.ts +6 -19
- package/dist/hooks/resource/useResourceTypes.d.ts +5 -20
- package/dist/hooks/resource/useResources.d.ts +34 -60
- package/dist/hooks/resource/useStreamAction.d.ts +4 -8
- package/dist/hooks/resource/useWatchState.d.ts +15 -22
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +6 -1
- package/dist/index.js +2970 -2878
- package/dist/logs.d.ts +14 -0
- package/dist/metric.d.ts +35 -0
- package/dist/models-Cg1YRHQm.js +583 -0
- package/dist/models-DSGyy8lg.cjs +1 -0
- package/dist/models-UwESEW2B.js +1232 -0
- package/dist/models-dzj-SsFZ.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +13 -8
- package/dist/models.js +118 -209
- package/dist/networker.d.ts +31 -0
- package/dist/resource/v2/ancillary.d.ts +161 -0
- package/dist/resource/v2/client.d.ts +57 -0
- package/dist/resource/v2/domain.d.ts +204 -0
- package/dist/resource/v2/graph-client.d.ts +7 -0
- package/dist/resource/v2/graph.d.ts +35 -0
- package/dist/resource/v2/host.d.ts +129 -0
- package/dist/resource/v2/requestJSON.d.ts +2 -0
- package/dist/resource/v2/value.d.ts +9 -0
- package/dist/resourceQueryKeys.d.ts +8 -4
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +1 -1
- package/dist/search.d.ts +9 -11
- package/dist/servicewrapper-BOM6A8IG.cjs +1 -0
- package/dist/servicewrapper-Bda7yi8z.js +684 -0
- package/dist/types/watch.d.ts +48 -21
- package/dist/utils/activeSyncAggregator.d.ts +2 -2
- package/package.json +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +0 -2
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +0 -1199
- package/dist/compat/resource.d.ts +0 -4
- package/dist/hooks/connection/useConnectionNamespaces.d.ts +0 -21
- package/dist/legacyEnum-CKqyRmbX.js +0 -15
- package/dist/legacyEnum-DkV5yRdA.cjs +0 -1
- package/dist/models-BxypsesT.cjs +0 -1
- package/dist/models-C6jzDokQ.js +0 -347
- package/dist/models-CT4kHj47.js +0 -2444
- package/dist/models-DQl7tqts.cjs +0 -1
- package/dist/servicewrapper-C6SURWw1.js +0 -850
- package/dist/servicewrapper-COMjQHnY.cjs +0 -1
- package/dist/utils/resourceKey.d.ts +0 -12
package/dist/models-DQl7tqts.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("./index-BVi9X4oU.cjs");let B=class yt{label;label_selector;paths;selectors;constructor(e={}){"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 n=L,i=b;let s=typeof e=="string"?JSON.parse(e):e;return"paths"in s&&(s.paths=n(s.paths)),"selectors"in s&&(s.selectors=i(s.selectors)),new yt(s)}},_t=class bt{plugin;resource;target_builder;default_command;constructor(e={}){"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"target_builder"in e||(this.target_builder=new B),"default_command"in e||(this.default_command=[]),Object.assign(this,e)}static createFrom(e={}){const n=Zt,i=L;let s=typeof e=="string"?JSON.parse(e):e;return"target_builder"in s&&(s.target_builder=n(s.target_builder)),"default_command"in s&&(s.default_command=i(s.default_command)),new bt(s)}};class K{created_at;labels;params;id;command;attached;constructor(e={}){"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 n=b,i=b,s=L;let a=typeof e=="string"?JSON.parse(e):e;return"labels"in a&&(a.labels=n(a.labels)),"params"in a&&(a.params=i(a.params)),"command"in a&&(a.command=s(a.command)),new K(a)}}class G{params;labels;id;resource_plugin;resource_key;resource_data;command;tty;constructor(e={}){"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 n=b,i=b,s=Vt,a=L;let c=typeof e=="string"?JSON.parse(e):e;return"params"in c&&(c.params=n(c.params)),"labels"in c&&(c.labels=i(c.labels)),"resource_data"in c&&(c.resource_data=s(c.resource_data)),"command"in c&&(c.command=a(c.command)),new G(c)}}const L=r.Array(r.Any),b=r.Map(r.Any,r.Any),Zt=B.createFrom,Vt=r.Map(r.Any,r.Any),Qt=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:B,Handler:_t,Session:K,SessionOptions:G},Symbol.toStringTag,{value:"Module"}));class q{resource_id;connection_id;constructor(e={}){"resource_id"in e||(this.resource_id=""),"connection_id"in e||(this.connection_id=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new q(n)}}var je=(t=>(t.$zero="",t.PortForwardConnectionTypeResource="RESOURCE",t.PortForwardConnectionTypeStatic="STATIC",t))(je||{}),Je=(t=>(t.$zero="",t.PortForwardProtocolTCP="TCP",t.PortForwardProtocolUDP="UDP",t))(Je||{});class Z{created_at;updated_at;connection;labels;id;protocol;state;connection_type;encryption;local_port;remote_port;constructor(e={}){"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 p),"local_port"in e||(this.local_port=0),"remote_port"in e||(this.remote_port=0),Object.assign(this,e)}static createFrom(e={}){const n=Ae,i=St;let s=typeof e=="string"?JSON.parse(e):e;return"labels"in s&&(s.labels=n(s.labels)),"encryption"in s&&(s.encryption=i(s.encryption)),new Z(s)}}class p{algorithm;key;enabled;constructor(e={}){"algorithm"in e||(this.algorithm=""),"key"in e||(this.key=""),"enabled"in e||(this.enabled=!1),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new p(n)}}class V{connection;labels;params;protocol;connection_type;encryption;local_port;remote_port;constructor(e={}){"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 p),"local_port"in e||(this.local_port=0),"remote_port"in e||(this.remote_port=0),Object.assign(this,e)}static createFrom(e={}){const n=Ae,i=Ae,s=St;let a=typeof e=="string"?JSON.parse(e):e;return"labels"in a&&(a.labels=n(a.labels)),"params"in a&&(a.params=i(a.params)),"encryption"in a&&(a.encryption=s(a.encryption)),new V(a)}}var Ce=(t=>(t.$zero="",t.SessionStateActive="ACTIVE",t.SessionStatePaused="PAUSED",t.SessionStateStopped="STOPPED",t.SessionStateFailed="FAILED",t))(Ce||{});const Ae=r.Map(r.Any,r.Any),St=p.createFrom,Wt=Object.freeze(Object.defineProperty({__proto__:null,FindPortForwardSessionRequest:q,PortForwardConnectionType:je,PortForwardProtocol:Je,PortForwardSession:Z,PortForwardSessionEncryption:p,PortForwardSessionOptions:V,SessionState:Ce},Symbol.toStringTag,{value:"Module"}));class Q{id;name;description;icon_url;category;tags;license;official;featured;download_count;average_rating;review_count;repository;url;publisher_name;installed;installed_version;latest_version;update_available;constructor(e={}){"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 n=ut;let i=typeof e=="string"?JSON.parse(e):e;return"tags"in i&&(i.tags=n(i.tags)),new Q(i)}}class W{date;count;constructor(e={}){"date"in e||(this.date=""),"count"in e||(this.count=0),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new W(n)}}class Y{total;last_month;last_week;daily_stats;constructor(e={}){"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 n=Xt;let i=typeof e=="string"?JSON.parse(e):e;return"daily_stats"in i&&(i.daily_stats=n(i.daily_stats)),new Y(i)}}class X{id;user_id;rating;title;body;created_at;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new X(n)}}class ${version;description;changelog;min_ide_version;max_ide_version;capabilities;created_at;constructor(e={}){"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 n=ut;let i=typeof e=="string"?JSON.parse(e):e;return"capabilities"in i&&(i.capabilities=n(i.capabilities)),new $(i)}}const ut=r.Array(r.Any),Yt=W.createFrom,Xt=r.Array(Yt),$t=Object.freeze(Object.defineProperty({__proto__:null,AvailablePlugin:Q,DailyStat:W,DownloadStats:Y,Review:X,VersionInfo:$},Symbol.toStringTag,{value:"Module"}));class F{name;email;url;constructor(e={}){"name"in e||(this.name=""),"email"in e||(this.email=""),"url"in e||(this.url=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new F(n)}}var Pe=(t=>(t.$zero="",t.PluginComponentAreaEditor="EDITOR",t.PluginComponentAreaSidebar="SIDEBAR",t))(Pe||{});class f{resource;constructor(e={}){"resource"in e||(this.resource=[]),Object.assign(this,e)}static createFrom(e={}){const n=ti;let i=typeof e=="string"?JSON.parse(e):e;return"resource"in i&&(i.resource=n(i.resource)),new f(i)}}class O{name;email;constructor(e={}){"name"in e||(this.name=""),"email"in e||(this.email=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new O(n)}}class h{id;version;name;icon;icon_url;description;repository;website;category;license;author;maintainers;tags;dependencies;capabilities;theme;components;schema_version;sdk_protocol_version;state_isolation;constructor(e={}){"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 m),"components"in e||(this.components=new f),"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 n=ni,i=ai,s=U,a=U,c=U,Gt=ri,Lt=ci,qt=li;let o=typeof e=="string"?JSON.parse(e):e;return"author"in o&&(o.author=n(o.author)),"maintainers"in o&&(o.maintainers=i(o.maintainers)),"tags"in o&&(o.tags=s(o.tags)),"dependencies"in o&&(o.dependencies=a(o.dependencies)),"capabilities"in o&&(o.capabilities=c(o.capabilities)),"theme"in o&&(o.theme=Gt(o.theme)),"components"in o&&(o.components=Lt(o.components)),"state_isolation"in o&&(o.state_isolation=qt(o.state_isolation)),new h(o)}}class w{name;plugin;area;resources;extension;constructor(e={}){"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 n=U;let i=typeof e=="string"?JSON.parse(e):e;return"resources"in i&&(i.resources=n(i.resources)),new w(i)}}class m{colors;constructor(e={}){"colors"in e||(this.colors=new g),Object.assign(this,e)}static createFrom(e={}){const n=pi;let i=typeof e=="string"?JSON.parse(e):e;return"colors"in i&&(i.colors=n(i.colors)),new m(i)}}class g{primary;secondary;tertiary;constructor(e={}){"primary"in e||(this.primary=""),"secondary"in e||(this.secondary=""),"tertiary"in e||(this.tertiary=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new g(n)}}class v{schema_version;capability;sdk_module;sdk_revision;sdk_source_sha256;binary_sha256;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new v(n)}}const ei=w.createFrom,ti=r.Array(ei),ii=F.createFrom,ni=r.Nullable(ii),si=O.createFrom,ai=r.Array(si),U=r.Array(r.Any),ri=m.createFrom,ci=f.createFrom,oi=v.createFrom,li=r.Nullable(oi),pi=g.createFrom,di=Object.freeze(Object.defineProperty({__proto__:null,PluginAuthor:F,PluginComponentArea:Pe,PluginComponents:f,PluginMaintainer:O,PluginMeta:h,PluginResourceComponent:w,PluginTheme:m,PluginThemeColors:g,StateIsolationProvenance:v},Symbol.toStringTag,{value:"Module"}));var y=(t=>(t[t.$zero=0]="$zero",t[t.minDuration=-9223372036854776e3]="minDuration",t[t.maxDuration=9223372036854776e3]="maxDuration",t[t.Nanosecond=1]="Nanosecond",t[t.Microsecond=1e3]="Microsecond",t[t.Millisecond=1e6]="Millisecond",t[t.Second=1e9]="Second",t[t.Minute=6e10]="Minute",t[t.Hour=36e11]="Hour",t))(y||{});const fi=Object.freeze(Object.defineProperty({__proto__:null,Duration:y},Symbol.toStringTag,{value:"Module"}));var Ft=(t=>(t.$zero="",t.CapabilityResource="resource",t.CapabilityExec="exec",t.CapabilityNetworker="networker",t.CapabilityLog="log",t.CapabilityMetric="metric",t.CapabilitySettings="settings",t.CapabilityUI="ui",t))(Ft||{});class ee{last_refresh;data;labels;lifecycle;id;uid;name;description;avatar;expiry_time;Client;constructor(e={}){"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 N),"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=y.$zero),"Client"in e||(this.Client=null),Object.assign(this,e)}static createFrom(e={}){const n=gt,i=gt,s=hi;let a=typeof e=="string"?JSON.parse(e):e;return"data"in a&&(a.data=n(a.data)),"labels"in a&&(a.labels=i(a.labels)),"lifecycle"in a&&(a.lifecycle=s(a.lifecycle)),new ee(a)}}class te{enabled;triggers;retry;constructor(e={}){"enabled"in e||(this.enabled=!1),"triggers"in e||(this.triggers=[]),"retry"in e||(this.retry=""),Object.assign(this,e)}static createFrom(e={}){const n=mi;let i=typeof e=="string"?JSON.parse(e):e;return"triggers"in i&&(i.triggers=n(i.triggers)),new te(i)}}var Ot=(t=>(t.$zero="",t.ConnectionAutoConnectRetryNone="NONE",t.ConnectionAutoConnectRetryOnChange="ON_CHANGE",t))(Ot||{}),wt=(t=>(t.$zero="",t.ConnectionAutoConnectTriggerPluginStart="PLUGIN_START",t.ConnectionAutoConnectTriggerConnectionDiscovered="CONNECTION_DISCOVERED",t))(wt||{});class N{auto_connect;constructor(e={}){Object.assign(this,e)}static createFrom(e={}){const n=yi;let i=typeof e=="string"?JSON.parse(e):e;return"auto_connect"in i&&(i.auto_connect=n(i.auto_connect)),new N(i)}}class Ee{connection;status;error;details;constructor(e={}){"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 n=bi;let i=typeof e=="string"?JSON.parse(e):e;return"connection"in i&&(i.connection=n(i.connection)),new Ee(i)}}var vt=(t=>(t.$zero="",t.ConnectionStatusUnknown="UNKNOWN",t.ConnectionStatusConnected="CONNECTED",t.ConnectionStatusDisconnected="DISCONNECTED",t.ConnectionStatusPending="PENDING",t.ConnectionStatusFailed="FAILED",t.ConnectionStatusError="ERROR",t.ConnectionStatusUnauthorized="UNAUTHORIZED",t.ConnectionStatusForbidden="FORBIDDEN",t.ConnectionStatusBadRequest="BAD_REQUEST",t.ConnectionStatusNotFound="NOT_FOUND",t.ConnectionStatusTimeout="TIMEOUT",t.ConnectionStatusUnavailable="UNAVAILABLE",t.ConnectionStatusRequestEntityTooLarge="REQUEST_ENTITY_TOO_LARGE",t))(vt||{});class Re{id;metadata;phase;enabled;devMode;devPath;capabilities;lastError;constructor(e={}){"id"in e||(this.id=""),"metadata"in e||(this.metadata=new h),"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 n=Si,i=ui;let s=typeof e=="string"?JSON.parse(e):e;return"metadata"in s&&(s.metadata=n(s.metadata)),"capabilities"in s&&(s.capabilities=i(s.capabilities)),new Re(s)}}const gt=r.Map(r.Any,r.Any),hi=N.createFrom,mi=r.Array(r.Any),gi=te.createFrom,yi=r.Nullable(gi),_i=ee.createFrom,bi=r.Nullable(_i),Si=h.createFrom,ui=r.Array(r.Any);class Ie{id;label;description;icon;scope;streaming;paramsSchema;outputSchema;dangerous;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new Ie(n)}}class xe{id;namespace;params;constructor(e={}){"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const n=It;let i=typeof e=="string"?JSON.parse(e):e;return"params"in i&&(i.params=n(i.params)),new xe(i)}}class ze{success;data;message;constructor(e={}){"success"in e||(this.success=!1),"data"in e||(this.data={}),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const n=It;let i=typeof e=="string"?JSON.parse(e):e;return"data"in i&&(i.data=n(i.data)),new ze(i)}}var Nt=(t=>(t.$zero="",t.ActionScopeInstance="instance",t.ActionScopeType="type",t))(Nt||{});class ie{id;header;accessor;accessorPriority;colorMap;color;align;hidden;width;formatter;component;componentParams;resourceLink;valueMap;constructor(e={}){"id"in e||(this.id=""),"header"in e||(this.header=""),"accessor"in e||(this.accessor=""),Object.assign(this,e)}static createFrom(e={}){const n=S,i=Oi,s=S;let a=typeof e=="string"?JSON.parse(e):e;return"colorMap"in a&&(a.colorMap=n(a.colorMap)),"resourceLink"in a&&(a.resourceLink=i(a.resourceLink)),"valueMap"in a&&(a.valueMap=s(a.valueMap)),new ie(a)}}class ke{input;namespace;constructor(e={}){"input"in e||(this.input=null),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new ke(n)}}class Me{result;success;constructor(e={}){"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new Me(n)}}class De{id;namespace;gracePeriodSeconds;constructor(e={}){"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new De(n)}}class He{result;success;constructor(e={}){"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new He(n)}}var Tt=(t=>(t.$zero="",t.EdgeOutgoing="",t.EdgeIncoming="incoming",t))(Tt||{});class Ue{resourceKey;fileMatch;uri;url;content;language;constructor(e={}){"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 n=r.ByteSlice;let i=typeof e=="string"?JSON.parse(e):e;return"content"in i&&(i.content=n(i.content)),new Ue(i)}}var At=(t=>(t.$zero="",t.SeverityNormal="normal",t.SeverityWarning="warning",t.SeverityError="error",t))(At||{});class ne{logic;predicates;groups;constructor(e={}){Object.assign(this,e)}static createFrom(e={}){const n=vi,i=Ni;let s=typeof e=="string"?JSON.parse(e):e;return"predicates"in s&&(s.predicates=n(s.predicates)),"groups"in s&&(s.groups=i(s.groups)),new ne(s)}}class Be{path;displayName;description;type;operators;allowedValues;required;constructor(e={}){"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 n=Ti,i=he;let s=typeof e=="string"?JSON.parse(e):e;return"operators"in s&&(s.operators=n(s.operators)),"allowedValues"in s&&(s.allowedValues=i(s.allowedValues)),new Be(s)}}var jt=(t=>(t.$zero="",t.FilterFieldString="string",t.FilterFieldInt="integer",t.FilterFieldFloat="number",t.FilterFieldBool="boolean",t.FilterFieldTime="datetime",t.FilterFieldEnum="enum",t.FilterFieldMap="map",t))(jt||{}),Jt=(t=>(t.$zero="",t.FilterAnd="and",t.FilterOr="or",t))(Jt||{}),Ct=(t=>(t.$zero="",t.OpEqual="eq",t.OpNotEqual="neq",t.OpGreaterThan="gt",t.OpGreaterOrEqual="gte",t.OpLessThan="lt",t.OpLessOrEqual="lte",t.OpContains="contains",t.OpPrefix="prefix",t.OpSuffix="suffix",t.OpRegex="regex",t.OpIn="in",t.OpNotIn="notin",t.OpExists="exists",t.OpNotExists="notexists",t.OpHasKey="haskey",t))(Ct||{});class se{field;operator;value;constructor(e={}){"field"in e||(this.field=""),"operator"in e||(this.operator=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new se(n)}}class Ke{filters;textQuery;namespaces;order;pagination;constructor(e={}){"namespaces"in e||(this.namespaces=[]),"order"in e||(this.order=[]),"pagination"in e||(this.pagination=new _),Object.assign(this,e)}static createFrom(e={}){const n=Ai,i=he,s=zt,a=kt;let c=typeof e=="string"?JSON.parse(e):e;return"filters"in c&&(c.filters=n(c.filters)),"namespaces"in c&&(c.namespaces=i(c.namespaces)),"order"in c&&(c.order=s(c.order)),"pagination"in c&&(c.pagination=a(c.pagination)),new Ke(c)}}class Ge{result;success;totalCount;nextCursor;constructor(e={}){"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 n=Mt;let i=typeof e=="string"?JSON.parse(e):e;return"result"in i&&(i.result=n(i.result)),new Ge(i)}}class Le{id;namespace;constructor(e={}){"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new Le(n)}}class qe{result;success;constructor(e={}){"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new qe(n)}}class ae{type;status;reason;message;lastProbeTime;lastTransitionTime;constructor(e={}){"type"in e||(this.type=""),"status"in e||(this.status=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new ae(n)}}var Pt=(t=>(t.$zero="",t.HealthHealthy="healthy",t.HealthDegraded="degraded",t.HealthUnhealthy="unhealthy",t.HealthPending="pending",t.HealthUnknown="unknown",t))(Pt||{});class Ze{namespaces;order;pagination;constructor(e={}){"namespaces"in e||(this.namespaces=[]),"order"in e||(this.order=[]),"pagination"in e||(this.pagination=new _),Object.assign(this,e)}static createFrom(e={}){const n=he,i=zt,s=kt;let a=typeof e=="string"?JSON.parse(e):e;return"namespaces"in a&&(a.namespaces=n(a.namespaces)),"order"in a&&(a.order=i(a.order)),"pagination"in a&&(a.pagination=s(a.pagination)),new Ze(a)}}class Ve{result;success;totalCount;nextCursor;constructor(e={}){"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 n=Mt;let i=typeof e=="string"?JSON.parse(e):e;return"result"in i&&(i.result=n(i.result)),new Ve(i)}}class re{field;descending;constructor(e={}){"field"in e||(this.field=""),"descending"in e||(this.descending=!1),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new re(n)}}class _{page;pageSize;cursor;constructor(e={}){"page"in e||(this.page=0),"pageSize"in e||(this.pageSize=0),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new _(n)}}class T{type;targetResourceKey;label;inverseLabel;cardinality;direction;extractor;targetNamespaced;constructor(e={}){"type"in e||(this.type=""),"targetResourceKey"in e||(this.targetResourceKey=""),"label"in e||(this.label=""),Object.assign(this,e)}static createFrom(e={}){const n=Ci;let i=typeof e=="string"?JSON.parse(e):e;return"extractor"in i&&(i.extractor=n(i.extractor)),new T(i)}}class ce{method;fieldPath;labelSelector;constructor(e={}){"method"in e||(this.method=""),Object.assign(this,e)}static createFrom(e={}){const n=S;let i=typeof e=="string"?JSON.parse(e):e;return"labelSelector"in i&&(i.labelSelector=n(i.labelSelector)),new ce(i)}}var Qe=(t=>(t.$zero="",t.RelOwns="owns",t.RelRunsOn="runs_on",t.RelUses="uses",t.RelExposes="exposes",t.RelManages="manages",t.RelMemberOf="member_of",t.RelSelects="selects",t))(Qe||{});class We{descriptor;targets;constructor(e={}){"descriptor"in e||(this.descriptor=new T),"targets"in e||(this.targets=[]),Object.assign(this,e)}static createFrom(e={}){const n=Pi,i=Ri;let s=typeof e=="string"?JSON.parse(e):e;return"descriptor"in s&&(s.descriptor=n(s.descriptor)),"targets"in s&&(s.targets=i(s.targets)),new We(s)}}class Ye{canGet;canList;canFind;canCreate;canUpdate;canDelete;watchable;filterable;searchable;hasActions;hasSchema;namespaceScoped;hasRelationships;hasHealth;hasEvents;scaleHint;constructor(e={}){"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 n=xi;let i=typeof e=="string"?JSON.parse(e):e;return"scaleHint"in i&&(i.scaleHint=n(i.scaleHint)),new Ye(i)}}class Xe{id_accessor;namespace_accessor;memoizer_accessor;columnDefs;constructor(e={}){"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 n=ki;let i=typeof e=="string"?JSON.parse(e):e;return"columnDefs"in i&&(i.columnDefs=n(i.columnDefs)),new Xe(i)}}class $e{type;reason;message;source;count;firstSeen;lastSeen;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new $e(n)}}class et{id;name;description;icon;resources;constructor(e={}){"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 n=Hi;let i=typeof e=="string"?JSON.parse(e):e;return"resources"in i&&(i.resources=n(i.resources)),new et(i)}}class tt{status;reason;message;since;conditions;constructor(e={}){"status"in e||(this.status=""),Object.assign(this,e)}static createFrom(e={}){const n=Bi;let i=typeof e=="string"?JSON.parse(e):e;return"conditions"in i&&(i.conditions=n(i.conditions)),new tt(i)}}class oe{idAccessor;namespaceAccessor;namespaced;resourceKey;keyAccessor;keyMap;detailExtractors;displayId;constructor(e={}){"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 n=S,i=S;let s=typeof e=="string"?JSON.parse(e):e;return"keyMap"in s&&(s.keyMap=n(s.keyMap)),"detailExtractors"in s&&(s.detailExtractors=i(s.detailExtractors)),new oe(s)}}class le{group;version;kind;label;icon;description;category;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new le(n)}}class pe{pluginId;connectionId;resourceKey;id;namespace;displayName;constructor(e={}){"connectionId"in e||(this.connectionId=""),"resourceKey"in e||(this.resourceKey=""),"id"in e||(this.id=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new pe(n)}}class de{level;expectedCount;defaultPageSize;constructor(e={}){"level"in e||(this.level=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new de(n)}}var Et=(t=>(t.$zero="",t.ScaleFew="few",t.ScaleModerate="moderate",t.ScaleMany="many",t))(Et||{});class it{input;id;namespace;constructor(e={}){"input"in e||(this.input=null),"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new it(n)}}class nt{result;success;constructor(e={}){"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new nt(n)}}class st{connectionId;resources;resourceCounts;scope;constructor(e={}){"connectionId"in e||(this.connectionId=""),"resources"in e||(this.resources={}),"resourceCounts"in e||(this.resourceCounts={}),Object.assign(this,e)}static createFrom(e={}){const n=Ki,i=Gi,s=qi;let a=typeof e=="string"?JSON.parse(e):e;return"resources"in a&&(a.resources=n(a.resources)),"resourceCounts"in a&&(a.resourceCounts=i(a.resourceCounts)),"scope"in a&&(a.scope=s(a.scope)),new st(a)}}class fe{partitions;constructor(e={}){Object.assign(this,e)}static createFrom(e={}){const n=he;let i=typeof e=="string"?JSON.parse(e):e;return"partitions"in i&&(i.partitions=n(i.partitions)),new fe(i)}}var Rt=(t=>(t[t.$zero=0]="$zero",t[t.WatchStateIdle=0]="WatchStateIdle",t[t.WatchStateSyncing=1]="WatchStateSyncing",t[t.WatchStateSynced=2]="WatchStateSynced",t[t.WatchStateError=3]="WatchStateError",t[t.WatchStateStopped=4]="WatchStateStopped",t[t.WatchStateFailed=5]="WatchStateFailed",t[t.WatchStateForbidden=6]="WatchStateForbidden",t[t.WatchStateSkipped=7]="WatchStateSkipped",t))(Rt||{});class at{pluginId;connection;resourceKey;state;message;resourceCount;errorCode;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new at(n)}}const It=r.Map(r.Any,r.Any),S=r.Map(r.Any,r.Any),Fi=oe.createFrom,Oi=r.Nullable(Fi),wi=se.createFrom,vi=r.Array(wi),xt=ne.createFrom,Ni=r.Array(xt),Ti=r.Array(r.Any),he=r.Array(r.Any),Ai=r.Nullable(xt),ji=re.createFrom,zt=r.Array(ji),kt=_.createFrom,Mt=r.Array(r.Any),Ji=ce.createFrom,Ci=r.Nullable(Ji),Pi=T.createFrom,Ei=pe.createFrom,Ri=r.Array(Ei),Ii=de.createFrom,xi=r.Nullable(Ii),zi=ie.createFrom,ki=r.Array(zi),Mi=le.createFrom,Di=r.Array(Mi),Hi=r.Map(r.Any,Di),Ui=ae.createFrom,Bi=r.Array(Ui),Ki=r.Map(r.Any,r.Any),Gi=r.Map(r.Any,r.Any),Li=fe.createFrom,qi=r.Nullable(Li);class me{edge;children;constructor(e={}){"edge"in e||(this.edge=new A),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const n=Dt,i=Ht;let s=typeof e=="string"?JSON.parse(e):e;return"edge"in s&&(s.edge=n(s.edge)),"children"in s&&(s.children=i(s.children)),new me(s)}}class rt{root;children;constructor(e={}){"root"in e||(this.root=new l),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const n=u,i=Ht;let s=typeof e=="string"?JSON.parse(e):e;return"root"in s&&(s.root=n(s.root)),"children"in s&&(s.children=i(s.children)),new rt(s)}}class A{source;target;type;label;constructor(e={}){"source"in e||(this.source=new l),"target"in e||(this.target=new l),"type"in e||(this.type=Qe.$zero),"label"in e||(this.label=""),Object.assign(this,e)}static createFrom(e={}){const n=u,i=u;let s=typeof e=="string"?JSON.parse(e):e;return"source"in s&&(s.source=n(s.source)),"target"in s&&(s.target=i(s.target)),new A(s)}}class l{pluginId;connectionId;resourceKey;id;namespace;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new l(n)}}class ct{root;nodes;edges;truncated;constructor(e={}){"root"in e||(this.root=new l),"nodes"in e||(this.nodes=[]),"edges"in e||(this.edges=[]),"truncated"in e||(this.truncated=!1),Object.assign(this,e)}static createFrom(e={}){const n=u,i=Qi,s=Wi;let a=typeof e=="string"?JSON.parse(e):e;return"root"in a&&(a.root=n(a.root)),"nodes"in a&&(a.nodes=i(a.nodes)),"edges"in a&&(a.edges=s(a.edges)),new ct(a)}}class ge{node;depth;constructor(e={}){"node"in e||(this.node=new l),"depth"in e||(this.depth=0),Object.assign(this,e)}static createFrom(e={}){const n=u;let i=typeof e=="string"?JSON.parse(e):e;return"node"in i&&(i.node=n(i.node)),new ge(i)}}const Dt=A.createFrom,Zi=me.createFrom,Ht=r.Array(Zi),u=l.createFrom,Vi=ge.createFrom,Qi=r.Array(Vi),Wi=r.Array(Dt);class ye{settings;id;label;description;icon;constructor(e={}){"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 n=Xi;let i=typeof e=="string"?JSON.parse(e):e;return"settings"in i&&(i.settings=n(i.settings)),new ye(i)}}class j{id;label;description;type;value;default;options;fileSelection;sensitive;devOnly;constructor(e={}){"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 n=en,i=nn;let s=typeof e=="string"?JSON.parse(e):e;return"options"in s&&(s.options=n(s.options)),"fileSelection"in s&&(s.fileSelection=i(s.fileSelection)),new j(s)}}class J{enabled;allowFolders;extensions;multiple;relative;defaultPath;constructor(e={}){"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 n=sn;let i=typeof e=="string"?JSON.parse(e):e;return"extensions"in i&&(i.extensions=n(i.extensions)),new J(i)}}class C{label;description;value;constructor(e={}){"label"in e||(this.label=""),"description"in e||(this.description=""),"value"in e||(this.value=null),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new C(n)}}var ot=(t=>(t.$zero="",t.Text="text",t.Select="select",t.MultiSelect="multiselect",t.Integer="integer",t.Float="float",t.Toggle="toggle",t.Color="color",t.DateTime="datetime",t.Password="password",t))(ot||{});class _e{valid;code;message;constructor(e={}){"valid"in e||(this.valid=!1),"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new _e(n)}}const Yi=j.createFrom,Xi=r.Map(r.Any,Yi),$i=C.createFrom,en=r.Array($i),tn=J.createFrom,nn=r.Nullable(tn),sn=r.Array(r.Any),an=Object.freeze(Object.defineProperty({__proto__:null,Category:ye,Setting:j,SettingFileSelection:J,SettingOption:C,SettingType:ot,ValidationResult:_e},Symbol.toStringTag,{value:"Module"}));class be{plugin;constructor(e={}){"plugin"in e||(this.plugin=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new be(n)}}class Se{plugin;resource;area;constructor(e={}){"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"area"in e||(this.area=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new Se(n)}}class ue{plugin;resource;constructor(e={}){"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),Object.assign(this,e)}static createFrom(e={}){let n=typeof e=="string"?JSON.parse(e):e;return new ue(n)}}class Fe{owner;name;plugin;resource;area;extension;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new Fe(n)}}var lt=(t=>(t.$zero="",t.ResourceComponentAreaSidebar="SIDEBAR",t.ResourceComponentAreaTable="TABLE",t))(lt||{});const rn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponentsInput:be,GetResourceAreaComponentInput:Se,GetResourceComponentsInput:ue,ResourceComponent:Fe,ResourceComponentArea:lt},Symbol.toStringTag,{value:"Module"}));class P{label;label_selector;paths;selectors;constructor(e={}){"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 n=cn,i=ft;let s=typeof e=="string"?JSON.parse(e):e;return"paths"in s&&(s.paths=n(s.paths)),"selectors"in s&&(s.selectors=i(s.selectors)),new P(s)}}class Oe{resource_key;resource_id;resource_data;options;constructor(e={}){"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 n=on,i=Kt;let s=typeof e=="string"?JSON.parse(e):e;return"resource_data"in s&&(s.resource_data=n(s.resource_data)),"options"in s&&(s.options=i(s.options)),new Oe(s)}}let Ut=class Bt{plugin;resource;target_builder;constructor(e={}){"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 n=ln;let i=typeof e=="string"?JSON.parse(e):e;return"target_builder"in i&&(i.target_builder=n(i.target_builder)),new Bt(i)}};class we{id;plugin_id;connection_id;resource_key;resource_id;options;status;active_sources;created_at;constructor(e={}){"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 n=Kt,i=dn;let s=typeof e=="string"?JSON.parse(e):e;return"options"in s&&(s.options=n(s.options)),"active_sources"in s&&(s.active_sources=i(s.active_sources)),new we(s)}}class d{target;follow;include_previous;include_timestamps;tail_lines;since_seconds;since_time;limit_bytes;include_source_events;params;constructor(e={}){"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 n=ft;let i=typeof e=="string"?JSON.parse(e):e;return"params"in i&&(i.params=n(i.params)),new d(i)}}var pt=(t=>(t[t.$zero=0]="$zero",t[t.LogSessionStatusActive=0]="LogSessionStatusActive",t[t.LogSessionStatusPaused=1]="LogSessionStatusPaused",t[t.LogSessionStatusClosed=2]="LogSessionStatusClosed",t[t.LogSessionStatusError=3]="LogSessionStatusError",t[t.LogSessionStatusConnecting=4]="LogSessionStatusConnecting",t[t.LogSessionStatusInitializing=5]="LogSessionStatusInitializing",t))(pt||{});class E{id;labels;constructor(e={}){"id"in e||(this.id=""),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const n=ft;let i=typeof e=="string"?JSON.parse(e):e;return"labels"in i&&(i.labels=n(i.labels)),new E(i)}}var dt=(t=>(t[t.$zero=0]="$zero",t[t.StreamCommandPause=0]="StreamCommandPause",t[t.StreamCommandResume=1]="StreamCommandResume",t[t.StreamCommandClose=2]="StreamCommandClose",t))(dt||{});const cn=r.Array(r.Any),ft=r.Map(r.Any,r.Any),on=r.Map(r.Any,r.Any),Kt=d.createFrom,ln=P.createFrom,pn=E.createFrom,dn=r.Array(pn),fn=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:P,CreateSessionOptions:Oe,Handler:Ut,LogSession:we,LogSessionOptions:d,LogSessionStatus:pt,LogSource:E,LogStreamCommand:dt},Symbol.toStringTag,{value:"Module"}));class R{metric_id;min;max;avg;sum;p50;p90;p99;count;window;labels;constructor(e={}){"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=y.$zero),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const n=H;let i=typeof e=="string"?JSON.parse(e):e;return"labels"in i&&(i.labels=n(i.labels)),new R(i)}}class I{min;max;color;constructor(e={}){"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 n=typeof e=="string"?JSON.parse(e):e;return new I(n)}}class x{metric_id;value;timestamp;labels;constructor(e={}){"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 n=H;let i=typeof e=="string"?JSON.parse(e):e;return"labels"in i&&(i.labels=n(i.labels)),new x(i)}}class z{timestamp;value;labels;constructor(e={}){"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 n=H;let i=typeof e=="string"?JSON.parse(e):e;return"labels"in i&&(i.labels=n(i.labels)),new z(i)}}class ve{resource;metrics;constructor(e={}){"resource"in e||(this.resource=""),"metrics"in e||(this.metrics=[]),Object.assign(this,e)}static createFrom(e={}){const n=mn;let i=typeof e=="string"?JSON.parse(e):e;return"metrics"in i&&(i.metrics=n(i.metrics)),new ve(i)}}class k{id;name;unit;icon;color_ranges;format_string;supported_shapes;chart_group;constructor(e={}){"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 n=yn,i=_n;let s=typeof e=="string"?JSON.parse(e):e;return"color_ranges"in s&&(s.color_ranges=n(s.color_ranges)),"supported_shapes"in s&&(s.supported_shapes=i(s.supported_shapes)),new k(s)}}class M{time_series;current_value;aggregate_value;constructor(e={}){Object.assign(this,e)}static createFrom(e={}){const n=Sn,i=Fn,s=wn;let a=typeof e=="string"?JSON.parse(e):e;return"time_series"in a&&(a.time_series=n(a.time_series)),"current_value"in a&&(a.current_value=i(a.current_value)),"aggregate_value"in a&&(a.aggregate_value=s(a.aggregate_value)),new M(a)}}var ht=(t=>(t[t.$zero=0]="$zero",t[t.ShapeCurrent=0]="ShapeCurrent",t[t.ShapeTimeseries=1]="ShapeTimeseries",t[t.ShapeAggregate=2]="ShapeAggregate",t))(ht||{}),mt=(t=>(t[t.$zero=0]="$zero",t[t.UnitNone=0]="UnitNone",t[t.UnitBytes=1]="UnitBytes",t[t.UnitKB=2]="UnitKB",t[t.UnitMB=3]="UnitMB",t[t.UnitGB=4]="UnitGB",t[t.UnitPercentage=5]="UnitPercentage",t[t.UnitMillis=6]="UnitMillis",t[t.UnitSeconds=7]="UnitSeconds",t[t.UnitCount=8]="UnitCount",t[t.UnitOpsPerSec=9]="UnitOpsPerSec",t[t.UnitBytesPerSec=10]="UnitBytesPerSec",t[t.UnitMillicores=11]="UnitMillicores",t[t.UnitCores=12]="UnitCores",t))(mt||{});class Ne{resource_key;resource_id;resource_namespace;resource_data;metric_ids;shape;start_time;end_time;step;params;constructor(e={}){"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=y.$zero),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const n=vn,i=Nn,s=H;let a=typeof e=="string"?JSON.parse(e):e;return"resource_data"in a&&(a.resource_data=n(a.resource_data)),"metric_ids"in a&&(a.metric_ids=i(a.metric_ids)),"params"in a&&(a.params=s(a.params)),new Ne(a)}}class Te{success;results;error;constructor(e={}){"success"in e||(this.success=!1),"results"in e||(this.results=[]),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){const n=An;let i=typeof e=="string"?JSON.parse(e):e;return"results"in i&&(i.results=n(i.results)),new Te(i)}}class D{metric_id;data_points;labels;constructor(e={}){"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 n=Jn,i=H;let s=typeof e=="string"?JSON.parse(e):e;return"data_points"in s&&(s.data_points=n(s.data_points)),"labels"in s&&(s.labels=i(s.labels)),new D(s)}}const H=r.Map(r.Any,r.Any),hn=k.createFrom,mn=r.Array(hn),gn=I.createFrom,yn=r.Array(gn),_n=r.Array(r.Any),bn=D.createFrom,Sn=r.Nullable(bn),un=x.createFrom,Fn=r.Nullable(un),On=R.createFrom,wn=r.Nullable(On),vn=r.Map(r.Any,r.Any),Nn=r.Array(r.Any),Tn=M.createFrom,An=r.Array(Tn),jn=z.createFrom,Jn=r.Array(jn),Cn=Object.freeze(Object.defineProperty({__proto__:null,AggregateValue:R,ColorRange:I,CurrentValue:x,DataPoint:z,Handler:ve,MetricDescriptor:k,MetricResult:M,MetricShape:ht,MetricUnit:mt,QueryRequest:Ne,QueryResponse:Te,TimeSeries:D},Symbol.toStringTag,{value:"Module"}));exports.ActionDescriptor=Ie;exports.ActionInput=xe;exports.ActionResult=ze;exports.ActionScope=Nt;exports.ActionTargetBuilder=B;exports.AggregateValue=R;exports.AvailablePlugin=Q;exports.Capability=Ft;exports.Category=ye;exports.ColorRange=I;exports.ColumnDefinition=ie;exports.Connection=ee;exports.ConnectionAutoConnect=te;exports.ConnectionAutoConnectRetry=Ot;exports.ConnectionAutoConnectTrigger=wt;exports.ConnectionLifecycle=N;exports.ConnectionStatus=Ee;exports.ConnectionStatusCode=vt;exports.CreateInput=ke;exports.CreateResult=Me;exports.CreateSessionOptions=Oe;exports.CurrentValue=x;exports.DataPoint=z;exports.DeleteInput=De;exports.DeleteResult=He;exports.DependencyNode=me;exports.DependencyTree=rt;exports.DownloadStats=Y;exports.Duration=y;exports.EdgeDirection=Tt;exports.EditorSchema=Ue;exports.EventSeverity=At;exports.FilterExpression=ne;exports.FilterField=Be;exports.FilterFieldType=jt;exports.FilterLogic=Jt;exports.FilterOperator=Ct;exports.FilterPredicate=se;exports.FindInput=Ke;exports.FindPortForwardSessionRequest=q;exports.FindResult=Ge;exports.GetInput=Le;exports.GetPluginComponentsInput=be;exports.GetResourceAreaComponentInput=Se;exports.GetResourceComponentsInput=ue;exports.GetResult=qe;exports.GraphEdge=A;exports.GraphNode=l;exports.Handler=_t;exports.Handler$1=Ut;exports.Handler$2=ve;exports.HealthCondition=ae;exports.HealthStatus=Pt;exports.ListInput=Ze;exports.ListResult=Ve;exports.LogSession=we;exports.LogSessionOptions=d;exports.LogSessionStatus=pt;exports.LogSource=E;exports.LogStreamCommand=dt;exports.MetricDescriptor=k;exports.MetricResult=M;exports.MetricShape=ht;exports.MetricUnit=mt;exports.OrderField=re;exports.PaginationParams=_;exports.PluginAuthor=F;exports.PluginComponentArea=Pe;exports.PluginComponents=f;exports.PluginInfo=Re;exports.PluginMaintainer=O;exports.PluginMeta=h;exports.PluginResourceComponent=w;exports.PluginTheme=m;exports.PluginThemeColors=g;exports.PortForwardConnectionType=je;exports.PortForwardProtocol=Je;exports.PortForwardSession=Z;exports.PortForwardSessionEncryption=p;exports.PortForwardSessionOptions=V;exports.QueryRequest=Ne;exports.QueryResponse=Te;exports.RelationshipDescriptor=T;exports.RelationshipExtractor=ce;exports.RelationshipType=Qe;exports.ResolvedRelationship=We;exports.ResourceCapabilities=Ye;exports.ResourceComponent=Fe;exports.ResourceComponentArea=lt;exports.ResourceDefinition=Xe;exports.ResourceEvent=$e;exports.ResourceGroup=et;exports.ResourceHealth=tt;exports.ResourceLink=oe;exports.ResourceMeta=le;exports.ResourceRef=pe;exports.Review=X;exports.ScaleHint=de;exports.ScaleLevel=Et;exports.Session=K;exports.SessionOptions=G;exports.SessionState=Ce;exports.Setting=j;exports.SettingFileSelection=J;exports.SettingOption=C;exports.SettingType=ot;exports.StateIsolationProvenance=v;exports.Subgraph=ct;exports.SubgraphNode=ge;exports.TimeSeries=D;exports.UpdateInput=it;exports.UpdateResult=nt;exports.ValidationResult=_e;exports.VersionInfo=$;exports.WatchConnectionSummary=st;exports.WatchScope=fe;exports.WatchState=Rt;exports.WatchStateEvent=at;exports.models=di;exports.models$1=Qt;exports.models$2=fn;exports.models$3=Cn;exports.models$4=Wt;exports.models$5=$t;exports.models$6=an;exports.models$7=fi;exports.models$8=rn;
|