@camstack/addon-provider-homematic 1.2.12 → 1.2.13

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
@@ -18651,6 +18651,22 @@ var TerminalProfileInfoSchema = object({
18651
18651
  label: string(),
18652
18652
  description: string().optional()
18653
18653
  });
18654
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18655
+ seq: number().int().positive(),
18656
+ kind: literal("data"),
18657
+ data: string()
18658
+ }), object({
18659
+ seq: number().int().positive(),
18660
+ kind: literal("exit"),
18661
+ exitCode: number().int(),
18662
+ signal: number().int().optional()
18663
+ })]);
18664
+ var TerminalOutputBatchSchema = object({
18665
+ cursor: number().int().nonnegative(),
18666
+ reset: boolean(),
18667
+ snapshot: string().optional(),
18668
+ events: array(TerminalOutputEventSchema).readonly()
18669
+ });
18654
18670
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18655
18671
  profileId: string(),
18656
18672
  cols: number().int().positive(),
@@ -18665,6 +18681,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18665
18681
  }), _void(), {
18666
18682
  kind: "mutation",
18667
18683
  auth: "admin"
18684
+ }), method(object({
18685
+ sessionId: string(),
18686
+ afterSeq: number().int().nonnegative(),
18687
+ waitMs: number().int().min(0).max(2e3).default(0)
18688
+ }), TerminalOutputBatchSchema, {
18689
+ kind: "mutation",
18690
+ auth: "admin",
18691
+ timeoutMs: 15e3
18692
+ }), method(object({
18693
+ sessionId: string(),
18694
+ data: string().max(64 * 1024)
18695
+ }), _void(), {
18696
+ kind: "mutation",
18697
+ auth: "admin"
18668
18698
  }), method(object({ sessionId: string() }), _void(), {
18669
18699
  kind: "mutation",
18670
18700
  auth: "admin"
@@ -32263,12 +32293,24 @@ Object.freeze({
32263
32293
  addonId: null,
32264
32294
  access: "create"
32265
32295
  },
32296
+ "terminalSession.pullOutput": {
32297
+ capName: "terminal-session",
32298
+ capScope: "system",
32299
+ addonId: null,
32300
+ access: "create"
32301
+ },
32266
32302
  "terminalSession.resize": {
32267
32303
  capName: "terminal-session",
32268
32304
  capScope: "system",
32269
32305
  addonId: null,
32270
32306
  access: "create"
32271
32307
  },
32308
+ "terminalSession.writeInput": {
32309
+ capName: "terminal-session",
32310
+ capScope: "system",
32311
+ addonId: null,
32312
+ access: "create"
32313
+ },
32272
32314
  "toast.onToast": {
32273
32315
  capName: "toast",
32274
32316
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18652,6 +18652,22 @@ var TerminalProfileInfoSchema = object({
18652
18652
  label: string(),
18653
18653
  description: string().optional()
18654
18654
  });
18655
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18656
+ seq: number().int().positive(),
18657
+ kind: literal("data"),
18658
+ data: string()
18659
+ }), object({
18660
+ seq: number().int().positive(),
18661
+ kind: literal("exit"),
18662
+ exitCode: number().int(),
18663
+ signal: number().int().optional()
18664
+ })]);
18665
+ var TerminalOutputBatchSchema = object({
18666
+ cursor: number().int().nonnegative(),
18667
+ reset: boolean(),
18668
+ snapshot: string().optional(),
18669
+ events: array(TerminalOutputEventSchema).readonly()
18670
+ });
18655
18671
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18656
18672
  profileId: string(),
18657
18673
  cols: number().int().positive(),
@@ -18666,6 +18682,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18666
18682
  }), _void(), {
18667
18683
  kind: "mutation",
18668
18684
  auth: "admin"
18685
+ }), method(object({
18686
+ sessionId: string(),
18687
+ afterSeq: number().int().nonnegative(),
18688
+ waitMs: number().int().min(0).max(2e3).default(0)
18689
+ }), TerminalOutputBatchSchema, {
18690
+ kind: "mutation",
18691
+ auth: "admin",
18692
+ timeoutMs: 15e3
18693
+ }), method(object({
18694
+ sessionId: string(),
18695
+ data: string().max(64 * 1024)
18696
+ }), _void(), {
18697
+ kind: "mutation",
18698
+ auth: "admin"
18669
18699
  }), method(object({ sessionId: string() }), _void(), {
18670
18700
  kind: "mutation",
18671
18701
  auth: "admin"
@@ -32264,12 +32294,24 @@ Object.freeze({
32264
32294
  addonId: null,
32265
32295
  access: "create"
32266
32296
  },
32297
+ "terminalSession.pullOutput": {
32298
+ capName: "terminal-session",
32299
+ capScope: "system",
32300
+ addonId: null,
32301
+ access: "create"
32302
+ },
32267
32303
  "terminalSession.resize": {
32268
32304
  capName: "terminal-session",
32269
32305
  capScope: "system",
32270
32306
  addonId: null,
32271
32307
  access: "create"
32272
32308
  },
32309
+ "terminalSession.writeInput": {
32310
+ capName: "terminal-session",
32311
+ capScope: "system",
32312
+ addonId: null,
32313
+ access: "create"
32314
+ },
32273
32315
  "toast.onToast": {
32274
32316
  capName: "toast",
32275
32317
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",