@camstack/addon-provider-hikvision 1.2.14 → 1.2.15

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/addon.js CHANGED
@@ -18835,6 +18835,22 @@ var TerminalProfileInfoSchema = object({
18835
18835
  label: string(),
18836
18836
  description: string().optional()
18837
18837
  });
18838
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18839
+ seq: number().int().positive(),
18840
+ kind: literal("data"),
18841
+ data: string()
18842
+ }), object({
18843
+ seq: number().int().positive(),
18844
+ kind: literal("exit"),
18845
+ exitCode: number().int(),
18846
+ signal: number().int().optional()
18847
+ })]);
18848
+ var TerminalOutputBatchSchema = object({
18849
+ cursor: number().int().nonnegative(),
18850
+ reset: boolean(),
18851
+ snapshot: string().optional(),
18852
+ events: array(TerminalOutputEventSchema).readonly()
18853
+ });
18838
18854
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18839
18855
  profileId: string(),
18840
18856
  cols: number().int().positive(),
@@ -18849,6 +18865,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18849
18865
  }), _void(), {
18850
18866
  kind: "mutation",
18851
18867
  auth: "admin"
18868
+ }), method(object({
18869
+ sessionId: string(),
18870
+ afterSeq: number().int().nonnegative(),
18871
+ waitMs: number().int().min(0).max(2e3).default(0)
18872
+ }), TerminalOutputBatchSchema, {
18873
+ kind: "mutation",
18874
+ auth: "admin",
18875
+ timeoutMs: 15e3
18876
+ }), method(object({
18877
+ sessionId: string(),
18878
+ data: string().max(64 * 1024)
18879
+ }), _void(), {
18880
+ kind: "mutation",
18881
+ auth: "admin"
18852
18882
  }), method(object({ sessionId: string() }), _void(), {
18853
18883
  kind: "mutation",
18854
18884
  auth: "admin"
@@ -32988,12 +33018,24 @@ Object.freeze({
32988
33018
  addonId: null,
32989
33019
  access: "create"
32990
33020
  },
33021
+ "terminalSession.pullOutput": {
33022
+ capName: "terminal-session",
33023
+ capScope: "system",
33024
+ addonId: null,
33025
+ access: "create"
33026
+ },
32991
33027
  "terminalSession.resize": {
32992
33028
  capName: "terminal-session",
32993
33029
  capScope: "system",
32994
33030
  addonId: null,
32995
33031
  access: "create"
32996
33032
  },
33033
+ "terminalSession.writeInput": {
33034
+ capName: "terminal-session",
33035
+ capScope: "system",
33036
+ addonId: null,
33037
+ access: "create"
33038
+ },
32997
33039
  "toast.onToast": {
32998
33040
  capName: "toast",
32999
33041
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18836,6 +18836,22 @@ var TerminalProfileInfoSchema = object({
18836
18836
  label: string(),
18837
18837
  description: string().optional()
18838
18838
  });
18839
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18840
+ seq: number().int().positive(),
18841
+ kind: literal("data"),
18842
+ data: string()
18843
+ }), object({
18844
+ seq: number().int().positive(),
18845
+ kind: literal("exit"),
18846
+ exitCode: number().int(),
18847
+ signal: number().int().optional()
18848
+ })]);
18849
+ var TerminalOutputBatchSchema = object({
18850
+ cursor: number().int().nonnegative(),
18851
+ reset: boolean(),
18852
+ snapshot: string().optional(),
18853
+ events: array(TerminalOutputEventSchema).readonly()
18854
+ });
18839
18855
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18840
18856
  profileId: string(),
18841
18857
  cols: number().int().positive(),
@@ -18850,6 +18866,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18850
18866
  }), _void(), {
18851
18867
  kind: "mutation",
18852
18868
  auth: "admin"
18869
+ }), method(object({
18870
+ sessionId: string(),
18871
+ afterSeq: number().int().nonnegative(),
18872
+ waitMs: number().int().min(0).max(2e3).default(0)
18873
+ }), TerminalOutputBatchSchema, {
18874
+ kind: "mutation",
18875
+ auth: "admin",
18876
+ timeoutMs: 15e3
18877
+ }), method(object({
18878
+ sessionId: string(),
18879
+ data: string().max(64 * 1024)
18880
+ }), _void(), {
18881
+ kind: "mutation",
18882
+ auth: "admin"
18853
18883
  }), method(object({ sessionId: string() }), _void(), {
18854
18884
  kind: "mutation",
18855
18885
  auth: "admin"
@@ -32989,12 +33019,24 @@ Object.freeze({
32989
33019
  addonId: null,
32990
33020
  access: "create"
32991
33021
  },
33022
+ "terminalSession.pullOutput": {
33023
+ capName: "terminal-session",
33024
+ capScope: "system",
33025
+ addonId: null,
33026
+ access: "create"
33027
+ },
32992
33028
  "terminalSession.resize": {
32993
33029
  capName: "terminal-session",
32994
33030
  capScope: "system",
32995
33031
  addonId: null,
32996
33032
  access: "create"
32997
33033
  },
33034
+ "terminalSession.writeInput": {
33035
+ capName: "terminal-session",
33036
+ capScope: "system",
33037
+ addonId: null,
33038
+ access: "create"
33039
+ },
32998
33040
  "toast.onToast": {
32999
33041
  capName: "toast",
33000
33042
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",