@camstack/addon-provider-onvif 1.2.103 → 1.2.105

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
@@ -13240,6 +13240,43 @@ var ExposeInputSchema = object({
13240
13240
  });
13241
13241
  var UnexposeInputSchema = object({ deviceId: string() });
13242
13242
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13243
+ /** Wire/storage schema for one icon id. */
13244
+ var LocationIconIdSchema = _enum([
13245
+ "map-pin",
13246
+ "house",
13247
+ "door-open",
13248
+ "sofa",
13249
+ "utensils",
13250
+ "bed-double",
13251
+ "bath",
13252
+ "briefcase",
13253
+ "car",
13254
+ "circle-parking",
13255
+ "route",
13256
+ "trees",
13257
+ "umbrella",
13258
+ "waves-ladder",
13259
+ "fence",
13260
+ "package",
13261
+ "warehouse",
13262
+ "store",
13263
+ "sun",
13264
+ "radar"
13265
+ ]);
13266
+ /**
13267
+ * One (location, icon) assignment as it travels.
13268
+ *
13269
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13270
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13271
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13272
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13273
+ * map keyed on the displayed casing would orphan its entry on exactly that
13274
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13275
+ */
13276
+ var LocationIconAssignmentSchema = object({
13277
+ locationKey: string(),
13278
+ icon: LocationIconIdSchema
13279
+ });
13243
13280
  var ProviderStatusSchema = object({
13244
13281
  connected: boolean(),
13245
13282
  deviceCount: number(),
@@ -13832,6 +13869,12 @@ method(object({
13832
13869
  }), object({ moved: number() }), {
13833
13870
  kind: "mutation",
13834
13871
  auth: "admin"
13872
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
13873
+ location: string(),
13874
+ icon: LocationIconIdSchema.nullable()
13875
+ }), _void(), {
13876
+ kind: "mutation",
13877
+ auth: "admin"
13835
13878
  }), method(object({
13836
13879
  deviceId: number(),
13837
13880
  disabled: boolean()
@@ -19728,6 +19771,7 @@ var MediaFileKindEnum = _enum([
19728
19771
  "keyFrame",
19729
19772
  "keyFrameSmall",
19730
19773
  "thumbnailSmall",
19774
+ "confirmationCrop",
19731
19775
  "sceneFrame"
19732
19776
  ]);
19733
19777
  /**
@@ -33626,6 +33670,12 @@ Object.freeze({
33626
33670
  addonId: null,
33627
33671
  access: "view"
33628
33672
  },
33673
+ "deviceManager.listLocationIcons": {
33674
+ capName: "device-manager",
33675
+ capScope: "system",
33676
+ addonId: null,
33677
+ access: "view"
33678
+ },
33629
33679
  "deviceManager.listLocations": {
33630
33680
  capName: "device-manager",
33631
33681
  capScope: "system",
@@ -33770,6 +33820,12 @@ Object.freeze({
33770
33820
  addonId: null,
33771
33821
  access: "create"
33772
33822
  },
33823
+ "deviceManager.setLocationIcon": {
33824
+ capName: "device-manager",
33825
+ capScope: "system",
33826
+ addonId: null,
33827
+ access: "create"
33828
+ },
33773
33829
  "deviceManager.setMetadata": {
33774
33830
  capName: "device-manager",
33775
33831
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -13241,6 +13241,43 @@ var ExposeInputSchema = object({
13241
13241
  });
13242
13242
  var UnexposeInputSchema = object({ deviceId: string() });
13243
13243
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13244
+ /** Wire/storage schema for one icon id. */
13245
+ var LocationIconIdSchema = _enum([
13246
+ "map-pin",
13247
+ "house",
13248
+ "door-open",
13249
+ "sofa",
13250
+ "utensils",
13251
+ "bed-double",
13252
+ "bath",
13253
+ "briefcase",
13254
+ "car",
13255
+ "circle-parking",
13256
+ "route",
13257
+ "trees",
13258
+ "umbrella",
13259
+ "waves-ladder",
13260
+ "fence",
13261
+ "package",
13262
+ "warehouse",
13263
+ "store",
13264
+ "sun",
13265
+ "radar"
13266
+ ]);
13267
+ /**
13268
+ * One (location, icon) assignment as it travels.
13269
+ *
13270
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13271
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13272
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13273
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13274
+ * map keyed on the displayed casing would orphan its entry on exactly that
13275
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13276
+ */
13277
+ var LocationIconAssignmentSchema = object({
13278
+ locationKey: string(),
13279
+ icon: LocationIconIdSchema
13280
+ });
13244
13281
  var ProviderStatusSchema = object({
13245
13282
  connected: boolean(),
13246
13283
  deviceCount: number(),
@@ -13833,6 +13870,12 @@ method(object({
13833
13870
  }), object({ moved: number() }), {
13834
13871
  kind: "mutation",
13835
13872
  auth: "admin"
13873
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
13874
+ location: string(),
13875
+ icon: LocationIconIdSchema.nullable()
13876
+ }), _void(), {
13877
+ kind: "mutation",
13878
+ auth: "admin"
13836
13879
  }), method(object({
13837
13880
  deviceId: number(),
13838
13881
  disabled: boolean()
@@ -19729,6 +19772,7 @@ var MediaFileKindEnum = _enum([
19729
19772
  "keyFrame",
19730
19773
  "keyFrameSmall",
19731
19774
  "thumbnailSmall",
19775
+ "confirmationCrop",
19732
19776
  "sceneFrame"
19733
19777
  ]);
19734
19778
  /**
@@ -33627,6 +33671,12 @@ Object.freeze({
33627
33671
  addonId: null,
33628
33672
  access: "view"
33629
33673
  },
33674
+ "deviceManager.listLocationIcons": {
33675
+ capName: "device-manager",
33676
+ capScope: "system",
33677
+ addonId: null,
33678
+ access: "view"
33679
+ },
33630
33680
  "deviceManager.listLocations": {
33631
33681
  capName: "device-manager",
33632
33682
  capScope: "system",
@@ -33771,6 +33821,12 @@ Object.freeze({
33771
33821
  addonId: null,
33772
33822
  access: "create"
33773
33823
  },
33824
+ "deviceManager.setLocationIcon": {
33825
+ capName: "device-manager",
33826
+ capScope: "system",
33827
+ addonId: null,
33828
+ access: "create"
33829
+ },
33774
33830
  "deviceManager.setMetadata": {
33775
33831
  capName: "device-manager",
33776
33832
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.103",
3
+ "version": "1.2.105",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",