@7365admin1/core 3.114.0 → 3.116.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 +12 -0
- package/dist/index.d.ts +369 -62
- package/dist/index.js +4317 -3320
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3793 -2823
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/test/e2e/harness.mjs +6 -0
- package/test/e2e/padbot.e2e.test.mjs +359 -0
- package/test/e2e/robot-vendor-errors.e2e.test.mjs +172 -0
- package/test/padbot.test.mjs +580 -0
- package/test/robot-vendor-errors.test.mjs +289 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.116.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 142f59c: Robots: every robot-cloud (Ounitech) failure is now a handled answer with a plain reason instead of a bare 500 "Internal Server Error" - sign/timestamp refusals and other vendor error envelopes (with the vendor's code and message), HTTP errors, HTML/non-JSON replies, unexpected shapes, DNS/connection failures (502) and timeouts (504). A robot with no saved credentials or an unknown brand is a 400. Other unexpected fleet errors answer 502 pointing at Diagnose. The live poll (`/robots/states`) carries a `reason` for a robot it could not read. New `useRobotFleetController().diagnoseRobot` (`GET /robots/:id/diagnose`, Seven365 staff only, read-only): credentials present/readable (yes/no only), serial, which step failed (sign-in/robot list, get robot, maps), the vendor's code/message and its clock offset. Vendor failures are logged server-side (path, HTTP status, vendor code/message; never the request body).
|
|
8
|
+
|
|
9
|
+
## 3.115.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 56d6cca: PadBot security robots (PadBot Robot Cloud Service API v4.0): new `padbot` brand with signed requests (HMAC-SHA256 over the RFC 8785 canonical body), live state (battery, floor, lift and access-door phases in plain words, position on the robot's map), patrol routes, start / resume patrol, stop, return to charge, go to point, relocalise, alarms as robot alerts (once per occurrence), live video URL on demand, resolve alerts, and patrol history. Pause / resume now need `pauseResume` and cancel needs `pauseProcess` (no change for existing brands).
|
|
14
|
+
|
|
3
15
|
## 3.114.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|