@7365admin1/layer-common 3.0.26 → 3.0.27

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.
@@ -321,6 +321,13 @@ export default function useAccessManagement() {
321
321
  );
322
322
  }
323
323
 
324
+ function visitorCheckout(payload: { cards: { cardId: string; userId: string; status: string; remarks: string }[] }) {
325
+ return useNuxtApp().$api<Record<string, any>>(
326
+ `/api/access-management/visitor-checkout`,
327
+ { method: "PATCH", body: payload }
328
+ );
329
+ }
330
+
324
331
  return {
325
332
  getResidents,
326
333
  assignUser,
@@ -345,5 +352,6 @@ export default function useAccessManagement() {
345
352
  createVisitorPass,
346
353
  signQr,
347
354
  getBlockLevelUnitList,
355
+ visitorCheckout,
348
356
  };
349
357
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.0.26",
5
+ "version": "3.0.27",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "publishConfig": {