@kohost/api-client 3.2.11 → 3.2.12

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/esm/utils.js CHANGED
@@ -7600,6 +7600,7 @@ var require_definitions = __commonJS({
7600
7600
  "kohost-k7",
7601
7601
  "kohost",
7602
7602
  "lg",
7603
+ "lapi",
7603
7604
  "lirc",
7604
7605
  "mews",
7605
7606
  "mht",
@@ -10195,6 +10196,7 @@ var require_camera = __commonJS({
10195
10196
  liveStreams: {
10196
10197
  type: "object",
10197
10198
  additionalProperties: false,
10199
+ $comment: "This is now deprecated. Use liveStream instead. This will remain here for backwards compatibility.",
10198
10200
  properties: {
10199
10201
  iframe: {
10200
10202
  type: ["string", "null"]
@@ -10210,6 +10212,42 @@ var require_camera = __commonJS({
10210
10212
  }
10211
10213
  }
10212
10214
  },
10215
+ liveStream: {
10216
+ type: "object",
10217
+ additionalProperties: false,
10218
+ properties: {
10219
+ id: {
10220
+ type: "string"
10221
+ },
10222
+ driver: {
10223
+ type: "string",
10224
+ enum: ["cloudflare-stream", "aws-kinesis", "digital-watchdog"]
10225
+ },
10226
+ allowedOrigins: {
10227
+ type: "array",
10228
+ items: {
10229
+ type: "string"
10230
+ }
10231
+ },
10232
+ iframe: {
10233
+ type: ["string", "null"]
10234
+ },
10235
+ hls: {
10236
+ type: ["string", "null"]
10237
+ },
10238
+ webRTC: {
10239
+ type: ["string", "null"]
10240
+ },
10241
+ rtsp: {
10242
+ type: ["string", "null"],
10243
+ description: "Local RTSP stream URL",
10244
+ examples: [
10245
+ "rtsp://192.168.1.4:544/channels/1",
10246
+ "rtsp://10.145.6.129:8554/unicast"
10247
+ ]
10248
+ }
10249
+ }
10250
+ },
10213
10251
  systemId: {
10214
10252
  $ref: "definitions.json#/definitions/systemId"
10215
10253
  },
@@ -10218,7 +10256,7 @@ var require_camera = __commonJS({
10218
10256
  }
10219
10257
  },
10220
10258
  additionalProperties: false,
10221
- required: ["id", "type", "liveStreams", "driver"]
10259
+ required: ["id", "type", "driver"]
10222
10260
  };
10223
10261
  }
10224
10262
  });