@7365admin1/core 3.79.1-staging.342 → 3.81.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 +40 -0
- package/dist/index.d.ts +54 -580
- package/dist/index.js +5262 -7195
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4822 -6737
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- 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/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/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/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/robot-fleet-endpoints.md +0 -26
- 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/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/lift-contract.test.mjs +0 -271
- package/test/occupancy-tree.test.mjs +0 -128
- package/test/resident-login-account.test.mjs +0 -126
- package/test/robot-command.test.mjs +0 -140
- package/test/unit-owner.test.mjs +0 -139
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.81.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fde0167: Cleaning robot: robot cloud connector, and stop projecting robot credentials
|
|
8
|
+
|
|
9
|
+
Adds the signed client for the cleaning-robot cloud (`robot-cloud.util.ts`,
|
|
10
|
+
`robot-cloud.service.ts`): request signing, the status vocabulary, the
|
|
11
|
+
pixel/metre transform and the area colour conversions, plus the nine
|
|
12
|
+
request/response endpoints. Credentials are passed in by the caller and are
|
|
13
|
+
never read from the environment, logged, or placed in a request body.
|
|
14
|
+
|
|
15
|
+
Also fixes a credential disclosure in the existing robot listing: `getRobots`
|
|
16
|
+
projected `appKey` and `appToken` — the pair that signs every command sent to
|
|
17
|
+
that estate's robots — into the response, so anyone holding `see-all-robots`
|
|
18
|
+
received them. They are no longer returned.
|
|
19
|
+
|
|
20
|
+
Fixes `POST /robots`, which had never worked: the service assigned an ObjectId
|
|
21
|
+
where the model's schema wanted a string, so every create ended in
|
|
22
|
+
`400 "createdBy" must be a string` and no robot could be registered at all.
|
|
23
|
+
|
|
24
|
+
Adds the server-side enforcement of the five robot permissions, which have
|
|
25
|
+
existed in the client catalogue but were never checked by the API. `"*"` allows
|
|
26
|
+
everything; an empty list allows everything only on a `type: "admin"` role (the
|
|
27
|
+
Seven365 staff role is seeded with `[]`, so enforcing it would refuse the
|
|
28
|
+
platform owner); a non-empty list is enforced exactly.
|
|
29
|
+
|
|
30
|
+
Adds `robotSn` to the robot record (optional, discovered from `get-robot-list`
|
|
31
|
+
when absent) and `robot-fleet.service.ts`, which bridges a stored robot to the
|
|
32
|
+
vendor cloud: live state, maps, map image URLs minted at use, and dispatch.
|
|
33
|
+
|
|
34
|
+
Adds a table of which application may set up and monitor which robot type, so
|
|
35
|
+
cleaning robots and security robots share one module while each app sees only
|
|
36
|
+
its own.
|
|
37
|
+
|
|
38
|
+
Adds an optional `type` ("cleaning" | "security") to the robot record with an
|
|
39
|
+
optional filter, so both device classes share one module and one collection
|
|
40
|
+
while each app lists only its own. Existing rows are untouched and an
|
|
41
|
+
unfiltered query behaves exactly as before.
|
|
42
|
+
|
|
3
43
|
## 3.80.0
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|