@juhuu/sdk-ts 1.2.169 → 1.2.171

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";
@@ -1377,6 +1387,7 @@ declare namespace JUHUU {
1377
1387
  type Params = {
1378
1388
  userId: string;
1379
1389
  deviceId: string;
1390
+ implementationVersion: number;
1380
1391
  };
1381
1392
  type Options = JUHUU.RequestOptions;
1382
1393
  type Response = {
@@ -1387,6 +1398,7 @@ declare namespace JUHUU {
1387
1398
  type Params = {
1388
1399
  userId: string;
1389
1400
  deviceId: string;
1401
+ implementationVersion: number;
1390
1402
  };
1391
1403
  type Options = JUHUU.RequestOptions;
1392
1404
  type Response = {
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";
@@ -1377,6 +1387,7 @@ declare namespace JUHUU {
1377
1387
  type Params = {
1378
1388
  userId: string;
1379
1389
  deviceId: string;
1390
+ implementationVersion: number;
1380
1391
  };
1381
1392
  type Options = JUHUU.RequestOptions;
1382
1393
  type Response = {
@@ -1387,6 +1398,7 @@ declare namespace JUHUU {
1387
1398
  type Params = {
1388
1399
  userId: string;
1389
1400
  deviceId: string;
1401
+ implementationVersion: number;
1390
1402
  };
1391
1403
  type Options = JUHUU.RequestOptions;
1392
1404
  type Response = {
package/dist/index.js CHANGED
@@ -2611,7 +2611,8 @@ var TapkeyService = class extends Service {
2611
2611
  url: "tapkey/credentials",
2612
2612
  body: {
2613
2613
  userId: TapkeyCredentialsParams.userId,
2614
- deviceId: TapkeyCredentialsParams.deviceId
2614
+ deviceId: TapkeyCredentialsParams.deviceId,
2615
+ implementationVersion: TapkeyCredentialsParams.implementationVersion
2615
2616
  },
2616
2617
  authenticationNotOptional: true
2617
2618
  },
@@ -2626,7 +2627,8 @@ var TapkeyService = class extends Service {
2626
2627
  url: "tapkey/grantAccess",
2627
2628
  body: {
2628
2629
  userId: TapkeyGrantAccessParams.userId,
2629
- deviceId: TapkeyGrantAccessParams.deviceId
2630
+ deviceId: TapkeyGrantAccessParams.deviceId,
2631
+ implementationVersion: TapkeyGrantAccessParams.implementationVersion
2630
2632
  },
2631
2633
  authenticationNotOptional: true
2632
2634
  },
package/dist/index.mjs CHANGED
@@ -2567,7 +2567,8 @@ var TapkeyService = class extends Service {
2567
2567
  url: "tapkey/credentials",
2568
2568
  body: {
2569
2569
  userId: TapkeyCredentialsParams.userId,
2570
- deviceId: TapkeyCredentialsParams.deviceId
2570
+ deviceId: TapkeyCredentialsParams.deviceId,
2571
+ implementationVersion: TapkeyCredentialsParams.implementationVersion
2571
2572
  },
2572
2573
  authenticationNotOptional: true
2573
2574
  },
@@ -2582,7 +2583,8 @@ var TapkeyService = class extends Service {
2582
2583
  url: "tapkey/grantAccess",
2583
2584
  body: {
2584
2585
  userId: TapkeyGrantAccessParams.userId,
2585
- deviceId: TapkeyGrantAccessParams.deviceId
2586
+ deviceId: TapkeyGrantAccessParams.deviceId,
2587
+ implementationVersion: TapkeyGrantAccessParams.implementationVersion
2586
2588
  },
2587
2589
  authenticationNotOptional: true
2588
2590
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.169",
3
+ "version": "1.2.171",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",