@juhuu/sdk-ts 1.2.168 → 1.2.170

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/index.d.mts CHANGED
@@ -424,9 +424,19 @@ type GraphNode = {
424
424
  * uses the deviceId of the current device, the userId of
425
425
  * the currently logged in user and the tapkey SDK to connect to the lock via
426
426
  * bluetooth and activate it
427
+ * @deprecated
427
428
  */
428
429
  type: "device.tapkey.activate";
429
430
  nodeIdArray: string[];
431
+ } | {
432
+ id: string;
433
+ /**
434
+ * uses the deviceId of the current device, the userId of
435
+ * the currently logged in user and the tapkey SDK to connect to the lock via
436
+ * bluetooth and unlock it
437
+ */
438
+ type: "tapkey.unlock";
439
+ nodeIdArray: string[];
430
440
  } | {
431
441
  id: string;
432
442
  type: "property.notify";
@@ -3123,7 +3133,7 @@ declare namespace JUHUU {
3123
3133
  id: string;
3124
3134
  readonly object: "incident";
3125
3135
  severity: "low" | "medium" | "high";
3126
- issuedBy: "propertyAdmin" | "system" | "user" | "nodeArray";
3136
+ createdBy: "propertyAdmin" | "system" | "user" | "nodeArray";
3127
3137
  propertyId: string;
3128
3138
  createdByUserId: string | null;
3129
3139
  status: "waitingForPropertyConfirmation" | "waitingForResolvement" | "rejected" | "resolved";
package/dist/index.d.ts CHANGED
@@ -424,9 +424,19 @@ type GraphNode = {
424
424
  * uses the deviceId of the current device, the userId of
425
425
  * the currently logged in user and the tapkey SDK to connect to the lock via
426
426
  * bluetooth and activate it
427
+ * @deprecated
427
428
  */
428
429
  type: "device.tapkey.activate";
429
430
  nodeIdArray: string[];
431
+ } | {
432
+ id: string;
433
+ /**
434
+ * uses the deviceId of the current device, the userId of
435
+ * the currently logged in user and the tapkey SDK to connect to the lock via
436
+ * bluetooth and unlock it
437
+ */
438
+ type: "tapkey.unlock";
439
+ nodeIdArray: string[];
430
440
  } | {
431
441
  id: string;
432
442
  type: "property.notify";
@@ -3123,7 +3133,7 @@ declare namespace JUHUU {
3123
3133
  id: string;
3124
3134
  readonly object: "incident";
3125
3135
  severity: "low" | "medium" | "high";
3126
- issuedBy: "propertyAdmin" | "system" | "user" | "nodeArray";
3136
+ createdBy: "propertyAdmin" | "system" | "user" | "nodeArray";
3127
3137
  propertyId: string;
3128
3138
  createdByUserId: string | null;
3129
3139
  status: "waitingForPropertyConfirmation" | "waitingForResolvement" | "rejected" | "resolved";
package/dist/index.js CHANGED
@@ -3124,7 +3124,7 @@ var IncidentsService = class extends Service {
3124
3124
  body: {
3125
3125
  propertyId: IncidentCreateParams.propertyId,
3126
3126
  title: IncidentCreateParams.title,
3127
- subtitle: IncidentCreateParams.description,
3127
+ description: IncidentCreateParams.description,
3128
3128
  type: IncidentCreateParams.type,
3129
3129
  deviceId: IncidentCreateParams.deviceId,
3130
3130
  locationId: IncidentCreateParams.locationId,
package/dist/index.mjs CHANGED
@@ -3080,7 +3080,7 @@ var IncidentsService = class extends Service {
3080
3080
  body: {
3081
3081
  propertyId: IncidentCreateParams.propertyId,
3082
3082
  title: IncidentCreateParams.title,
3083
- subtitle: IncidentCreateParams.description,
3083
+ description: IncidentCreateParams.description,
3084
3084
  type: IncidentCreateParams.type,
3085
3085
  deviceId: IncidentCreateParams.deviceId,
3086
3086
  locationId: IncidentCreateParams.locationId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.168",
3
+ "version": "1.2.170",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",