@7365admin1/core 3.129.3-staging.541 → 3.129.3-staging.542

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 3.176.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 808d1e6: PadBot: a "charging" reading from a robot standing away from its charger is treated as stale. The S2 can keep reporting chargingState 1 after a Go to point undock; the robot then showed "Charging" while out on the floor and Return to charger was refused as "already on its charger". Now, when the robot's position is known to be more than 1 m from the map's charging point, it shows as standing by and Return is sent.
8
+
9
+ ## 3.176.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 764a16b: ANPR: each camera event is handled by one API process only. A second process listening to the same camera (another server, or a local run with ANPR on against the same database) no longer creates a duplicate unregistered entry, check-out or snapshot.
14
+
15
+ ## 3.176.0
16
+
17
+ ### Minor Changes
18
+
19
+ - a3c594e: Lift gateway: a read-only link from a real lift (Inovance MCTC-KZ-B0S, Modbus RTU) to iService365. Per-lift gateway codes (Super Admin), `POST /lift-gateway/readings` (machine, per-lift bearer), lift status on the lift queue, and `GET /fleet-relay/lifts` (RMF LiftState) for HERO Fleet Core.
20
+
21
+ ## 3.175.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 1b62afe: Data retention is managed by the Seven365 Super Admin: `metadata.dataRetention` can only be changed by the platform owner (both site save paths), a site deletes only when its setting carries `deletionApproved` (written by the new `/data-retention/admin` handlers) and the notice was given after that approval, `DATA_RETENTION_PURGE=off` is now the emergency stop (unset = allowed), optional "Start deleting from" date, one reminder the day before a removal, and a read-only banner endpoint for staff of the site.
26
+ - db4ffe2: Site switch `visitorFields.nric = "last4"`: collect NRIC but store only the last 4 characters ("**\***567A") on every visitor write for that site (staff create/edit, self-service, resident and guard invites, guest list, and the visitor person record). Returning-visitor lookup by NRIC on such a site matches on the last 4 characters; a masked NRIC is matched to a person only together with the name. Sites without the switch are unchanged; existing records are not rewritten.
27
+ - 03f9ee0: A membership can be marked as Security Ops, recording which people go out, walk a site and fill in the visit checklists. It grants nothing on its own: what a member may do is still decided by their role. Site access saves it for the whole person and writes it onto every site they hold, and leaves it untouched when a client does not send it.
28
+
29
+ ## 3.174.0
30
+
31
+ ### Minor Changes
32
+
33
+ - 6289b58: PDPA data retention per site: daily notice-then-purge job (off unless the site switches it on, deletes only when DATA_RETENTION_PURGE=on), data removal records with a PDF certificate, and a staff-only contract-end removal.
34
+ - 6289b58: Working calendar (`isWorkingTime`, `addWorkingHours`, built-in Singapore public holidays 2026-2027, `usePublicHolidayRepo` for staff-kept holidays), per-site feedback routing / escalation / auto-close decisions (`resolveFeedbackRoute`, `dueEscalations`, `isAutoCloseSubject`), and a "Feedback escalations" notification category.
35
+ - 6289b58: Key presses on keys (optional `cabinet`), a per-site server check that refuses a visitor check-out while a key is still out, and the daily unreturned-key list (`runUnreturnedKeyAlerts`, notification category `keys`). All off unless the site switches them on.
36
+ - 6289b58: Per-site switch `metadata.maStaffRegistration` ({ enabled, company }) offering "Managing agent staff" as a contractor type at the guardhouse. Off by default.
37
+ - 44b545c: Per-site feature switches under `site.metadata`: `visitorFields`, `keySettings`, `incidentReportEmails`, `feedbackSettings`, `dataRetention`. Typed validation, readers that default to today's behaviour when a site saved nothing, and a saved switch survives a settings save that does not mention it. No behaviour changes until a site turns a switch on.
38
+ - 6289b58: Incident reports are also emailed to the site's extra addresses (site settings); documents and folders can be archived and restored.
39
+ - 6289b58: Staff visitor registration honours the site's `visitorFields` switches: NRIC is not stored when the site turned it off, and a site that requires a contact or vehicle number refuses a registration without one. Sites that never saved the switches are unchanged.
40
+
3
41
  ## 3.173.1
4
42
 
5
43
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@7365admin1/core",
3
3
  "license": "MIT",
4
- "version": "3.129.3-staging.541",
4
+ "version": "3.129.3-staging.542",
5
5
  "author": "7365admin1",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.mjs",