@camstack/addon-provider-amcrest 0.2.106 → 0.2.108

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
@@ -13474,6 +13474,43 @@ var ExposeInputSchema = object({
13474
13474
  });
13475
13475
  var UnexposeInputSchema = object({ deviceId: string() });
13476
13476
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13477
+ /** Wire/storage schema for one icon id. */
13478
+ var LocationIconIdSchema = _enum([
13479
+ "map-pin",
13480
+ "house",
13481
+ "door-open",
13482
+ "sofa",
13483
+ "utensils",
13484
+ "bed-double",
13485
+ "bath",
13486
+ "briefcase",
13487
+ "car",
13488
+ "circle-parking",
13489
+ "route",
13490
+ "trees",
13491
+ "umbrella",
13492
+ "waves-ladder",
13493
+ "fence",
13494
+ "package",
13495
+ "warehouse",
13496
+ "store",
13497
+ "sun",
13498
+ "radar"
13499
+ ]);
13500
+ /**
13501
+ * One (location, icon) assignment as it travels.
13502
+ *
13503
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13504
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13505
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13506
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13507
+ * map keyed on the displayed casing would orphan its entry on exactly that
13508
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13509
+ */
13510
+ var LocationIconAssignmentSchema = object({
13511
+ locationKey: string(),
13512
+ icon: LocationIconIdSchema
13513
+ });
13477
13514
  var ProviderStatusSchema = object({
13478
13515
  connected: boolean(),
13479
13516
  deviceCount: number(),
@@ -14066,6 +14103,12 @@ method(object({
14066
14103
  }), object({ moved: number() }), {
14067
14104
  kind: "mutation",
14068
14105
  auth: "admin"
14106
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
14107
+ location: string(),
14108
+ icon: LocationIconIdSchema.nullable()
14109
+ }), _void(), {
14110
+ kind: "mutation",
14111
+ auth: "admin"
14069
14112
  }), method(object({
14070
14113
  deviceId: number(),
14071
14114
  disabled: boolean()
@@ -20040,6 +20083,7 @@ var MediaFileKindEnum = _enum([
20040
20083
  "keyFrame",
20041
20084
  "keyFrameSmall",
20042
20085
  "thumbnailSmall",
20086
+ "confirmationCrop",
20043
20087
  "sceneFrame"
20044
20088
  ]);
20045
20089
  /**
@@ -37616,6 +37660,12 @@ Object.freeze({
37616
37660
  addonId: null,
37617
37661
  access: "view"
37618
37662
  },
37663
+ "deviceManager.listLocationIcons": {
37664
+ capName: "device-manager",
37665
+ capScope: "system",
37666
+ addonId: null,
37667
+ access: "view"
37668
+ },
37619
37669
  "deviceManager.listLocations": {
37620
37670
  capName: "device-manager",
37621
37671
  capScope: "system",
@@ -37760,6 +37810,12 @@ Object.freeze({
37760
37810
  addonId: null,
37761
37811
  access: "create"
37762
37812
  },
37813
+ "deviceManager.setLocationIcon": {
37814
+ capName: "device-manager",
37815
+ capScope: "system",
37816
+ addonId: null,
37817
+ access: "create"
37818
+ },
37763
37819
  "deviceManager.setMetadata": {
37764
37820
  capName: "device-manager",
37765
37821
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -13475,6 +13475,43 @@ var ExposeInputSchema = object({
13475
13475
  });
13476
13476
  var UnexposeInputSchema = object({ deviceId: string() });
13477
13477
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13478
+ /** Wire/storage schema for one icon id. */
13479
+ var LocationIconIdSchema = _enum([
13480
+ "map-pin",
13481
+ "house",
13482
+ "door-open",
13483
+ "sofa",
13484
+ "utensils",
13485
+ "bed-double",
13486
+ "bath",
13487
+ "briefcase",
13488
+ "car",
13489
+ "circle-parking",
13490
+ "route",
13491
+ "trees",
13492
+ "umbrella",
13493
+ "waves-ladder",
13494
+ "fence",
13495
+ "package",
13496
+ "warehouse",
13497
+ "store",
13498
+ "sun",
13499
+ "radar"
13500
+ ]);
13501
+ /**
13502
+ * One (location, icon) assignment as it travels.
13503
+ *
13504
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13505
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13506
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13507
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13508
+ * map keyed on the displayed casing would orphan its entry on exactly that
13509
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13510
+ */
13511
+ var LocationIconAssignmentSchema = object({
13512
+ locationKey: string(),
13513
+ icon: LocationIconIdSchema
13514
+ });
13478
13515
  var ProviderStatusSchema = object({
13479
13516
  connected: boolean(),
13480
13517
  deviceCount: number(),
@@ -14067,6 +14104,12 @@ method(object({
14067
14104
  }), object({ moved: number() }), {
14068
14105
  kind: "mutation",
14069
14106
  auth: "admin"
14107
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
14108
+ location: string(),
14109
+ icon: LocationIconIdSchema.nullable()
14110
+ }), _void(), {
14111
+ kind: "mutation",
14112
+ auth: "admin"
14070
14113
  }), method(object({
14071
14114
  deviceId: number(),
14072
14115
  disabled: boolean()
@@ -20041,6 +20084,7 @@ var MediaFileKindEnum = _enum([
20041
20084
  "keyFrame",
20042
20085
  "keyFrameSmall",
20043
20086
  "thumbnailSmall",
20087
+ "confirmationCrop",
20044
20088
  "sceneFrame"
20045
20089
  ]);
20046
20090
  /**
@@ -37617,6 +37661,12 @@ Object.freeze({
37617
37661
  addonId: null,
37618
37662
  access: "view"
37619
37663
  },
37664
+ "deviceManager.listLocationIcons": {
37665
+ capName: "device-manager",
37666
+ capScope: "system",
37667
+ addonId: null,
37668
+ access: "view"
37669
+ },
37620
37670
  "deviceManager.listLocations": {
37621
37671
  capName: "device-manager",
37622
37672
  capScope: "system",
@@ -37761,6 +37811,12 @@ Object.freeze({
37761
37811
  addonId: null,
37762
37812
  access: "create"
37763
37813
  },
37814
+ "deviceManager.setLocationIcon": {
37815
+ capName: "device-manager",
37816
+ capScope: "system",
37817
+ addonId: null,
37818
+ access: "create"
37819
+ },
37764
37820
  "deviceManager.setMetadata": {
37765
37821
  capName: "device-manager",
37766
37822
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-amcrest",
3
- "version": "0.2.106",
3
+ "version": "0.2.108",
4
4
  "description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
5
5
  "keywords": [
6
6
  "camstack",