@7365admin1/core 3.96.1-staging.370 → 3.99.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 +24 -0
- package/dist/index.d.ts +71 -527
- package/dist/index.js +636 -2960
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +636 -2950
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/test/e2e/harness.mjs +0 -5
- package/test/e2e/service-provider-invite-approval.e2e.test.mjs +0 -202
- package/test/guard-invite-wiring.test.mjs +0 -48
- package/test/hid-face-photo-retention.test.mjs +3 -6
- package/test/notification-category.util.test.mjs +0 -21
- package/test/resident-app-modules.test.mjs +0 -63
- package/.changeset/building-map.md +0 -23
- package/.changeset/cctv-live-view-signed.md +0 -12
- package/.changeset/cctv-recorded-footage.md +0 -5
- package/.changeset/cleaning-robot-cloud-connector.md +0 -39
- 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/fleet-core-client-name.md +0 -5
- package/.changeset/fleet-core-plan-frame.md +0 -5
- 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/hid-sip-account-list.md +0 -17
- package/.changeset/hid-sip-account-unit-label.md +0 -40
- 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/open-rmf-adapter.md +0 -5
- 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-access-submodules.md +0 -12
- package/.changeset/resident-app-module-ceiling.md +0 -18
- package/.changeset/robot-adapter-wiring-and-demo.md +0 -24
- package/.changeset/robot-alerts-activity.md +0 -5
- package/.changeset/robot-faults-network.md +0 -7
- package/.changeset/robot-fleet-endpoints.md +0 -26
- package/.changeset/robot-lift-recent.md +0 -5
- package/.changeset/robot-live-tracking.md +0 -18
- package/.changeset/robot-map-and-lift.md +0 -5
- package/.changeset/robot-multi-brand.md +0 -28
- package/.changeset/robot-network-view.md +0 -5
- package/.changeset/robot-remaining-gaps.md +0 -17
- package/.changeset/robot-site-fleet-patrol.md +0 -5
- 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/sp-invite-accept-flow.md +0 -5
- package/.changeset/sp-invite-accept-for-company.md +0 -5
- package/.changeset/sp-invite-site-link.md +0 -5
- 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/scripts/hid-backfill-enrolment-access.mjs +0 -198
- package/scripts/hid-duplicate-reader-report.mjs +0 -89
- 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-duplicate-registration.test.mjs +0 -220
- package/test/hid-enrolment-grants-access.test.mjs +0 -162
- package/test/hid-facial-without-photo.test.mjs +0 -157
- package/test/hid-identification-drift.test.mjs +0 -363
- package/test/hid-identification-methods.test.mjs +0 -255
- package/test/occupancy-tree.test.mjs +0 -128
- package/test/resident-login-account.test.mjs +0 -126
- package/test/unit-owner.test.mjs +0 -190
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.99.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2d5658e: Service-provider invitations: accept adds the site to the company the invited person accepts for (the organisation on screen, which they must belong to) instead of whichever organisation an email lookup finds first, and records that company on the invitation. The received list gains Pending / Accepted / Declined / Expired tabs with counts, who invited, when it was answered and whether the site is on the current company's Sites list. A company-wide role (organisation owner/admin, or a full-access role) now reaches the sites its company serves for clients even when its membership names one site; site-level and vertical guard roles are unchanged.
|
|
8
|
+
|
|
9
|
+
## 3.98.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 1d2788d: Site permission checks use the membership the app is working in (DV-0409).
|
|
14
|
+
|
|
15
|
+
- When a person holds several memberships pinned to the same site (another app or another organisation), `requireSiteReach` → `authorizeSite` / `entitleSite` → `cameraGrant` now checks the role of the membership the app is working in, not whichever membership the database returns first. This fixes the web security app showing a module (e.g. Vehicle Mgmt) as allowed while the server refused it with "You do not have permission to view vehicles."
|
|
16
|
+
- The app says which membership it is working in with the `X-App` (member type, e.g. `security_agency`) and `X-Org` headers. `membershipPreferenceOf(req)` reads them; malformed values are ignored.
|
|
17
|
+
- Preference order among the memberships at the site: app and org, then app, then org, then the first.
|
|
18
|
+
- Backward compatible: without the headers, or when they match nothing, the old first-row rule applies unchanged. The headers only choose among the person's own memberships at that site and never grant a site they have no membership at.
|
|
19
|
+
- The membership lookup also reads `members.type`.
|
|
20
|
+
|
|
21
|
+
## 3.97.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 74204d8: Service-provider invitations can be answered from inside the app: `listReceived` and `accept` on the invitation service (GET `/received`, PUT `/:id/accept`), acceptance gated on the invited account and on the invitation still being open (expired, declined or cancelled invitations are refused), the engagement written atomically with the pending -> complete move, the sender told on accept and decline, and the invitation notification now carries the invited organisation (`params.org`) for the web bell.
|
|
26
|
+
|
|
3
27
|
## 3.96.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|