@kohost/api-client 3.2.11 → 3.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/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,45 @@ 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
+ authRequired: {
10233
+ type: "boolean"
10234
+ },
10235
+ iframe: {
10236
+ type: ["string", "null"]
10237
+ },
10238
+ hls: {
10239
+ type: ["string", "null"]
10240
+ },
10241
+ webRTC: {
10242
+ type: ["string", "null"]
10243
+ },
10244
+ rtsp: {
10245
+ type: ["string", "null"],
10246
+ description: "Local RTSP stream URL",
10247
+ examples: [
10248
+ "rtsp://192.168.1.4:544/channels/1",
10249
+ "rtsp://10.145.6.129:8554/unicast"
10250
+ ]
10251
+ }
10252
+ }
10253
+ },
10213
10254
  systemId: {
10214
10255
  $ref: "definitions.json#/definitions/systemId"
10215
10256
  },
@@ -10218,7 +10259,7 @@ var require_camera = __commonJS({
10218
10259
  }
10219
10260
  },
10220
10261
  additionalProperties: false,
10221
- required: ["id", "type", "liveStreams", "driver"]
10262
+ required: ["id", "type", "driver"]
10222
10263
  };
10223
10264
  }
10224
10265
  });