@7365admin1/core 3.137.0 → 3.139.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 3.139.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2b2960d: Membership lookup and organisation switcher ignore memberships that were taken away (inactive/deleted) and prefer the account's default organisation; SP-invite Repair also retires the unused full-access role the old sign-up left in the client's role list (Undo restores it); accept-new-company reuses the company its own invitation already created (retry/double click).
8
+
9
+ ## 3.138.0
10
+
11
+ ### Minor Changes
12
+
13
+ - e217005: Robots (Ounitech): every fault and alert code from the maker's troubleshooting list now reads in plain English with the maker's fix ("306 · Robot couldn't receive the chosen area. Clear the fault (press and release the emergency stop), then send the task again."); the robot profile carries the manual's step-by-step "how to clear this fault" (`profile.clearFault`); Clean area explains that "default" is the undivided map.
14
+
3
15
  ## 3.137.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -8092,6 +8092,8 @@ type TRobotInfo = {
8092
8092
  makerApp?: string;
8093
8093
  /** Things only the maker's app does ("patrol schedules"), so our screens say where to go. */
8094
8094
  makerAppOnly?: readonly string[];
8095
+ /** How a person clears a fault on the robot itself, step by step (the maker's manual); shown while it is in Error. */
8096
+ clearFault?: readonly string[];
8095
8097
  };
8096
8098
  type TRobotModelProfile = TRobotInfo & {
8097
8099
  /** "PadBot S2". */
@@ -8112,6 +8114,7 @@ type TRobotManifest = {
8112
8114
  alarms: string[];
8113
8115
  makerApp: string;
8114
8116
  makerAppOnly: string[];
8117
+ clearFault: string[];
8115
8118
  };
8116
8119
  };
8117
8120
  /**
@@ -10573,6 +10576,7 @@ declare function fleetStateItem(id: string, s: TFleetRobot, lastSeenAt?: number
10573
10576
  alarms: string[];
10574
10577
  makerApp: string;
10575
10578
  makerAppOnly: string[];
10579
+ clearFault: string[];
10576
10580
  };
10577
10581
  cleaning: TRobotCleaning | null;
10578
10582
  lastSeenAt: Date | null;
@@ -17887,6 +17891,10 @@ declare function useServiceProviderInviteService(): {
17887
17891
  siteName: string;
17888
17892
  createdAt: any;
17889
17893
  }[];
17894
+ leftoverRoles: {
17895
+ _id: string;
17896
+ name: string;
17897
+ }[];
17890
17898
  defaultOrgIsSender: boolean;
17891
17899
  repaired: {
17892
17900
  at: any;
@@ -19110,7 +19118,7 @@ declare function MHidAmicoIdentity(value: THidAmicoIdentity): {
19110
19118
  member: ObjectId | undefined;
19111
19119
  serviceProvider: ObjectId | undefined;
19112
19120
  visitor: ObjectId | undefined;
19113
- type: "admin" | "resident" | "staff" | "visitor" | "contractor" | "unknown";
19121
+ type: "resident" | "admin" | "staff" | "visitor" | "contractor" | "unknown";
19114
19122
  status: "deleted" | "active" | "inactive";
19115
19123
  metadata: Record<string, unknown>;
19116
19124
  createdAt: string | Date;
@@ -19222,7 +19230,7 @@ declare function useHidAmicoRepo(): {
19222
19230
  member: ObjectId | undefined;
19223
19231
  serviceProvider: ObjectId | undefined;
19224
19232
  visitor: ObjectId | undefined;
19225
- type: "admin" | "resident" | "staff" | "visitor" | "contractor" | "unknown";
19233
+ type: "resident" | "admin" | "staff" | "visitor" | "contractor" | "unknown";
19226
19234
  status: "deleted" | "active" | "inactive";
19227
19235
  metadata: Record<string, unknown>;
19228
19236
  createdAt: string | Date;
@@ -19626,7 +19634,7 @@ declare function useHidAmicoService(): {
19626
19634
  member: bson.ObjectId | undefined;
19627
19635
  serviceProvider: bson.ObjectId | undefined;
19628
19636
  visitor: bson.ObjectId | undefined;
19629
- type: "admin" | "resident" | "staff" | "visitor" | "contractor" | "unknown";
19637
+ type: "resident" | "admin" | "staff" | "visitor" | "contractor" | "unknown";
19630
19638
  status: "deleted" | "active" | "inactive";
19631
19639
  metadata: Record<string, unknown>;
19632
19640
  createdAt: string | Date;