@camstack/addon-remote-storage 1.2.67 → 1.2.68

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/s3.addon.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-C0be_oZ_.js");
5
+ const require_shared = require("./shared-DyZPICRX.js");
6
6
  let node_stream = require("node:stream");
7
7
  let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
8
8
  let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
package/dist/s3.addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-BBBl6gT_.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-2Joc7r-U.mjs";
2
2
  import { PassThrough } from "node:stream";
3
3
  import { DeleteObjectCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectsV2Command, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
4
4
  import { Upload } from "@aws-sdk/lib-storage";
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-C0be_oZ_.js");
5
+ const require_shared = require("./shared-DyZPICRX.js");
6
6
  let ssh2 = require("ssh2");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-BBBl6gT_.mjs";
1
+ import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-2Joc7r-U.mjs";
2
2
  import { Client } from "ssh2";
3
3
  import * as path from "node:path";
4
4
  //#region src/providers/sftp/sftp-config-schema.ts
@@ -19006,6 +19006,33 @@ var RecentTracksQueryInput = object({
19006
19006
  */
19007
19007
  classes: array(string()).optional()
19008
19008
  });
19009
+ /**
19010
+ * A Summary (D359): the per-camera session envelope that references tracks.
19011
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19012
+ * served by the event-media plane by key), null until the first frame with a
19013
+ * member visible has been materialised.
19014
+ */
19015
+ var SummarySchema = object({
19016
+ id: string(),
19017
+ deviceId: number(),
19018
+ openedAt: number(),
19019
+ lastActiveAt: number(),
19020
+ sealedAt: number().nullable(),
19021
+ memberCount: number().int().nonnegative(),
19022
+ groupShotKey: string().nullable()
19023
+ });
19024
+ var SummariesQueryInput = object({
19025
+ deviceIds: array(number()).min(1),
19026
+ since: number().optional(),
19027
+ until: number().optional(),
19028
+ limit: number().int().min(1).max(200).default(50)
19029
+ });
19030
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19031
+ var SummaryDetailSchema = object({
19032
+ summary: SummarySchema,
19033
+ /** Member track ids, in absorption order. */
19034
+ trackIds: array(string()).readonly()
19035
+ });
19009
19036
  var RecentTracksPageSchema = object({
19010
19037
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19011
19038
  tracks: array(TrackSchema).readonly(),
@@ -19406,7 +19433,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19406
19433
  * timeline would read as a camera that saw nothing.
19407
19434
  */
19408
19435
  classes: array(string()).optional()
19409
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19436
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19410
19437
  kind: "mutation",
19411
19438
  auth: "admin"
19412
19439
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -32421,6 +32448,12 @@ Object.freeze({
32421
32448
  addonId: null,
32422
32449
  access: "view"
32423
32450
  },
32451
+ "pipelineAnalytics.getSummary": {
32452
+ capName: "pipeline-analytics",
32453
+ capScope: "device",
32454
+ addonId: null,
32455
+ access: "view"
32456
+ },
32424
32457
  "pipelineAnalytics.getTrack": {
32425
32458
  capName: "pipeline-analytics",
32426
32459
  capScope: "device",
@@ -32499,6 +32532,12 @@ Object.freeze({
32499
32532
  addonId: null,
32500
32533
  access: "view"
32501
32534
  },
32535
+ "pipelineAnalytics.listSummaries": {
32536
+ capName: "pipeline-analytics",
32537
+ capScope: "device",
32538
+ addonId: null,
32539
+ access: "view"
32540
+ },
32502
32541
  "pipelineAnalytics.listTrackMedia": {
32503
32542
  capName: "pipeline-analytics",
32504
32543
  capScope: "device",
@@ -36194,6 +36233,11 @@ Object.freeze({
36194
36233
  form: "array",
36195
36234
  optional: true
36196
36235
  }],
36236
+ "pipelineAnalytics.listSummaries": [{
36237
+ name: "deviceIds",
36238
+ form: "array",
36239
+ optional: false
36240
+ }],
36197
36241
  "pipelineAnalytics.listTrackMedia": [{
36198
36242
  name: "deviceId",
36199
36243
  form: "single",
@@ -19029,6 +19029,33 @@ var RecentTracksQueryInput = object({
19029
19029
  */
19030
19030
  classes: array(string()).optional()
19031
19031
  });
19032
+ /**
19033
+ * A Summary (D359): the per-camera session envelope that references tracks.
19034
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19035
+ * served by the event-media plane by key), null until the first frame with a
19036
+ * member visible has been materialised.
19037
+ */
19038
+ var SummarySchema = object({
19039
+ id: string(),
19040
+ deviceId: number(),
19041
+ openedAt: number(),
19042
+ lastActiveAt: number(),
19043
+ sealedAt: number().nullable(),
19044
+ memberCount: number().int().nonnegative(),
19045
+ groupShotKey: string().nullable()
19046
+ });
19047
+ var SummariesQueryInput = object({
19048
+ deviceIds: array(number()).min(1),
19049
+ since: number().optional(),
19050
+ until: number().optional(),
19051
+ limit: number().int().min(1).max(200).default(50)
19052
+ });
19053
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19054
+ var SummaryDetailSchema = object({
19055
+ summary: SummarySchema,
19056
+ /** Member track ids, in absorption order. */
19057
+ trackIds: array(string()).readonly()
19058
+ });
19032
19059
  var RecentTracksPageSchema = object({
19033
19060
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19034
19061
  tracks: array(TrackSchema).readonly(),
@@ -19429,7 +19456,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19429
19456
  * timeline would read as a camera that saw nothing.
19430
19457
  */
19431
19458
  classes: array(string()).optional()
19432
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19459
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19433
19460
  kind: "mutation",
19434
19461
  auth: "admin"
19435
19462
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -32444,6 +32471,12 @@ Object.freeze({
32444
32471
  addonId: null,
32445
32472
  access: "view"
32446
32473
  },
32474
+ "pipelineAnalytics.getSummary": {
32475
+ capName: "pipeline-analytics",
32476
+ capScope: "device",
32477
+ addonId: null,
32478
+ access: "view"
32479
+ },
32447
32480
  "pipelineAnalytics.getTrack": {
32448
32481
  capName: "pipeline-analytics",
32449
32482
  capScope: "device",
@@ -32522,6 +32555,12 @@ Object.freeze({
32522
32555
  addonId: null,
32523
32556
  access: "view"
32524
32557
  },
32558
+ "pipelineAnalytics.listSummaries": {
32559
+ capName: "pipeline-analytics",
32560
+ capScope: "device",
32561
+ addonId: null,
32562
+ access: "view"
32563
+ },
32525
32564
  "pipelineAnalytics.listTrackMedia": {
32526
32565
  capName: "pipeline-analytics",
32527
32566
  capScope: "device",
@@ -36217,6 +36256,11 @@ Object.freeze({
36217
36256
  form: "array",
36218
36257
  optional: true
36219
36258
  }],
36259
+ "pipelineAnalytics.listSummaries": [{
36260
+ name: "deviceIds",
36261
+ form: "array",
36262
+ optional: false
36263
+ }],
36220
36264
  "pipelineAnalytics.listTrackMedia": [{
36221
36265
  name: "deviceId",
36222
36266
  form: "single",
package/dist/smb.addon.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-C0be_oZ_.js");
5
+ const require_shared = require("./shared-DyZPICRX.js");
6
6
  let node_crypto = require("node:crypto");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-BBBl6gT_.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-2Joc7r-U.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import * as path from "node:path";
4
4
  import * as fsp from "node:fs/promises";
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-C0be_oZ_.js");
5
+ const require_shared = require("./shared-DyZPICRX.js");
6
6
  let node_stream = require("node:stream");
7
7
  let webdav = require("webdav");
8
8
  //#region src/providers/webdav/webdav-config-schema.ts
@@ -1,4 +1,4 @@
1
- import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-BBBl6gT_.mjs";
1
+ import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-2Joc7r-U.mjs";
2
2
  import { PassThrough } from "node:stream";
3
3
  import { AuthType, createClient } from "webdav";
4
4
  //#region src/providers/webdav/webdav-config-schema.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-remote-storage",
3
- "version": "1.2.67",
3
+ "version": "1.2.68",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV, SMB) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",