@7365admin1/core 3.79.1-staging.337 → 3.80.0
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/CHANGELOG.md +59 -0
- package/dist/index.d.ts +53 -267
- package/dist/index.js +555 -1993
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +555 -1988
- package/dist/index.mjs.map +1 -1
- package/package.json +68 -68
- package/test/guard-invite-wiring.test.mjs +0 -48
- package/test/notification-category.util.test.mjs +0 -21
- package/.changeset/cctv-live-view-signed.md +0 -12
- package/.changeset/cctv-recorded-footage.md +0 -5
- package/.changeset/client-invite-owner-role-permissions.md +0 -5
- package/.changeset/client-invite-service365.md +0 -5
- package/.changeset/customer-sites-one-row-per-site.md +0 -19
- package/.changeset/hid-duplicate-enrollment.md +0 -22
- package/.changeset/hid-facial-error-wording.md +0 -20
- package/.changeset/hid-identity-user-link.md +0 -26
- package/.changeset/hid-objectid-across-driver-copies.md +0 -26
- package/.changeset/hid-profile-qr-backend.md +0 -31
- package/.changeset/hid-reader-user-search.md +0 -22
- package/.changeset/inventory-notification-category.md +0 -5
- package/.changeset/manpower-authenticated-namespace.md +0 -27
- package/.changeset/member-direct-role-org.md +0 -5
- package/.changeset/member-direct-self-enrol-role.md +0 -5
- package/.changeset/member-list-site-scope.md +0 -5
- package/.changeset/member-lookup-follows-site.md +0 -16
- package/.changeset/members-by-user-reach.md +0 -5
- package/.changeset/module-ceiling-site-owner.md +0 -5
- package/.changeset/module-gate-foundation.md +0 -20
- package/.changeset/module-gate-kill-switch-and-read.md +0 -26
- package/.changeset/module-gate-server.md +0 -35
- package/.changeset/notify-access-filter-on.md +0 -24
- package/.changeset/org-owner-membership-repair.md +0 -15
- package/.changeset/org-read-reach.md +0 -5
- package/.changeset/org-update-diagnosable-error.md +0 -14
- package/.changeset/patrol-email-scope-restore.md +0 -16
- package/.changeset/people-create-reach-enforce.md +0 -5
- package/.changeset/people-create-reach-gate.md +0 -31
- package/.changeset/people-occupied-structure.md +0 -5
- package/.changeset/real-estate-developer-app-type.md +0 -5
- package/.changeset/real-estate-developer-lookup-both-types.md +0 -5
- package/.changeset/resident-app-module-ceiling.md +0 -18
- package/.changeset/role-module-ceiling.md +0 -16
- package/.changeset/role-read-self-arm.md +0 -5
- package/.changeset/role-v2-platform-grant.md +0 -14
- package/.changeset/site-module-allowlist.md +0 -5
- package/.changeset/site-modules-client-admin.md +0 -5
- package/.changeset/site-save-resident-ceiling.md +0 -7
- package/.changeset/staff-platform-notifications.md +0 -5
- package/.changeset/user-email-allowlist-subscription-authz.md +0 -21
- package/.changeset/user-field-self-allowlist.md +0 -5
- package/.changeset/user-invite-dedupe.md +0 -5
- package/.changeset/vehicle-one-plate-per-site.md +0 -58
- package/scripts/hid-backfill-enrolment-access.mjs +0 -198
- package/test/document-expiry-event.test.mjs +0 -146
- package/test/document-expiry-filter.test.mjs +0 -167
- package/test/document-expiry-reminder.test.mjs +0 -161
- package/test/document-type-resolution.test.mjs +0 -62
- package/test/e2e/document-expiry-event-link.e2e.test.mjs +0 -323
- package/test/hid-enrolment-grants-access.test.mjs +0 -162
- package/test/occupancy-tree.test.mjs +0 -128
- package/test/resident-login-account.test.mjs +0 -126
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.80.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a267a47: Vehicle statuses say which list a vehicle is on, a site holds a plate once
|
|
8
|
+
whatever its status, and every vehicle keeps a history.
|
|
9
|
+
|
|
10
|
+
**Statuses.** A whitelist vehicle is `active`, a season pass `temporary`, a
|
|
11
|
+
blocked vehicle `blocked`. Blocking a resident or season pass puts its plate on
|
|
12
|
+
the blocklist of every active camera except Exit for ten years (whatever the
|
|
13
|
+
pass's own dates) and takes it OFF every camera's allowed list, so no camera
|
|
14
|
+
holds a plate on both lists; approving a pending blocklist vehicle uses the
|
|
15
|
+
same ten years, and a new camera is filled the same way. Unblocking sets `unblocked` and takes the plate off every active camera's
|
|
16
|
+
blocklist by plate number - and off the allowed list too, so an unblocked car
|
|
17
|
+
is on no list rather than quietly whitelisted again. A blocked, unblocked,
|
|
18
|
+
deleted or inactive vehicle can be blocked again in place. Everything that
|
|
19
|
+
writes, syncs, revokes or recognises a plate at the gate now treats `active`,
|
|
20
|
+
`temporary` and `blocked` as live; the gate still recognises a season pass as a
|
|
21
|
+
registered resident until its expiry, and an unblocked plate no longer counts
|
|
22
|
+
as blocked at visitor check-in.
|
|
23
|
+
|
|
24
|
+
**Categories and tabs.** A whitelist vehicle is filed `resident`, a season
|
|
25
|
+
pass `season_pass` (new), and a vehicle added to the blocklist `visitor` or
|
|
26
|
+
`contractor` (new in the vehicle enum; default `visitor`); blocked from a visitor transaction it keeps that type - `delivery`, `pick-up` or `drop-off` (new), a guest as `visitor`. A season pass seen at the gate is logged as a `resident` transaction. Blocking keeps the
|
|
27
|
+
category, so a blocked resident is still `resident`; editing a season pass type
|
|
28
|
+
on or off moves a whitelist vehicle between `resident` and `season_pass`. The
|
|
29
|
+
vehicle list takes `view` - `residents`, `season-passes` or `block-listed` -
|
|
30
|
+
for the three tabs; older season passes saved as `resident` show under Season
|
|
31
|
+
Passes. The gate counts `resident` and `season_pass` as registered.
|
|
32
|
+
|
|
33
|
+
**Update an existing plate from the add form.** `existingPlatesAtSite`
|
|
34
|
+
answers which of the plates being added the site already holds, with each
|
|
35
|
+
record's tab and status; `moveVehicle` saves the form's details on that record
|
|
36
|
+
and moves it to the form's tab (off every camera list, onto the list of its new
|
|
37
|
+
kind; pending for a security agency without the approve permission). Its
|
|
38
|
+
history records "moved".
|
|
39
|
+
|
|
40
|
+
**Sync.** `syncVehicleToCameras` puts a live vehicle's plate on every active
|
|
41
|
+
camera of its list that lacks it (a plate saved while its cameras were
|
|
42
|
+
inactive), camera by camera, and records the cameras that took it;
|
|
43
|
+
`activeCameraCounts` gives the active cameras per list so the screens can offer
|
|
44
|
+
it.
|
|
45
|
+
|
|
46
|
+
**One plate per site.** Adding a plate the site already has - deleted,
|
|
47
|
+
pending, temporary, blocked or unblocked included - is refused with its status
|
|
48
|
+
and "edit the existing vehicle instead" (restore, for a deleted one). The same
|
|
49
|
+
check guards approve, restore and plate edits. Matching ignores case and
|
|
50
|
+
spacing.
|
|
51
|
+
|
|
52
|
+
**History.** `history` holds the last 20 changes - created, updated,
|
|
53
|
+
approved, restored, blocked, unblocked, deleted - each with the user's id, the
|
|
54
|
+
time and the fields that changed. `getSpecificVehicleById` adds each user's
|
|
55
|
+
name.
|
|
56
|
+
|
|
57
|
+
**Also:** the vehicle list returns every status unless one is asked for; the
|
|
58
|
+
camera's record id (`recNo`) is no longer stored; `processDeletingExpiredVehicles`
|
|
59
|
+
is no longer needed (the camera enforces each pass's own expiry) and should be
|
|
60
|
+
unscheduled by the API.
|
|
61
|
+
|
|
3
62
|
## 3.79.0
|
|
4
63
|
|
|
5
64
|
### Minor Changes
|