@juhuu/sdk-ts 1.2.194 → 1.2.196

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
@@ -432,6 +432,13 @@ type GraphNode = {
432
432
  */
433
433
  type: "tapkey.unlock";
434
434
  nodeIdArray: string[];
435
+ } | {
436
+ id: string;
437
+ /**
438
+ * uses the deviceId of the current device to unlock the EMZ lock via bluetooth
439
+ */
440
+ type: "emz.unlock";
441
+ nodeIdArray: string[];
435
442
  } | {
436
443
  id: string;
437
444
  type: "property.notify";
@@ -1117,6 +1124,7 @@ declare namespace JUHUU {
1117
1124
  statusArray?: JUHUU.Session.Object["status"][];
1118
1125
  locationId?: string;
1119
1126
  locationGroupId?: string;
1127
+ paymentId: string;
1120
1128
  };
1121
1129
  type Options = {
1122
1130
  limit?: number;
@@ -1395,10 +1403,10 @@ declare namespace JUHUU {
1395
1403
  };
1396
1404
  type Options = JUHUU.RequestOptions;
1397
1405
  type Response = {
1398
- targetHardwareId: string;
1399
- contractId: string;
1400
- userId: string;
1401
- token: string;
1406
+ emzTargetHardwareId: string;
1407
+ emzContractId: string;
1408
+ emzUserId: string;
1409
+ emzToken: string;
1402
1410
  };
1403
1411
  }
1404
1412
  }
package/dist/index.d.ts CHANGED
@@ -432,6 +432,13 @@ type GraphNode = {
432
432
  */
433
433
  type: "tapkey.unlock";
434
434
  nodeIdArray: string[];
435
+ } | {
436
+ id: string;
437
+ /**
438
+ * uses the deviceId of the current device to unlock the EMZ lock via bluetooth
439
+ */
440
+ type: "emz.unlock";
441
+ nodeIdArray: string[];
435
442
  } | {
436
443
  id: string;
437
444
  type: "property.notify";
@@ -1117,6 +1124,7 @@ declare namespace JUHUU {
1117
1124
  statusArray?: JUHUU.Session.Object["status"][];
1118
1125
  locationId?: string;
1119
1126
  locationGroupId?: string;
1127
+ paymentId: string;
1120
1128
  };
1121
1129
  type Options = {
1122
1130
  limit?: number;
@@ -1395,10 +1403,10 @@ declare namespace JUHUU {
1395
1403
  };
1396
1404
  type Options = JUHUU.RequestOptions;
1397
1405
  type Response = {
1398
- targetHardwareId: string;
1399
- contractId: string;
1400
- userId: string;
1401
- token: string;
1406
+ emzTargetHardwareId: string;
1407
+ emzContractId: string;
1408
+ emzUserId: string;
1409
+ emzToken: string;
1402
1410
  };
1403
1411
  }
1404
1412
  }
package/dist/index.js CHANGED
@@ -448,6 +448,9 @@ var SessionService = class extends Service {
448
448
  if (SessionListParams.locationId !== void 0) {
449
449
  queryArray.push("locationId=" + SessionListParams.locationId);
450
450
  }
451
+ if (SessionListParams.paymentId !== void 0) {
452
+ queryArray.push("paymentId=" + SessionListParams.paymentId);
453
+ }
451
454
  if (SessionListOptions?.limit !== void 0) {
452
455
  queryArray.push("limit=" + SessionListOptions.limit);
453
456
  }
package/dist/index.mjs CHANGED
@@ -404,6 +404,9 @@ var SessionService = class extends Service {
404
404
  if (SessionListParams.locationId !== void 0) {
405
405
  queryArray.push("locationId=" + SessionListParams.locationId);
406
406
  }
407
+ if (SessionListParams.paymentId !== void 0) {
408
+ queryArray.push("paymentId=" + SessionListParams.paymentId);
409
+ }
407
410
  if (SessionListOptions?.limit !== void 0) {
408
411
  queryArray.push("limit=" + SessionListOptions.limit);
409
412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.194",
3
+ "version": "1.2.196",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",