@7365admin1/core 3.89.0 → 3.91.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/dist/index.d.ts CHANGED
@@ -6746,15 +6746,56 @@ type TNetworkQuery = {
6746
6746
  site?: string;
6747
6747
  type?: string;
6748
6748
  brand?: string;
6749
+ /** Only robots with an open fault (not counting OFFLINE). */
6750
+ faultsOnly?: boolean;
6751
+ /** Only robots with an open OFFLINE record. */
6752
+ offlineOnly?: boolean;
6753
+ /** Only these robot ids (the status filter, resolved from the sweep's snapshot). */
6754
+ ids?: string[];
6755
+ /**
6756
+ * Only these classes - the classes the calling app may see (`appSlug` ->
6757
+ * `robotTypesVisibleTo`). An EMPTY array matches nothing: a refusal must
6758
+ * never read as "no filter".
6759
+ */
6760
+ types?: string[];
6761
+ };
6762
+ type TNetworkFaultQuery = {
6763
+ page?: number;
6764
+ limit?: number;
6765
+ org?: string;
6766
+ site?: string;
6767
+ type?: string;
6768
+ code?: string;
6749
6769
  };
6750
6770
 
6751
6771
  declare function useRobotRepo(): {
6772
+ getActiveRobots: (ids?: string[]) => Promise<(TRobot & {
6773
+ _id: ObjectId;
6774
+ })[]>;
6752
6775
  getNetworkRobots: (q: TNetworkQuery) => Promise<{
6753
6776
  total: any;
6754
6777
  items: any[];
6755
6778
  pages: number;
6756
6779
  pageRange: string;
6757
6780
  }>;
6781
+ getSiteSummary: (q: TNetworkQuery) => Promise<{
6782
+ ids: string[];
6783
+ total: any;
6784
+ faults: any;
6785
+ offline: any;
6786
+ }>;
6787
+ getSiteNames: (site: string) => Promise<{
6788
+ client: {
6789
+ _id: string;
6790
+ name: string;
6791
+ };
6792
+ site: {
6793
+ _id: string;
6794
+ name: string;
6795
+ };
6796
+ }>;
6797
+ maxDemoSerial: (letter: "C" | "S") => Promise<number>;
6798
+ getDemoRobotsAtSite: (site: string) => Promise<mongodb.WithId<bson.Document>[]>;
6758
6799
  getNetworkSummary: () => Promise<{
6759
6800
  total: any;
6760
6801
  sites: any;
@@ -6768,10 +6809,7 @@ declare function useRobotRepo(): {
6768
6809
  }[];
6769
6810
  demo: any;
6770
6811
  byClient: any;
6771
- faults: {
6772
- live: false;
6773
- count: null;
6774
- };
6812
+ bySite: any;
6775
6813
  }>;
6776
6814
  createIndex: () => Promise<void>;
6777
6815
  createTextIndex: () => Promise<void>;
@@ -6827,6 +6865,7 @@ declare function useRobotService(): {
6827
6865
  declare function useRobotController(): {
6828
6866
  createRobot: (req: Request, res: Response, next: NextFunction) => Promise<void>;
6829
6867
  getRobots: (req: Request, res: Response, next: NextFunction) => Promise<void>;
6868
+ getRobot: (req: Request, res: Response, next: NextFunction) => Promise<void>;
6830
6869
  updateRobot: (req: Request, res: Response, next: NextFunction) => Promise<void>;
6831
6870
  deleteRobot: (req: Request, res: Response, next: NextFunction) => Promise<void>;
6832
6871
  };
@@ -6997,6 +7036,23 @@ type TRobotCommand = {
6997
7036
  options: TCleanOptionValues;
6998
7037
  } | {
6999
7038
  kind: "return";
7039
+ } | {
7040
+ kind: "pause";
7041
+ } | {
7042
+ kind: "resume";
7043
+ } | {
7044
+ kind: "cancel";
7045
+ } | {
7046
+ kind: "navigate";
7047
+ x: number;
7048
+ y: number;
7049
+ theta?: number;
7050
+ } | {
7051
+ kind: "relocalize";
7052
+ floorNo: number;
7053
+ x: number;
7054
+ y: number;
7055
+ theta: number;
7000
7056
  };
7001
7057
  type TCleanOptionValues = {
7002
7058
  cleanTimes: number;
@@ -7402,7 +7458,64 @@ type TAdapterRobot = {
7402
7458
  message: string;
7403
7459
  since?: number;
7404
7460
  } | null;
7461
+ /**
7462
+ * Where the robot is on its OWN floor plan, as a share of the plan: x and y
7463
+ * are 0-100 from the plan's top-left corner. Only a brand that knows its
7464
+ * plan's extent can say this (the demo does); `position` stays in metres.
7465
+ * A screen that draws a plan with no metres (the site mini-map) places a
7466
+ * robot only when this is present.
7467
+ */
7468
+ planPosition?: {
7469
+ x: number;
7470
+ y: number;
7471
+ } | null;
7405
7472
  };
7473
+ /**
7474
+ * A security robot's patrol: named routes of ordered, named checkpoints, and
7475
+ * the schedule that runs them (owner decision 2026-09-23: the full contract
7476
+ * now, behind the adapter, with a demo implementation; a real brand fills it
7477
+ * in when it connects).
7478
+ *
7479
+ * Checkpoint `x` / `y` are a share of the route's floor plan (0-100 from the
7480
+ * top-left), the same frame as `TAdapterRobot.planPosition`, so a robot and
7481
+ * its route draw on one plan without a metre transform.
7482
+ */
7483
+ type TRobotPatrolCheckpoint = {
7484
+ name: string;
7485
+ x: number;
7486
+ y: number;
7487
+ };
7488
+ type TRobotPatrolRoute = {
7489
+ id: string;
7490
+ /** "Route A · Lobby loop". */
7491
+ name: string;
7492
+ floorNo: number | null;
7493
+ checkpoints: TRobotPatrolCheckpoint[];
7494
+ /** Index of the checkpoint the robot is heading for now; null when it is not walking this route. */
7495
+ currentCheckpoint: number | null;
7496
+ };
7497
+ type TRobotPatrolScheduleRow = {
7498
+ routeId: string;
7499
+ /** 1-7, Monday first - the same day numbering as a cleaning plan's `dateList`. */
7500
+ days: number[];
7501
+ startTime: string;
7502
+ endTime: string;
7503
+ /** How many times the route is walked in the window. */
7504
+ rounds: number;
7505
+ };
7506
+ type TRobotPatrolPlan = {
7507
+ routes: TRobotPatrolRoute[];
7508
+ schedule: TRobotPatrolScheduleRow[];
7509
+ };
7510
+ /**
7511
+ * A brand's patrol answer, cleaned before it reaches a screen: a checkpoint
7512
+ * with no name or no position is dropped (positions clamp to the plan), a
7513
+ * route needs an id, a name and at least two checkpoints, the current
7514
+ * checkpoint must point at one that survived, and a schedule row must name a
7515
+ * surviving route, at least one day, a valid HH:MM window and at least one
7516
+ * round. Whatever a vendor sends, a screen gets exactly this shape.
7517
+ */
7518
+ declare function normalisePatrolPlan(raw: unknown): TRobotPatrolPlan;
7406
7519
  type TAdapterCommand = {
7407
7520
  kind: "full";
7408
7521
  } | {
@@ -7461,6 +7574,12 @@ type TRobotAdapter = {
7461
7574
  */
7462
7575
  getMapImages?(robotSn: string, fileKeys: string[]): Promise<unknown[]>;
7463
7576
  getPlans?(robotSn: string): Promise<unknown[]>;
7577
+ /**
7578
+ * A security robot's patrol routes and their schedule. Optional: a brand
7579
+ * without it has no patrol to show, and a screen says so rather than
7580
+ * inventing one. Every answer passes through `normalisePatrolPlan`.
7581
+ */
7582
+ getPatrolRoutes?(robotSn: string): Promise<TRobotPatrolPlan>;
7464
7583
  };
7465
7584
  declare function commandSupported(capabilities: TRobotCapabilities | null | undefined, kind: TAdapterCommand["kind"]): boolean;
7466
7585
  /**
@@ -7479,11 +7598,22 @@ type TRobotBrand = {
7479
7598
  brand: string;
7480
7599
  displayName: string;
7481
7600
  capabilities: TRobotCapabilities;
7601
+ /**
7602
+ * Commands the vendor says the robot takes but that are NOT yet proven
7603
+ * through its API. Recorded, never offered: `commandSupported` reads only
7604
+ * `capabilities`, so a pending command stays refused until it is proven and
7605
+ * its capability flag is turned on.
7606
+ */
7607
+ pendingCommands?: readonly TPendingCommand[];
7482
7608
  create(credentials: {
7483
7609
  appid: string;
7484
7610
  secret: string;
7485
7611
  }): TRobotAdapter;
7486
7612
  };
7613
+ type TPendingCommand = {
7614
+ kind: TAdapterCommand["kind"];
7615
+ reason: string;
7616
+ };
7487
7617
  /** Register a brand. Re-registering replaces it, so a test can swap one in. */
7488
7618
  declare function registerRobotBrand(brand: TRobotBrand): void;
7489
7619
  /**
@@ -8164,6 +8294,17 @@ declare function useRobotCloudService(credentials: TRobotCloudCredentials, optio
8164
8294
  */
8165
8295
  declare const OUNITECH_BRAND = "ounitech";
8166
8296
  declare const OUNITECH_CAPABILITIES: TRobotCapabilities;
8297
+ /**
8298
+ * Proven through their API (and wired in `sendCommand` below): clean all
8299
+ * (`full`), clean area (`area`), return to dock (`return`). The badge this
8300
+ * earns is "Basic control".
8301
+ *
8302
+ * Pause / resume / cancel: the owner reports the robot takes them, but no API
8303
+ * endpoint for them is documented or tested. Recorded here as pending so they
8304
+ * are not forgotten and never offered. To enable one when Ounitech confirms:
8305
+ * turn on `pauseProcess` above and add its call to `sendCommand`.
8306
+ */
8307
+ declare const OUNITECH_PENDING_COMMANDS: readonly TPendingCommand[];
8167
8308
  /**
8168
8309
  * Build an adapter bound to one estate's credentials.
8169
8310
  *
@@ -8211,6 +8352,133 @@ declare function registerOunitechBrand(): void;
8211
8352
  */
8212
8353
  declare const DEMO_BRAND = "demo";
8213
8354
  declare const DEMO_CAPABILITIES: TRobotCapabilities;
8355
+ type TDemoRobot = {
8356
+ robotSn: string;
8357
+ name: string;
8358
+ model: string;
8359
+ floorNo: number;
8360
+ /** Where it sits on its loop, 0..1. */
8361
+ phase: number;
8362
+ /** A patrol robot walks this route (index into DEMO_ROUTES) instead of a loop. */
8363
+ route?: number;
8364
+ /**
8365
+ * A serial-derived robot (`DEMO-C-###` / `DEMO-S-###`): what it is doing
8366
+ * when nobody has told it anything, and whether it is one of the few that
8367
+ * report a fault or report offline. The three original robots leave these
8368
+ * out and behave exactly as they always have.
8369
+ */
8370
+ derived?: {
8371
+ mode: string;
8372
+ offline: boolean;
8373
+ fault: {
8374
+ code: string;
8375
+ message: string;
8376
+ } | null;
8377
+ orbit: number;
8378
+ };
8379
+ };
8380
+ declare function derivedDemoRobot(robotSn: string): TDemoRobot | null;
8381
+ /** At most this many of each type per "Add demo robots" press. */
8382
+ declare const DEMO_ADD_MAX = 20;
8383
+ /**
8384
+ * The robots an "Add demo robots" press creates: `cleaning` DEMO-C-### and
8385
+ * `security` DEMO-S-### serials numbered on from the highest already used
8386
+ * (`taken`), named as the serial derives them ("Demo Cleaner 007"), so a
8387
+ * press never repeats a serial and every robot says it is a demo.
8388
+ */
8389
+ declare function planDemoRobots(counts: {
8390
+ cleaning: number;
8391
+ security: number;
8392
+ }, taken: {
8393
+ C: number;
8394
+ S: number;
8395
+ }): Array<{
8396
+ type: "cleaning" | "security";
8397
+ robotSn: string;
8398
+ name: string;
8399
+ }>;
8400
+ /**
8401
+ * The demo patrol routes, drawn on the demo plan as shares of it (0-100 from
8402
+ * the top-left) - the `TRobotPatrolRoute` frame. Names and shapes are the design
8403
+ * handoff's (`HERO Robot Fleet.dc.html`, ROUTES / ROUTE_NAMES).
8404
+ */
8405
+ declare const DEMO_ROUTES: readonly [{
8406
+ readonly id: "route-a";
8407
+ readonly name: "Route A · Lobby loop";
8408
+ readonly checkpoints: readonly [{
8409
+ readonly name: "Lobby";
8410
+ readonly x: 14;
8411
+ readonly y: 16;
8412
+ }, {
8413
+ readonly name: "Lift lobby";
8414
+ readonly x: 44;
8415
+ readonly y: 16;
8416
+ }, {
8417
+ readonly name: "Corridor B";
8418
+ readonly x: 44;
8419
+ readonly y: 52;
8420
+ }, {
8421
+ readonly name: "Fire exit";
8422
+ readonly x: 14;
8423
+ readonly y: 52;
8424
+ }];
8425
+ }, {
8426
+ readonly id: "route-b";
8427
+ readonly name: "Route B · Back-of-house";
8428
+ readonly checkpoints: readonly [{
8429
+ readonly name: "Loading bay";
8430
+ readonly x: 62;
8431
+ readonly y: 14;
8432
+ }, {
8433
+ readonly name: "Car park";
8434
+ readonly x: 88;
8435
+ readonly y: 14;
8436
+ }, {
8437
+ readonly name: "Bin centre";
8438
+ readonly x: 88;
8439
+ readonly y: 56;
8440
+ }, {
8441
+ readonly name: "Substation";
8442
+ readonly x: 62;
8443
+ readonly y: 56;
8444
+ }, {
8445
+ readonly name: "Server room";
8446
+ readonly x: 62;
8447
+ readonly y: 34;
8448
+ }];
8449
+ }, {
8450
+ readonly id: "route-c";
8451
+ readonly name: "Route C · Facilities deck";
8452
+ readonly checkpoints: readonly [{
8453
+ readonly name: "Pool deck";
8454
+ readonly x: 12;
8455
+ readonly y: 66;
8456
+ }, {
8457
+ readonly name: "Gym";
8458
+ readonly x: 64;
8459
+ readonly y: 66;
8460
+ }, {
8461
+ readonly name: "BBQ pit";
8462
+ readonly x: 64;
8463
+ readonly y: 88;
8464
+ }, {
8465
+ readonly name: "Playground";
8466
+ readonly x: 12;
8467
+ readonly y: 88;
8468
+ }];
8469
+ }];
8470
+ /**
8471
+ * Where a patrol robot is on its closed route at `now`: a share of the plan,
8472
+ * its heading (radians, plan frame) and the checkpoint it is walking TO.
8473
+ * Constant speed along the loop, so the time between checkpoints follows
8474
+ * their distance.
8475
+ */
8476
+ declare function demoPatrolPoint(route: number, phase: number, now: number): {
8477
+ x: number;
8478
+ y: number;
8479
+ theta: number;
8480
+ next: number;
8481
+ };
8214
8482
  /**
8215
8483
  * One demo robot develops a fault now and then, so fault notifications can be
8216
8484
  * seen without waiting for real hardware to break.
@@ -8229,6 +8497,16 @@ declare function demoFault(robotSn: string, now: number): {
8229
8497
  declare function createDemoAdapter(options?: {
8230
8498
  now?: () => number;
8231
8499
  }): TRobotAdapter;
8500
+ /**
8501
+ * The live position stream for a demo robot: a pose event every `everyMs`,
8502
+ * read from the adapter (the same clock-driven loop the state reads use), in
8503
+ * the shape the vendor stream is normalised to (`{ type: "pose", pose, at }`),
8504
+ * plus the robot's `planPosition`. Nothing leaves the process. Returns the
8505
+ * same `stop()` handle as `startRobotTracking`.
8506
+ */
8507
+ declare function startDemoTracking(adapter: TRobotAdapter, robotSn: string, onEvent: (event: Record<string, unknown>) => void, everyMs?: number): {
8508
+ stop(): void;
8509
+ };
8232
8510
  /**
8233
8511
  * Register the demo brand.
8234
8512
  *
@@ -8266,6 +8544,8 @@ type TFleetRobot = {
8266
8544
  name: string;
8267
8545
  brand: string;
8268
8546
  robotSn: string;
8547
+ /** The model the brand reports; "" when it names none. */
8548
+ model: string;
8269
8549
  statusName: string;
8270
8550
  mode: TRobotMode | string;
8271
8551
  online: boolean;
@@ -8278,6 +8558,11 @@ type TFleetRobot = {
8278
8558
  y: number;
8279
8559
  theta: number;
8280
8560
  } | null;
8561
+ /** Where it is on its own floor plan, 0-100 from the top-left; null when the brand cannot say. */
8562
+ planPosition: {
8563
+ x: number;
8564
+ y: number;
8565
+ } | null;
8281
8566
  /** A fault the robot is reporting now, or null. */
8282
8567
  fault: {
8283
8568
  code: string;
@@ -8309,12 +8594,15 @@ declare function useRobotFleetService(deps?: {
8309
8594
  }) => unknown;
8310
8595
  }): {
8311
8596
  adapterFor: (robot: TStoredRobot) => TRobotAdapter;
8312
- capabilitiesOf: (robot: TStoredRobot) => Readonly<Partial<Record<"readLocation" | "navigateToPoint" | "pauseResume" | "pathAndEta" | "battery" | "sendToDock" | "relocalize" | "startProcess" | "pauseProcess" | "processCompletion" | "floorReporting" | "multiFloor" | "spotClean", boolean>>>;
8597
+ capabilitiesOf: (robot: TStoredRobot) => Readonly<Partial<Record<"relocalize" | "readLocation" | "navigateToPoint" | "pauseResume" | "pathAndEta" | "battery" | "sendToDock" | "startProcess" | "pauseProcess" | "processCompletion" | "floorReporting" | "multiFloor" | "spotClean", boolean>>>;
8313
8598
  resolveRobotSn: (robot: TStoredRobot) => Promise<string>;
8314
8599
  getFleetRobot: (robot: TStoredRobot) => Promise<TFleetRobot>;
8315
8600
  getMaps: (robot: TStoredRobot) => Promise<unknown[]>;
8316
8601
  getMapImages: (robot: TStoredRobot, fileKeys: string[]) => Promise<unknown[]>;
8317
8602
  getPlans: (robot: TStoredRobot) => Promise<unknown[]>;
8603
+ getPatrolRoutes: (robot: TStoredRobot) => Promise<TRobotPatrolPlan & {
8604
+ supported: boolean;
8605
+ }>;
8318
8606
  dispatch: (robot: TStoredRobot, command: TAdapterCommand) => Promise<void>;
8319
8607
  };
8320
8608
 
@@ -8432,6 +8720,7 @@ declare function useRobotFleetController(deps?: {
8432
8720
  getMaps: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8433
8721
  getMapImages: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8434
8722
  getPlans: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8723
+ getPatrolRoutes: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8435
8724
  sendCommand: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8436
8725
  trackRobot: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8437
8726
  getBrands: (_req: Request, res: Response, next: NextFunction) => Promise<void>;
@@ -8614,68 +8903,465 @@ declare function useRobotLiftSessionRepo(): {
8614
8903
  cancelForMap: (mapId: ObjectId, keepLiftNames?: string[]) => Promise<void>;
8615
8904
  };
8616
8905
 
8617
- /**
8618
- * Building maps and the lift queue.
8619
- *
8620
- * Same three rules as the fleet controller:
8621
- *
8622
- * 1. **The estate comes from a stored record** - the robot when a map is
8623
- * created, the map itself afterwards, the session for a refresh or release.
8624
- * Never a site named in the request. A record the caller cannot reach answers
8625
- * as not found.
8626
- * 2. **Permission is the route's job** (`countPermission` on the existing
8627
- * robot-mgmt keys, under `ROBOT_PERMISSION_MODE`). No new keys: reading a map
8628
- * or a queue is `see-robot-details`; saving a map or asking for a lift is
8629
- * `update-robot`.
8630
- * 3. **Every write leaves a console-audit row**, after it succeeded. A refresh is
8631
- * not audited - it is a heartbeat, and a row every minute per robot would bury
8632
- * the rows that matter.
8633
- */
8634
- declare function useRobotMapController(deps?: {
8635
- now?: () => number;
8636
- }): {
8637
- listMaps: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8638
- getMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8639
- createMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8640
- updateMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8641
- deleteMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8642
- getLiftQueue: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8643
- requestLift: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8644
- refreshLiftSession: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8645
- releaseLiftSession: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8646
- getRobotLiftSession: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8906
+ /**
8907
+ * Building maps and the lift queue.
8908
+ *
8909
+ * Same three rules as the fleet controller:
8910
+ *
8911
+ * 1. **The estate comes from a stored record** - the robot when a map is
8912
+ * created, the map itself afterwards, the session for a refresh or release.
8913
+ * Never a site named in the request. A record the caller cannot reach answers
8914
+ * as not found.
8915
+ * 2. **Permission is the route's job** (`countPermission` on the existing
8916
+ * robot-mgmt keys, under `ROBOT_PERMISSION_MODE`). No new keys: reading a map
8917
+ * or a queue is `see-robot-details`; saving a map or asking for a lift is
8918
+ * `update-robot`.
8919
+ * 3. **Every write leaves a console-audit row**, after it succeeded. A refresh is
8920
+ * not audited - it is a heartbeat, and a row every minute per robot would bury
8921
+ * the rows that matter.
8922
+ */
8923
+ declare function useRobotMapController(deps?: {
8924
+ now?: () => number;
8925
+ }): {
8926
+ listMaps: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8927
+ getMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8928
+ createMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8929
+ updateMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8930
+ deleteMap: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8931
+ getLiftQueue: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8932
+ requestLift: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8933
+ refreshLiftSession: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8934
+ releaseLiftSession: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8935
+ getRobotLiftSession: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8936
+ };
8937
+
8938
+ /** `/network/states` answers at most this many robots per call - one screen page. */
8939
+ declare const NETWORK_STATES_MAX = 50;
8940
+ /**
8941
+ * Every robot deployed at every client's sites - the Seven365 console only.
8942
+ *
8943
+ * Owner, 2026-09-23: "Seven365 Super Admin can see ALL the robots deployed to
8944
+ * ALL its clients' sites." The per-estate listing
8945
+ * (`GET /robots/organization/:org/site/:site`) forces a client + site pick, so
8946
+ * this is the one listing with no estate in it.
8947
+ *
8948
+ * ## Who may call it
8949
+ *
8950
+ * **The super-admin MEMBERSHIP, never an email or a role name**:
8951
+ * `requirePlatformStaff` (a live `members` row of type "admin" whose role is a
8952
+ * live role of type "admin" - the same gate SP Approvals and Marketplace
8953
+ * Vendors stand on), asked with `CROSS_CLIENT_GRANT` - the tick that already
8954
+ * decides whether a staff role reaches across clients in `requireSiteReach`.
8955
+ * So this list shows exactly the robots whose sites the same person can open:
8956
+ * a staff role ticked for Promo Codes alone is not handed every client's fleet.
8957
+ * The seeded role's empty permission list and the live role's `"*"` both pass,
8958
+ * so no role document has to change.
8959
+ *
8960
+ * ## What it returns
8961
+ *
8962
+ * The stored record plus client and site NAMES, each row's open fault /
8963
+ * offline record (`robot-faults`, kept by the background sweep) and when it was
8964
+ * last seen online. Live status comes from `/network/states` for the rows on
8965
+ * screen (bounded), or the sweep's snapshot for the status filter and counts.
8966
+ */
8967
+ declare function useRobotNetworkController(): {
8968
+ listNetworkRobots: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8969
+ getNetworkSummary: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8970
+ listNetworkFaults: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8971
+ getNetworkStates: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8972
+ };
8973
+
8974
+ /** `/robots/states` answers at most this many robots per call - one screen page. */
8975
+ declare const SITE_STATES_MAX = 50;
8976
+ type TStored = TRobot & {
8977
+ _id?: unknown;
8978
+ };
8979
+ /**
8980
+ * The live state of these robots, as the fleet screens poll it (4 s): at most
8981
+ * 4 vendor reads in flight, each memoised 3 s (`readRobotState`) and cut off
8982
+ * at 8 s. A robot that does not answer is `{ ok: false }` ("Reconnecting"),
8983
+ * never a failed request; a brand with no adapter is `monitorable: false`
8984
+ * ("No interface"). Only fleet fields leave - never a credential.
8985
+ *
8986
+ * Shared by the console's `/network/states` and the estate-scoped
8987
+ * `/robots/states`; the callers decide who may ask about which robots.
8988
+ */
8989
+ declare function readLiveItems(robots: TStored[]): Promise<any[]>;
8990
+ /**
8991
+ * One estate's robots, for the site fleet screens (HERO README §2): Property
8992
+ * Management, Hygiene, Security and the console's drill-down.
8993
+ *
8994
+ * ## Who may call it
8995
+ *
8996
+ * Exactly who may call the existing per-estate listing
8997
+ * (`GET /robots/organization/:org/site/:site`): the route's `robot-mgmt`
8998
+ * permission gate, then `requireSiteReach` on the site - the estate the
8999
+ * caller names is checked against the session, so another client's site is
9000
+ * refused. `/robots/states` has no site in the request, so every robot asked
9001
+ * about is checked against ITS stored site, and one the caller cannot reach is
9002
+ * simply left out (as if it did not exist - robot ids cannot be probed).
9003
+ *
9004
+ * ## What the app narrows
9005
+ *
9006
+ * `appSlug` (client-supplied, so a visibility rule, not a boundary) narrows
9007
+ * every answer to the classes that app presents: Hygiene never learns a
9008
+ * security robot exists and Security never learns of a cleaning one - not in
9009
+ * the rows, the counts or the live states. An app that names no slug (the
9010
+ * console) is not narrowed.
9011
+ */
9012
+ declare function useRobotSiteController(): {
9013
+ listSiteFleet: (req: Request, res: Response, next: NextFunction) => Promise<void>;
9014
+ getSiteSummary: (req: Request, res: Response, next: NextFunction) => Promise<void>;
9015
+ getSiteStates: (req: Request, res: Response, next: NextFunction) => Promise<void>;
9016
+ addDemoRobots: (req: Request, res: Response, next: NextFunction) => Promise<void>;
9017
+ removeDemoRobots: (req: Request, res: Response, next: NextFunction) => Promise<void>;
9018
+ };
9019
+
9020
+ /**
9021
+ * `robot-faults` (owner approval, 2026-09-23): one record per fault
9022
+ * OCCURRENCE. Open while `clearedAt` is null; the unique partial index on
9023
+ * `{ robotId, code }` where `clearedAt: null` means one open record per robot
9024
+ * and code across every API instance, so "notify once" is a database fact
9025
+ * (`notifiedAt` is claimed atomically) rather than a per-process memory.
9026
+ *
9027
+ * "Offline / not reporting" is a fault record with the reserved code below, so
9028
+ * Needs attention and the Offline count are complete network-wide without a
9029
+ * single field added to `robots`.
9030
+ */
9031
+ declare const OFFLINE_FAULT_CODE = "OFFLINE";
9032
+ type TRobotFaultRecord = {
9033
+ _id?: unknown;
9034
+ robotId: unknown;
9035
+ orgId?: unknown;
9036
+ siteId?: unknown;
9037
+ code: string;
9038
+ message: string;
9039
+ since: Date;
9040
+ clearedAt: Date | null;
9041
+ notifiedAt: Date | null;
9042
+ /** OFFLINE only: set once when staff were told it stopped reporting. */
9043
+ offlineNotifiedAt?: Date | null;
9044
+ /** OFFLINE only: set once when staff were told it is back online. */
9045
+ recoveryNotifiedAt?: Date | null;
9046
+ createdAt: Date;
9047
+ };
9048
+ /**
9049
+ * The background sweep's settings, from the environment:
9050
+ * ROBOT_FAULT_SWEEP=off turns it off (no deploy);
9051
+ * ROBOT_FAULT_SWEEP_SECONDS (60) how often; 10..3600, rounded DOWN to a step that
9052
+ * divides the minute / hour evenly (45 -> 30, 90 -> 60);
9053
+ * ROBOT_FAULT_SWEEP_CONCURRENCY (4) robots read at once, 1..16;
9054
+ * ROBOT_FAULT_SWEEP_TIMEOUT_MS (10000) per robot, 1000..60000;
9055
+ * ROBOT_OFFLINE_ALERT_MINUTES (10) tell staff once a robot has not reported for this
9056
+ * long (1..1440); shorter blips alert nobody.
9057
+ */
9058
+ declare function robotFaultSweepConfig(env?: Record<string, string | undefined>): {
9059
+ enabled: boolean;
9060
+ seconds: number;
9061
+ cron: string;
9062
+ concurrency: number;
9063
+ timeoutMs: number;
9064
+ offlineAlertMinutes: number;
9065
+ };
9066
+
9067
+ /**
9068
+ * `robot-faults` - one record per fault occurrence (owner approval, 2026-09-23).
9069
+ *
9070
+ * Open while `clearedAt` is null. Two indexes, both wired in API-core
9071
+ * `setup.ts`:
9072
+ * - `one_open_fault_per_robot_code`: UNIQUE on `{ robotId, code }` where
9073
+ * `clearedAt: null`. Two sweeps on two instances (or a sweep and a state
9074
+ * read) racing to open the same fault get one record; the loser's insert is
9075
+ * refused and it reads the winner's. It also serves every per-robot lookup.
9076
+ * - `open_faults_by_since`: `{ clearedAt, since }` for the network list,
9077
+ * oldest first, and the sweep's "all open" read.
9078
+ *
9079
+ * Records are never deleted: a cleared record is the history of that fault.
9080
+ *
9081
+ * `orgId` / `siteId` are copied from the robot when the record opens. A robot
9082
+ * moved to another site keeps its open record's old site until that fault
9083
+ * clears (the list still joins the robot for its name and type) - accepted:
9084
+ * robots are not moved while faulted in practice.
9085
+ */
9086
+ declare function useRobotFaultRepo(): {
9087
+ createIndex: () => Promise<void>;
9088
+ getOpenFaults: () => Promise<mongodb.WithId<TRobotFaultRecord>[]>;
9089
+ getOpenFault: (robotId: unknown, code: string) => Promise<mongodb.WithId<TRobotFaultRecord> | null>;
9090
+ openFault: (doc: {
9091
+ robotId: unknown;
9092
+ orgId?: unknown;
9093
+ siteId?: unknown;
9094
+ code: string;
9095
+ message: string;
9096
+ since: Date;
9097
+ }) => Promise<ObjectId | null>;
9098
+ claimNotify: (id: unknown) => Promise<boolean>;
9099
+ claimOfflineAlert: (id: unknown, cutoff: Date) => Promise<boolean>;
9100
+ claimRecoveryAlert: (id: unknown) => Promise<boolean>;
9101
+ findNotifiedOccurrence: (robotId: unknown, code: string, since: Date | null, after: Date) => Promise<mongodb.WithId<TRobotFaultRecord> | null>;
9102
+ markNotified: (id: unknown, at: Date) => Promise<void>;
9103
+ clearFault: (id: unknown) => Promise<void>;
9104
+ listNetworkFaults: (q: TNetworkFaultQuery) => Promise<{
9105
+ items: any;
9106
+ page: number;
9107
+ limit: number;
9108
+ pages: number;
9109
+ total: any;
9110
+ }>;
9111
+ countNetworkFaults: () => Promise<{
9112
+ faults: {
9113
+ bySite: any;
9114
+ count: number;
9115
+ byType: {
9116
+ key: "security" | "cleaning";
9117
+ count: any;
9118
+ }[];
9119
+ live: true;
9120
+ };
9121
+ offline: {
9122
+ count: number;
9123
+ byType: {
9124
+ key: "security" | "cleaning";
9125
+ count: any;
9126
+ }[];
9127
+ };
9128
+ }>;
9129
+ };
9130
+
9131
+ type Recipient = string | ObjectId | Array<string | ObjectId>;
9132
+ declare class NotificationService {
9133
+ /**
9134
+ * Seven365's own staff, told about the platform's client lifecycle.
9135
+ *
9136
+ * Nothing in the estate addressed Seven365 staff before this: their bell was
9137
+ * empty by construction (owner, 2026-09-21). Both senders resolve the staff
9138
+ * list themselves — a caller cannot address the platform by accident — and
9139
+ * both are quiet when there are no staff accounts.
9140
+ *
9141
+ * No `appSlug`: staff work on the web, and the web feed asks for everything
9142
+ * addressed to the person. The category is `platform`, whose switch only
9143
+ * staff are shown.
9144
+ */
9145
+ static clientCreated(payload: {
9146
+ orgId: string | ObjectId;
9147
+ orgName: string;
9148
+ nature?: string;
9149
+ createdBy?: string;
9150
+ }): Promise<void>;
9151
+ static clientInvitationAccepted(payload: {
9152
+ email: string;
9153
+ invitationType: string;
9154
+ orgName?: string;
9155
+ }): Promise<void>;
9156
+ /**
9157
+ * A robot reports a fault. Seven365 staff are told, in the `platform`
9158
+ * category, exactly like the client lifecycle messages above.
9159
+ *
9160
+ * No `siteId` on the row on purpose: `filterByAccess` would then judge staff
9161
+ * against the client's site module list, and staff are not site members, so
9162
+ * the message would be dropped for the very people it is for. Dedupe is the
9163
+ * caller's job (`robot-fault.service.ts`) - this sends when asked.
9164
+ */
9165
+ static robotFault(payload: {
9166
+ robotId: string;
9167
+ robotName: string;
9168
+ fault: {
9169
+ code: string;
9170
+ message?: string;
9171
+ };
9172
+ }): Promise<void>;
9173
+ static robotConnection(payload: {
9174
+ robotId: string;
9175
+ robotName: string;
9176
+ online: boolean;
9177
+ minutes: number;
9178
+ }): Promise<void>;
9179
+ static bulletinBoardCreated(payload: {
9180
+ to: Recipient;
9181
+ bulletinId: string | ObjectId;
9182
+ subject: string;
9183
+ status: string | undefined;
9184
+ siteId?: string | ObjectId;
9185
+ }): Promise<void>;
9186
+ static prelovedMarketplacePostCreation(payload: {
9187
+ to: Recipient;
9188
+ prelovedId: string | ObjectId;
9189
+ subject: string;
9190
+ status: string | undefined;
9191
+ siteId?: string | ObjectId;
9192
+ }): Promise<void>;
9193
+ static onlineFormRequestStatusUpdated(payload: {
9194
+ to: Recipient;
9195
+ onlineFormId: string | ObjectId;
9196
+ status: string | undefined;
9197
+ siteId?: string | ObjectId;
9198
+ }): Promise<void>;
9199
+ static bulletinBoardCreatedForMA(payload: {
9200
+ to: Recipient;
9201
+ bulletinId: string | ObjectId;
9202
+ subject: string;
9203
+ status: string | undefined;
9204
+ siteId?: string | ObjectId;
9205
+ }): Promise<void>;
9206
+ static eventCreatedForMA(payload: {
9207
+ to: Recipient;
9208
+ eventId: string | ObjectId;
9209
+ status: string | undefined;
9210
+ siteId?: string | ObjectId;
9211
+ }): Promise<void>;
9212
+ static invitedVisitorCheckOutForMa(payload: {
9213
+ to: Recipient;
9214
+ name: string;
9215
+ _id: any;
9216
+ siteId?: string | ObjectId;
9217
+ }): Promise<void>;
9218
+ static bulletinBoardCreatedForServiceApps(payload: {
9219
+ to: Recipient;
9220
+ bulletinId: string | ObjectId;
9221
+ subject: string;
9222
+ status: string | undefined;
9223
+ siteId?: string | ObjectId;
9224
+ }, appSlug?: string): Promise<void>;
9225
+ /**
9226
+ * A property management company has invited this service provider to a site,
9227
+ * and Seven365 has approved it.
9228
+ *
9229
+ * This is deliberately on the SAME feed as everything else here — the one
9230
+ * `notifications` collection this class writes, which API-core serves at
9231
+ * `/notifications` and the apps already read. There is no second inbox for
9232
+ * invitations.
9233
+ *
9234
+ * Sent ONLY from `notifyProvider` in `service-provider-invite.service.ts`,
9235
+ * which is only reached once the invitation has been approved.
9236
+ */
9237
+ static serviceProviderInvited(payload: {
9238
+ to: Recipient;
9239
+ invitationId: string | ObjectId;
9240
+ title: string;
9241
+ orgName: string;
9242
+ siteName: string;
9243
+ siteId?: string | ObjectId;
9244
+ }): Promise<void>;
9245
+ /** An incident has just been raised at a site. */
9246
+ static incidentReported(payload: {
9247
+ siteId?: string | ObjectId | null;
9248
+ incidentId: string | ObjectId;
9249
+ reportId?: string;
9250
+ siteName?: string;
9251
+ }): Promise<number>;
9252
+ /**
9253
+ * An incident has been reviewed — approved or rejected. "Closed" is the same
9254
+ * event: `status` is the incident's own field and is repeated in the message
9255
+ * rather than translated, so it always matches what the screen shows.
9256
+ */
9257
+ static incidentStatusChanged(payload: {
9258
+ siteId?: string | ObjectId | null;
9259
+ incidentId: string | ObjectId;
9260
+ reportId?: string;
9261
+ status: string;
9262
+ }): Promise<number>;
9263
+ /**
9264
+ * A site's emergency contact list has changed — the numbers people are told
9265
+ * to ring when something goes wrong, so a wrong or missing one matters.
9266
+ *
9267
+ * The emergency-contact module lives in `iservice365-API-core`; this is the
9268
+ * sender it calls once a published core carries it.
9269
+ */
9270
+ static emergencyContactChanged(payload: {
9271
+ siteId?: string | ObjectId | null;
9272
+ contactId?: string | ObjectId | null;
9273
+ contactTitle?: string;
9274
+ action: "added" | "updated" | "removed";
9275
+ }): Promise<number>;
9276
+ /**
9277
+ * A patrol did not go to plan: it came back late or incomplete, or a guard
9278
+ * skipped a checkpoint.
9279
+ *
9280
+ * This only OBSERVES the patrol. Nothing here schedules, scores or changes a
9281
+ * patrol — `problem` is the wording, and `detail` is whatever the patrol
9282
+ * itself already recorded (the log's own status values, or the guard's typed
9283
+ * reason for skipping).
9284
+ */
9285
+ static patrolException(payload: {
9286
+ siteId?: string | ObjectId | null;
9287
+ patrolLogId?: string | ObjectId | null;
9288
+ routeName?: string;
9289
+ problem: string;
9290
+ detail?: string;
9291
+ }): Promise<number>;
9292
+ /**
9293
+ * A camera or ANPR unit is not answering, or is refusing its login.
9294
+ *
9295
+ * `message` is the operator wording already written in `camera-alert.util.ts`
9296
+ * and shown in the live toast, so the stored alert and the toast say the same
9297
+ * thing rather than drifting apart.
9298
+ */
9299
+ static cameraFault(payload: {
9300
+ siteId?: string | ObjectId | null;
9301
+ cameraId?: string | ObjectId | null;
9302
+ message: string;
9303
+ }): Promise<number>;
9304
+ }
9305
+
9306
+ type TRobotRef = {
9307
+ _id?: unknown;
9308
+ name?: string;
9309
+ metadata?: {
9310
+ orgId?: unknown;
9311
+ siteId?: unknown;
9312
+ } | null;
8647
9313
  };
8648
-
9314
+ type TFault = {
9315
+ code: string;
9316
+ message?: string;
9317
+ since?: number;
9318
+ };
9319
+ type TNotify = typeof NotificationService.robotFault;
9320
+ type TConnectionNotify = typeof NotificationService.robotConnection;
8649
9321
  /**
8650
- * Every robot deployed at every client's sites - the Seven365 console only.
8651
- *
8652
- * Owner, 2026-09-23: "Seven365 Super Admin can see ALL the robots deployed to
8653
- * ALL its clients' sites." The per-estate listing
8654
- * (`GET /robots/organization/:org/site/:site`) forces a client + site pick, so
8655
- * this is the one listing with no estate in it.
8656
- *
8657
- * ## Who may call it
8658
- *
8659
- * **The super-admin MEMBERSHIP, never an email or a role name**:
8660
- * `requirePlatformStaff` (a live `members` row of type "admin" whose role is a
8661
- * live role of type "admin" - the same gate SP Approvals and Marketplace
8662
- * Vendors stand on), asked with `CROSS_CLIENT_GRANT` - the tick that already
8663
- * decides whether a staff role reaches across clients in `requireSiteReach`.
8664
- * So this list shows exactly the robots whose sites the same person can open:
8665
- * a staff role ticked for Promo Codes alone is not handed every client's fleet.
8666
- * The seeded role's empty permission list and the live role's `"*"` both pass,
8667
- * so no role document has to change.
8668
- *
8669
- * ## What it returns
8670
- *
8671
- * The stored record plus client and site NAMES. No live state: see
8672
- * `robot-network.util.ts` - status and battery come from the existing
8673
- * per-robot `/state` call, for the robots actually on screen.
9322
+ * A state READ saw this fault (`/robots/:id/state`, `/network/states`):
9323
+ * record it now and tell Seven365 staff - once per occurrence, whichever
9324
+ * path or instance sees it first. Never rejects: a notification problem must
9325
+ * not fail the read that noticed the fault.
8674
9326
  */
8675
- declare function useRobotNetworkController(): {
8676
- listNetworkRobots: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8677
- getNetworkSummary: (req: Request, res: Response, next: NextFunction) => Promise<void>;
8678
- };
9327
+ declare function notifyRobotFault(robot: TRobotRef & {
9328
+ name?: string;
9329
+ }, fault: TFault | null | undefined, deps?: {
9330
+ notifyFn?: TNotify;
9331
+ }): Promise<void>;
9332
+ /**
9333
+ * The background sweep: every active robot, read through its adapter, so a
9334
+ * fault or an offline robot is recorded even when nobody is looking.
9335
+ *
9336
+ * Safe on several API instances at once WITHOUT a leader: every instance may
9337
+ * sweep; the unique partial index lets only one open a given record and the
9338
+ * `notifiedAt` claim lets only one notify. `running` only stops THIS instance
9339
+ * overlapping itself when a sweep outlasts the interval. Bounded: at most
9340
+ * `concurrency` robots in flight, each cut off at `timeoutMs` (a robot that
9341
+ * does not answer is OFFLINE, "Not reporting").
9342
+ *
9343
+ * ponytail: N instances make N reads per robot per interval (the 3 s memo
9344
+ * absorbs overlap on one instance only). A Redis lease per sweep is the
9345
+ * upgrade if vendor rate limits bite.
9346
+ */
9347
+ declare function useRobotFaultSweep(deps?: {
9348
+ /** Injected in tests so no vendor cloud is contacted. */
9349
+ readState?: (robot: any) => Promise<{
9350
+ online: boolean;
9351
+ fault?: TFault | null;
9352
+ }>;
9353
+ notifyFn?: TNotify;
9354
+ connectionNotifyFn?: TConnectionNotify;
9355
+ config?: Partial<ReturnType<typeof robotFaultSweepConfig>>;
9356
+ }): () => Promise<{
9357
+ skipped: boolean;
9358
+ robots: number;
9359
+ opened: number;
9360
+ cleared: number;
9361
+ notified: number;
9362
+ alerts: number;
9363
+ ms: number;
9364
+ }>;
8679
9365
 
8680
9366
  type TPatrolQuestion = {
8681
9367
  _id?: ObjectId;
@@ -10800,11 +11486,17 @@ declare function UseAccessManagementRepo(): {
10800
11486
  }>;
10801
11487
  assignedAccessCardsByUnitRepo: (params: {
10802
11488
  site: string;
10803
- unitId: string;
11489
+ unitId?: string;
10804
11490
  userType: string;
10805
11491
  type: string;
10806
11492
  search: string;
10807
- }) => Promise<bson.Document>;
11493
+ page?: number;
11494
+ limit?: number;
11495
+ }) => Promise<{
11496
+ items: any[];
11497
+ pages: number;
11498
+ pageRange: string;
11499
+ }>;
10808
11500
  acknowlegdeCardRepo: (params: {
10809
11501
  userId: string[];
10810
11502
  cardId: string[];
@@ -15129,7 +15821,7 @@ declare function MHidAmicoReader(value: THidAmicoReader): {
15129
15821
  monitorConfiguredAt: string | Date;
15130
15822
  lastCallbackAt: string | Date;
15131
15823
  lastCallbackType: string;
15132
- operatingMode: "standalone" | "online";
15824
+ operatingMode: "online" | "standalone";
15133
15825
  cardReadingMode: "unconfigured" | "pacs" | "csn" | "csn_for_mifare";
15134
15826
  csnByteOrder: "msb" | "lsb";
15135
15827
  pacsFormat: "raw" | "wiegand";
@@ -15550,7 +16242,7 @@ declare function useHidAmicoService(): {
15550
16242
  monitorConfiguredAt?: string | Date | undefined;
15551
16243
  lastCallbackAt?: string | Date | undefined;
15552
16244
  lastCallbackType?: string | undefined;
15553
- operatingMode?: "standalone" | "online" | undefined;
16245
+ operatingMode?: "online" | "standalone" | undefined;
15554
16246
  cardReadingMode?: "unconfigured" | "pacs" | "csn" | "csn_for_mifare" | undefined;
15555
16247
  csnByteOrder?: "msb" | "lsb" | undefined;
15556
16248
  pacsFormat?: "raw" | "wiegand" | undefined;
@@ -16790,175 +17482,6 @@ declare function moduleDeniedForCaller({ userId, site, module, at, }: {
16790
17482
  at?: Date | string | number | null;
16791
17483
  }, data?: TModuleGateData): Promise<TModuleAccess>;
16792
17484
 
16793
- type Recipient = string | ObjectId | Array<string | ObjectId>;
16794
- declare class NotificationService {
16795
- /**
16796
- * Seven365's own staff, told about the platform's client lifecycle.
16797
- *
16798
- * Nothing in the estate addressed Seven365 staff before this: their bell was
16799
- * empty by construction (owner, 2026-09-21). Both senders resolve the staff
16800
- * list themselves — a caller cannot address the platform by accident — and
16801
- * both are quiet when there are no staff accounts.
16802
- *
16803
- * No `appSlug`: staff work on the web, and the web feed asks for everything
16804
- * addressed to the person. The category is `platform`, whose switch only
16805
- * staff are shown.
16806
- */
16807
- static clientCreated(payload: {
16808
- orgId: string | ObjectId;
16809
- orgName: string;
16810
- nature?: string;
16811
- createdBy?: string;
16812
- }): Promise<void>;
16813
- static clientInvitationAccepted(payload: {
16814
- email: string;
16815
- invitationType: string;
16816
- orgName?: string;
16817
- }): Promise<void>;
16818
- /**
16819
- * A robot reports a fault. Seven365 staff are told, in the `platform`
16820
- * category, exactly like the client lifecycle messages above.
16821
- *
16822
- * No `siteId` on the row on purpose: `filterByAccess` would then judge staff
16823
- * against the client's site module list, and staff are not site members, so
16824
- * the message would be dropped for the very people it is for. Dedupe is the
16825
- * caller's job (`robot-fault.service.ts`) - this sends when asked.
16826
- */
16827
- static robotFault(payload: {
16828
- robotId: string;
16829
- robotName: string;
16830
- fault: {
16831
- code: string;
16832
- message?: string;
16833
- };
16834
- }): Promise<void>;
16835
- static bulletinBoardCreated(payload: {
16836
- to: Recipient;
16837
- bulletinId: string | ObjectId;
16838
- subject: string;
16839
- status: string | undefined;
16840
- siteId?: string | ObjectId;
16841
- }): Promise<void>;
16842
- static prelovedMarketplacePostCreation(payload: {
16843
- to: Recipient;
16844
- prelovedId: string | ObjectId;
16845
- subject: string;
16846
- status: string | undefined;
16847
- siteId?: string | ObjectId;
16848
- }): Promise<void>;
16849
- static onlineFormRequestStatusUpdated(payload: {
16850
- to: Recipient;
16851
- onlineFormId: string | ObjectId;
16852
- status: string | undefined;
16853
- siteId?: string | ObjectId;
16854
- }): Promise<void>;
16855
- static bulletinBoardCreatedForMA(payload: {
16856
- to: Recipient;
16857
- bulletinId: string | ObjectId;
16858
- subject: string;
16859
- status: string | undefined;
16860
- siteId?: string | ObjectId;
16861
- }): Promise<void>;
16862
- static eventCreatedForMA(payload: {
16863
- to: Recipient;
16864
- eventId: string | ObjectId;
16865
- status: string | undefined;
16866
- siteId?: string | ObjectId;
16867
- }): Promise<void>;
16868
- static invitedVisitorCheckOutForMa(payload: {
16869
- to: Recipient;
16870
- name: string;
16871
- _id: any;
16872
- siteId?: string | ObjectId;
16873
- }): Promise<void>;
16874
- static bulletinBoardCreatedForServiceApps(payload: {
16875
- to: Recipient;
16876
- bulletinId: string | ObjectId;
16877
- subject: string;
16878
- status: string | undefined;
16879
- siteId?: string | ObjectId;
16880
- }, appSlug?: string): Promise<void>;
16881
- /**
16882
- * A property management company has invited this service provider to a site,
16883
- * and Seven365 has approved it.
16884
- *
16885
- * This is deliberately on the SAME feed as everything else here — the one
16886
- * `notifications` collection this class writes, which API-core serves at
16887
- * `/notifications` and the apps already read. There is no second inbox for
16888
- * invitations.
16889
- *
16890
- * Sent ONLY from `notifyProvider` in `service-provider-invite.service.ts`,
16891
- * which is only reached once the invitation has been approved.
16892
- */
16893
- static serviceProviderInvited(payload: {
16894
- to: Recipient;
16895
- invitationId: string | ObjectId;
16896
- title: string;
16897
- orgName: string;
16898
- siteName: string;
16899
- siteId?: string | ObjectId;
16900
- }): Promise<void>;
16901
- /** An incident has just been raised at a site. */
16902
- static incidentReported(payload: {
16903
- siteId?: string | ObjectId | null;
16904
- incidentId: string | ObjectId;
16905
- reportId?: string;
16906
- siteName?: string;
16907
- }): Promise<number>;
16908
- /**
16909
- * An incident has been reviewed — approved or rejected. "Closed" is the same
16910
- * event: `status` is the incident's own field and is repeated in the message
16911
- * rather than translated, so it always matches what the screen shows.
16912
- */
16913
- static incidentStatusChanged(payload: {
16914
- siteId?: string | ObjectId | null;
16915
- incidentId: string | ObjectId;
16916
- reportId?: string;
16917
- status: string;
16918
- }): Promise<number>;
16919
- /**
16920
- * A site's emergency contact list has changed — the numbers people are told
16921
- * to ring when something goes wrong, so a wrong or missing one matters.
16922
- *
16923
- * The emergency-contact module lives in `iservice365-API-core`; this is the
16924
- * sender it calls once a published core carries it.
16925
- */
16926
- static emergencyContactChanged(payload: {
16927
- siteId?: string | ObjectId | null;
16928
- contactId?: string | ObjectId | null;
16929
- contactTitle?: string;
16930
- action: "added" | "updated" | "removed";
16931
- }): Promise<number>;
16932
- /**
16933
- * A patrol did not go to plan: it came back late or incomplete, or a guard
16934
- * skipped a checkpoint.
16935
- *
16936
- * This only OBSERVES the patrol. Nothing here schedules, scores or changes a
16937
- * patrol — `problem` is the wording, and `detail` is whatever the patrol
16938
- * itself already recorded (the log's own status values, or the guard's typed
16939
- * reason for skipping).
16940
- */
16941
- static patrolException(payload: {
16942
- siteId?: string | ObjectId | null;
16943
- patrolLogId?: string | ObjectId | null;
16944
- routeName?: string;
16945
- problem: string;
16946
- detail?: string;
16947
- }): Promise<number>;
16948
- /**
16949
- * A camera or ANPR unit is not answering, or is refusing its login.
16950
- *
16951
- * `message` is the operator wording already written in `camera-alert.util.ts`
16952
- * and shown in the live toast, so the stored alert and the toast say the same
16953
- * thing rather than drifting apart.
16954
- */
16955
- static cameraFault(payload: {
16956
- siteId?: string | ObjectId | null;
16957
- cameraId?: string | ObjectId | null;
16958
- message: string;
16959
- }): Promise<number>;
16960
- }
16961
-
16962
17485
  /**
16963
17486
  * What the product can notify somebody about, and on which channels.
16964
17487
  *
@@ -17461,4 +17984,4 @@ declare function usePersonalEmergencyChainController(): {
17461
17984
  update: (req: Request, res: Response, next: NextFunction) => Promise<void>;
17462
17985
  };
17463
17986
 
17464
- export { ANPRMode, APP_BASE_URLS, AUDIT_VALUE_MAX_LENGTH, AccessTypeProps, AppKey, AppServiceType, AssignCardConfig, BLOCKLIST_CATEGORIES, BULK_CAMERA_COLUMNS, BidStatus, BidType, BuildingLevelStatus, BuildingStatus, BulkCameraAccepted, BulkCameraOutcome, BulkCameraPlan, BulkCameraResult, BulkCardUpdate, BulletinOrder, BulletinRecipient, BulletinSort, BulletinStatus, BulletinVideoOrder, BulletinVideoSort, CAMERA_ANPR_PERMISSIONS, CAMERA_CAPABILITIES, CAMERA_CAPABILITY_REASONS, CAMERA_MANAGE_ANY_PERMISSIONS, CAMERA_NOT_PATROL_OR_CCTV, CAMERA_NO_SUB_STREAM_TTL_SECONDS, CAMERA_PTZ_PERMISSIONS, CAMERA_RECORDINGS_PERMISSIONS, CAMERA_REQUEST_TIMEOUT_MS, CAMERA_RTSP_TIMEOUT_MS, CAMERA_SETUP_PERMISSIONS, CAMERA_SNAPSHOT_CACHE_SECONDS, CAMERA_SNAPSHOT_MAX_BYTES, CAMERA_TEST_MIN_INTERVAL_SECONDS, CAMERA_TEST_ROUND_LIMIT, CAMERA_TEST_ROUND_SECONDS, CAMERA_TYPE_ANPR, CAMERA_TYPE_IP, CAMERA_VIEW_PERMISSIONS, CLIENT_ACTIONS, CLOCK_DRIFT_WARN_SECONDS, CONSOLE_AUDIT_LABELS, CONSOLE_PERMISSIONS, CONTRACTOR_TYPE_LABELS, CROSS_CLIENT_GRANT, CURRENT_TIME_ENDPOINT, Camera, CameraAddressInput, CameraCapability, CameraCapabilityContext, CameraCapabilityDescriptor, CameraCapabilityEntry, CameraCapabilityReason, CameraCapabilityState, CameraCapabilityTrace, CameraDevice, CameraFrame, CameraMembership, CameraStream, CameraTestStatus, CameraTransport, CameraType, ConsoleAuditAction, ConsoleAuditTarget, ConsoleGrant, DEFAULT_RING_SECONDS, DEFAULT_SCALE_M_PER_PX, DEFAULT_SITE_TIMEZONE, DEMO_BRAND, DEMO_CAPABILITIES, DEMO_FAULT_ROBOT, DEVICE_STATUS, DOBStatus, DUPLICATE_TERMS_VERSION_MESSAGE, DayOfWeek, DeviceHttpTarget, DeviceProbeResult, DynamicFormFields, E164, EAccessCardTypes, EAccessCardUserTypes, EmailSender, EntryOrder, EntrySort, EventOrder, EventSort, EventStatus, EventType, FacilitySort, FacilityStatus, FormEntryStatus, GOVERNED_MODULES, GuestSort, GuestStatus, HID_CARD_VALUE_FACTOR, HID_PERMISSION_CATEGORIES, HID_UINT32_MAX, HID_UINT64_MAX, HidRawUint64, IAccessCard, IAccessCardTransaction, InviteActor, LIFT_DOOR, LIFT_LEASE_MS, LIFT_MODE, LIFT_MOTION, LIFT_QUEUE_TTL_MS, LIFT_REQUEST, LIFT_SESSION_STATUS, LIFT_SIM_BOARD_MS, LIFT_SIM_DOOR_DWELL_MS, LIFT_SIM_MS_PER_FLOOR, LIVE_ROLE, LIVE_VEHICLE_STATUSES, MANAGE_SITE_MODULES, MAX_BULK_CAMERA_ROWS, MAX_CAMERA_CHANNEL, MAX_CAMERA_NAME_LENGTH, MAX_PERSONAL_EMERGENCY_CONTACTS, MAX_RING_SECONDS, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBidPreloved, MBillingConfiguration, MBillingItem, MBuilding, MBuildingLevel, MBuildingUnit, MBulletinBoard, MBulletinVideo, MCategoryPreloved, MChannelPreloved, MChat, MChatPreloved, MConsoleAudit, MCustomer, MCustomerSite, MDocumentManagement, MEMBER_TYPES, MEntryPassSettings, MEventManagement, MFeedback, MFile, MFormEntry, MGuestManagement, MHidAmicoEvent, MHidAmicoIdentity, MHidAmicoReader, MHidSipAccount, MHidSitePermissions, MIN_RING_SECONDS, MIncidentReport, MManpowerDesignations, MManpowerMonitoring, MManpowerRemarks, MManpowerSites, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MNotification, MNotificationPreference, MODULE_GATE_MODE_DEFAULT, MODULE_LIST_GATE_DEFAULT, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MOvernightParkingApprovalHours, MOvernightParkingRequest, MPatrolEmail, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPersonalEmergencyChain, MPlatformTerms, MPost, MPostFavorite, MPromoCode, MRobot, MRobotBuildingMap, MRole, MRoleV2, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubcategoryPreloved, MSubscription, MSubscriptionPlan, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVerificationV2, MVisitorTransaction, MWorkOrder, NOTIFICATION_CATEGORIES, NOTIFICATION_CHANNELS, NOTIFICATION_CHANNEL_LABELS, NOTIFICATION_NAMESPACE, NOTIFY_ACCESS_FILTER_DEFAULT, NotificationAppSlug, NotificationCategory, NotificationChannel, NotificationModule, NotificationPreferenceView, NotificationService, ORG_MARKETPLACE_VENDOR_FIELD, ORG_OWNER_REPAIR_CLAIM_STALE_MS, ORG_OWNER_REPAIR_CLAIM_TAKEN_REASON, ORG_OWNER_REPAIR_DEFAULT, ORG_OWNER_REPAIR_OFF_REASON, OUNITECH_BRAND, OUNITECH_CAPABILITIES, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PATROL_CCTV_CAMERA_FILTER, PATROL_EMAIL_MAX_LOGS, PATROL_EMAIL_MAX_PER_HOUR, PATROL_EMAIL_MAX_RECIPIENTS, PERSON_TYPES, PLAN_RANGE, PLATFORM_STAFF_MEMBER_TYPE, PLATFORM_STAFF_ROLE_TYPE, PLAYBACK_LINK_SECONDS, PLAYBACK_MAX_WINDOW_SECONDS, PROPERTY_MANAGEMENT_MEMBER_TYPES, PStatus, PTZ_ALLOWED_ACTIONS, PTZ_ALLOWED_CODES, Period, PersonStatus, PersonType, PersonTypes, PlatformTermsStatus, PostOrder, PostSort, PostStatus, QrTagProps, REALTIME_MAX_FANOUT, REGISTERED_VEHICLE_CATEGORIES, ROBOT_APP_SCOPES, ROBOT_CAPABILITIES, ROBOT_CLOUD_DOC_CONFIRMATIONS, ROBOT_CLOUD_PATHS, ROBOT_CLOUD_TIMEOUT_MS, ROBOT_MODULE, ROBOT_PERMISSIONS, ROBOT_STATUS_NAMES, ROBOT_TYPES, ResidentAppModuleKey, RobotCloudError, SELF_SERVICE_RESEND_COOLDOWN_MS, SELF_SIGNUP_PLATFORM, SELF_SIGNUP_STATUS, SELF_SIGNUP_TYPES, SERVICE_PROVIDER_INVITE_LABELS, SERVICE_PROVIDER_INVITE_TRANSITIONS, SERVICE_PROVIDER_SIGN_IN_SUBJECT, SERVICE_PROVIDER_SIGN_IN_TYPE, SERVICE_PROVIDER_SIGN_UP_SUBJECT, SERVICE_PROVIDER_SIGN_UP_TYPE, SOFTWARE_VERSION_ENDPOINT, ServiceProviderInviteAction, ServiceProviderInviteDecision, ServiceProviderInviteFacts, SiteAddress, SiteCategories, SiteStatus, SortFields, SortOrder, Status, SubjectOrder, SubjectSort, SubscriptionBillingMode, SubscriptionType, TAccessMngmntSettings, TActionStatus, TAdapterCommand, TAdapterRobot, TAddress, TAffectedEntities, TAffectedInjured, TAppServiceType, TApprovedBy, TApprover, TAreaColour, TAttendance, TAttendanceCheckIn, TAttendanceCheckOut, TAttendanceCheckTime, TAttendanceLocation, TAttendanceSettings, TAttendanceSettingsGetBySite, TAuthorities, TAuthoritiesCalled, TBidPreloved, TBilling, TBillingConfiguration, TBillingItem, TBuilding, TBuildingLevel, TBuildingMapDoor, TBuildingMapLevel, TBuildingMapLift, TBuildingUnit, TBulletinBoard, TBulletinVideo, TCamera, TCameraHealthClaim, TCategoryPreloved, TChannelPreloved, TChat, TChatPreloved, TCheckPoint$1 as TCheckPoint, TCleanLevel, TCleanMode, TCleanOptionValues, TCleanOptions, TCleanSubMode, TCloudArea, TCloudFile, TCloudMap, TCloudPlan, TCloudPlanJob, TCloudRobot, TComplaintInfo, TComplaintReceivedTo, TConsoleAudit, TConsoleAuditQuery, TCounter, TCreateNfcPatrolLog, TCustomer, TCustomerSite, TCustomerSitePropertyField, TDayNumber, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentCreate, TDocumentManagement, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TFiles, TFleetRobot, TFloorPlanLevel, TFloorPlanMap, TFloorSlab, TFolderUpdate, TFormEntry, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, THidAmicoEvent, THidAmicoGatewayJob, THidAmicoIdentity, THidAmicoPhysicalCard, THidAmicoReader, THidPermissionAssignment, THidPermissionCategory, THidPermissionUserBinding, THidPhysicalCardInput, THidPhysicalCardType$1 as THidPhysicalCardType, THidSipAccount, THidSitePermissions, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TKeyRef, TLevelSolids, TLiftDoorState, TLiftDriver, TLiftMode, TLiftMotionState, TLiftPhase, TLiftRequest, TLiftRequestType, TLiftSessionStatus, TLiftState, TManpowerDesignations, TManpowerDesignationsUpdate, TManpowerMonitoring, TManpowerMonitoringUpdate, TManpowerRemarks, TManpowerRemarksStatusUpdate, TManpowerRemarksUpdate, TManpowerSearchFilter, TManpowerSites, TMapDoor, TMapFloor, TMapMeasurement, TMapPointM, TMapSegment, TMapVertex, TMapWall, TMember, TMemberModulesDeps, TMemberUpdateStatus, TMessagePreloved, TMiniRole, TModuleAccess, TModuleGateMode, TModuleImpact, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TNotification, TNotificationPreference, TNotificationPreferenceOff, TNotifyAccessContext, TNotifyAccessMode, TNotifyAccessReport, TOccupancyGrid, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOrg, TOrgModulesDeps, TOrgOwnerRepairClaim, TOrgOwnerRepairDeps, TOrgOwnerRepairInput, TOrgOwnerRepairPayload, TOrgOwnerRepairPlan, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPatrolEmail, TPatrolEmailCreatedBy, TPatrolEmailLogRef, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPerson, TPersonalEmergencyChain, TPersonalEmergencyContact, TPlaceOfIncident, TPlates, TPlatformTerms, TPost, TPostFavorite, TPrice, TPriceType, TPromoCode, TPromoCurrencyInput, TPromoTier, TRACKING_BACKOFF_BASE_MS, TRACKING_BACKOFF_CAP_MS, TRACKING_IDLE_TIMEOUT_MS, TRANSPORT_DEVICE_HTTP, TRANSPORT_RELAY_PLAYBACK, TRANSPORT_RELAY_PLAYER, TRANSPORT_RTSP_FRAME, TRecipientOfComplaint, TRemarks, TResident, TResidentAppModules, TRobot, TRobotAction, TRobotAdapter, TRobotAppScope, TRobotBrand, TRobotBuildingMap, TRobotCapabilities, TRobotCapability, TRobotCloudCredentials, TRobotCloudPath, TRobotCloudReply, TRobotCommand, TRobotLiftSession, TRobotLiveState, TRobotMetadata, TRobotMode, TRobotPermissionActor, TRobotPose, TRobotTier, TRobotType, TRole, TRolePermissionHistoryEntry, TRoleV2, TRoute, TSOABillingItem, TSOAStatus, TSelfServiceEmailOccasion, TSelfServiceEmailRecord, TSelfServiceResendDecision, TSelfServiceResendFacts, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TShifts, TSignNfcPatrolLog, TSite, TSiteCamera, TSiteDayBounds, TSiteFacility, TSiteFacilityBooking, TSiteInfo, TSiteInformation, TSiteMetadata, TSiteModulesDeps, TSiteUpdateBlock, TSseEvent, TStatementOfAccount, TSubcategoryPreloved, TSubmissionForm, TSubscription, TSubscriptionPlan, TSubscriptionPlanApplication, TTrackingEvent, TTrackingHandle, TUnitBilling, TUnits, TUpdateFormEntry, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleAnprCamera, TVehicleHistoryEntry, TVehicleTransaction, TVehicleUpdate, TVerification, TVerificationCode, TVerificationEvent, TVerificationMetadata, TVerificationMetadataV2, TVerificationOnboarding, TVerificationV2, TVisitorTransaction, TWallSolid, TWorkOrder, TWorkOrderMetadata, TWorkOrderUpdate, TWorkOrderUpdateStatus, TWorkOrderUpdateToCompleted, TanyoneDamageToProperty, UNSTORED_COLUMNS, UseAccessManagementRepo, UserStatus, VEHICLE_HISTORY_LIMIT, VERIFICATION_OPEN_STATUSES, VehicleCategory, VehicleListView, VehicleOrder, VehicleSort, VehicleStatus, VehicleType, VerificationLinkType, VerificationStatus, VerificationSubjectType, VerificationType, VisitorSort, VisitorStatus, WALL_HEIGHT_M, WALL_THICKNESS_M, adapterForRobot, addressSchema, allowedFieldsSite, allowedNatures, allowedPlanApplications, allowsRobotAction, allowsRobotListing, applyTrackingFrame, areaColourToHex, attendanceSchema, attendanceSettingsSchema, buildSelfServiceEmailContext, buildingMapBodySchema, buildingMapCreateSchema, buildingMapFromRobotMaps, buildingMapUpdateSchema, buildingSolids, building_level_namespace_collection, building_units_namespace_collection, buildings_namespace_collection, bulletin_boards_namespace_collection, callerAccountApproved, callerId, cameraBaseUrl, cameraCapabilitiesFor, cameraDevices, cameraGrant, cameraHealthClaim, cameraHealthSummary, cameraListClearConfirmation, cameraManagePermissions, cameraProbeCacheKey, cameraTransports, canManageSiteModules, canMonitorRobotType, canRevokeRefreshTokenFamily, canSetUpRobotType, categoriesForPermissions, categorySupportsChannel, chatPrelovedEvents, chatSchema, claimReadsAsStale, clampPtzSpeed, clearRobotBrands, clockDriftSeconds, commandSupported, consoleRoleAllows, consoleRoleAllowsAll, consoleSpellings, console_audit_namespace_collection, createDemoAdapter, createLiftSimulator, createManpowerRemarksDaily, createOunitechAdapter, createSseParser, customerSchema, customerSitePropertyFields, decideSelfServiceResend, decideServiceProviderInvite, decodeHidPacsCard, decodeTrackingFrame, demoFault, deniedModules, deriveBulletinStatus, deriveCameraHost, describeCameraCapabilities, designationsSchema, deviceControlEnabled, deviceHttpEnabled, deviceHttpTargets, deviceHttpTimeoutMs, deviceProbeTtlSeconds, disconnectedState, emitNotificationCreated, emptyPersonalEmergencyChain, encodeGreyscalePng, encodeHidPacsCard, entitledSiteScope, events_namespace_collection, expandModules, expiredBulletinSweepFilter, expiredVehicleSweepFilter, facility_bookings_namespace_collection, feedbackSchema, feedbacks2_namespace_collection, feedbacks_namespace_collection, ffmpegFrameArgs, ffmpegPath, filterByAccess, formatCapabilityTrace, formatDahuaDate, getIO, getSessionIdFromRequest, grabWithSubStreamFallback, greyscalePngDataUri, guests_namespace_collection, hasAnyCapability, hasAnyPermission, hasOrgInvitation, hasOrgOwnership, hasOrgSiteReach, hexToAreaColour, hidRawUint64, holdsLift, holdsRole, incidentReport, incidentReportLog, incidents_namespace_collection, invitationOffersRole, isAvailableForWork, isCameraEntitled, isDispatchable, isDuplicateMemberError, isDuplicateVersionError, isLiftAvailable, isLikelySelfServiceEmail, isLiveVehicleStatus, isPatrolCctvCamera, isPlatformOwner, isPromoCodeExpired, isRelayPlayerUrl, isSafeRelativePath, isSafeToCross, isSeasonPassVehicle, isSuperAdmin, isTermsCurrent, isTrackingStale, isValidTimezone, levelPixelToMetres, levelScale, levelSolids, liftQueueKey, liftRequestSchema, listStaffUserIds, liveStatusFor, logCamera, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, mapWithLimit, maskNric, memberModulesHandlers, metresToPixel, missingForTier, moduleDeniedForCaller, moduleGateEnforceKeys, moduleGateMode, moduleImpact, moduleListGateOn, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, normalizeAcceptedTerms, normalizeHidCardValue, notificationAccessReport, notificationCategory, notificationCategoryLabel, notificationEvents, notificationRoom, notifyAccessMode, occasionForStatus, occurrence_book_namespace_collection, onBookTimezonesChanged, online_forms_namespace_collection, orgLevelRoles, orgModulesHandlers, orgOwnerRepairHandlers, orgOwnerRepairOn, orgQualifiesForOwnerRepair, orgSchema, overnight_parking_requests_namespace_collection, parseCameraChannel, parseCameraHost, parseDahuaFind, parseDeviceTime, parseHidJsonLossless, parsePromoExpiry, parseRobotCommand, parseSoftwareVersion, pickAuditFields, pickCustomerSiteProperties, pixelToMetres, planBulkCameraImport, planDayFromJsDay, planOrgOwnerRepair, platform_terms_namespace_collection, playbackRelays, playbackWindowRefusal, promoCodeRefusal, promoCodeSchema, promoCodeStatusSchema, promoCodeUpdate, promoCodeUpdateSchema, ptzEndpoint, publicCameraFields, readsAsApprovedAccount, recordConsoleAction, refuseServiceProviderInviteAction, registerCameraTransport, registerDemoBrand, registerOunitechBrand, registerRobotBrand, registeredRobotBrands, relayForRecorder, remarksSchema, renderPagePdf, requireConsolePermission, requirePlatformStaff, resetCameraTransports, residentAppModuleKeys, residentAppModulesSchema, residentFormEntry, resolutionRefusalReason, resolveCamera, resolveDeviceHttp, resolveHidPhysicalCardValue, resolveInviteActor, resolveSiteTimezone, resolveStaffRole, robotActionsFor, robotBrandFor, robotCloudBody, robotCloudSign, robotCloudSigningString, robotCloudTimestamp, robotMode, robotModeFromList, robotSchema, robotScopeForApp, robotTier, robotTypesVisibleTo, rtspUrl, scaleFromMeasurement, schema, schemaAppSlugNotification, schemaApprovedBy, schemaApprover, schemaBidPreloved, schemaBilling, schemaBillingConfiguration, schemaBillingItem, schemaBuilding, schemaBuildingLevel, schemaBuildingUnit, schemaBuildingUpdateOptions, schemaBulletinBoard, schemaBulletinVideo, schemaCategoryPreloved, schemaChannelPreloved, schemaChatPreloved, schemaConsoleAudit, schemaCreateHidAmicoIdentity, schemaCreateNfcPatrolLog, schemaCreateNotification, schemaCustomerSite, schemaDiscoverHidAmicoReader, schemaDocumentManagement, schemaEntryPassSettings, schemaEventManagement, schemaFiles, schemaFormEntry, schemaGuestManagement, schemaHidAmicoAccessLogQuery, schemaHidAmicoAssignUserCard, schemaHidAmicoConfiguration, schemaHidAmicoEnrollUserCard, schemaHidAmicoEvent, schemaHidAmicoExecuteActions, schemaHidAmicoIdentity, schemaHidAmicoIdentityIdParams, schemaHidAmicoIdentityQuery, schemaHidAmicoIntercomCall, schemaHidAmicoLogQuery, schemaHidAmicoMonitor, schemaHidAmicoNotificationParams, schemaHidAmicoObjectOperation, schemaHidAmicoOperatingMode, schemaHidAmicoReader, schemaHidAmicoReaderIdParams, schemaHidAmicoReaderListQuery, schemaHidAmicoReaderUserQuery, schemaHidAmicoSetConfiguration, schemaHidAmicoSiteIdParams, schemaHidAmicoSync, schemaHidAmicoUserCardIdParams, schemaHidAmicoUserCardParams, schemaHidAmicoUserImageParams, schemaHidAmicoUserImageUploadQuery, schemaHidAmicoUserPin, schemaHidAmicoUserPinParams, schemaHidAmicoVisitorImageParams, schemaHidAmicoVisitorImageUploadQuery, schemaHidAmicoVisitorQr, schemaHidPermissionCandidateQuery, schemaHidPermissionScopeQuery, schemaHidSipAccountRequest, schemaIncidentReport, schemaListNotification, schemaMultipleDocumentManagement, schemaNfcPatrolLog, schemaNfcPatrolRoute, schemaNfcPatrolTag, schemaNfcPatrolTagUpdateData, schemaNotification, schemaNotificationPreference, schemaNotificationPreferenceOff, schemaOccurrenceBook, schemaOccurrenceEntry, schemaOccurrenceSubject, schemaOnlineForm, schemaOvernightParkingApprovalHours, schemaOvernightParkingRequest, schemaPatrolEmail, schemaPatrolEmailCreatedBy, schemaPatrolEmailLogRef, schemaPatrolEmailQuery, schemaPatrolLog, schemaPatrolQuestion, schemaPatrolRoute, schemaPerson, schemaPersonalEmergencyContact, schemaPlate, schemaPlatformTerms, schemaPost, schemaPostFavorite, schemaResendPatrolEmail, schemaResidentSelfSignUp, schemaSelfServiceVisitor, schemaSendPatrolEmail, schemaServiceProvider, schemaServiceProviderBilling, schemaSignNfcPatrolLog, schemaSiteCamera, schemaSiteFacility, schemaSiteFacilityBooking, schemaStatementOfAccount, schemaSubcategoryPreloved, schemaUnitBilling, schemaUpdateBidPreloved, schemaUpdateBuildingLevel, schemaUpdateBulletinBoard, schemaUpdateBulletinVideo, schemaUpdateCategoryPreloved, schemaUpdateChatPreloved, schemaUpdateDocumentManagement, schemaUpdateEntryPassSettings, schemaUpdateEventManagement, schemaUpdateFolderManagement, schemaUpdateFormEntry, schemaUpdateGuestManagement, schemaUpdateHidAmicoIdentity, schemaUpdateHidAmicoReader, schemaUpdateHidSitePermissions, schemaUpdateIncidentReport, schemaUpdateNotification, schemaUpdateNotificationPreference, schemaUpdateOccurrenceBook, schemaUpdateOccurrenceEntry, schemaUpdateOccurrenceSubject, schemaUpdateOnlineForm, schemaUpdateOptions, schemaUpdateOvernightParkingRequest, schemaUpdatePatrolLog, schemaUpdatePatrolQuestion, schemaUpdatePatrolRoute, schemaUpdatePerson, schemaUpdatePersonalEmergencyChain, schemaUpdatePost, schemaUpdatePostFavorite, schemaUpdateServiceProviderBilling, schemaUpdateSiteBillingConfiguration, schemaUpdateSiteBillingItem, schemaUpdateSiteCamera, schemaUpdateSiteFacility, schemaUpdateSiteFacilityBooking, schemaUpdateSiteUnitBilling, schemaUpdateStatementOfAccount, schemaUpdateSubcategoryPreloved, schemaUpdateVisTrans, schemaVehicleTransaction, schemaVisitorTransaction, schemeCamera, schemeLogCamera, selectHealthTargets, selfServiceEmailSubject, servesFloor, serviceProviderInviteLabel, sessionSchema, setIO, shiftSchema, signLiveLink, signPlaybackLink, simulatedLiftState, siteDayBounds, siteModulesHandlers, siteSchema, site_people_namespace_collection, snapshotEndpoint, snapshotRefusalReason, staffMayBypass, startRobotTracking, startTodaysBookForSite, stringifyHidJson, stripFacialImageMetadata, subscriptionPlanSchema, summariseBulkCameraPlan, supports, trackingBackoffMs, uncontrollableFleetWarning, updateRemarksStatusEod, updateRemarksisAcknowledged, updateSiteSchema, useAccessManagementController, useAddressRepo, useAttendanceController, useAttendanceRepository, useAttendanceSettingsController, useAttendanceSettingsRepository, useAttendanceSettingsService, useAuthController, useAuthControllerV2, useAuthService, useAuthServiceV2, useBidPrelovedController, useBidPrelovedRepo, useBidPrelovedService, useBuildingController, useBuildingLevelController, useBuildingLevelRepo, useBuildingLevelService, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useBulletinBoardController, useBulletinBoardRepo, useBulletinBoardService, useBulletinVideoController, useBulletinVideoRepo, useBulletinVideoService, useCameraViewController, useCameraViewService, useCategoryPrelovedController, useCategoryPrelovedRepo, useChannelPrelovedController, useChannelPrelovedRepo, useChatController, useChatPrelovedController, useChatPrelovedRepo, useChatPrelovedService, useChatRepo, useConsoleAuditController, useConsoleAuditRepo, useCounterModel, useCounterRepo, useCustomerController, useCustomerRepo, useCustomerSiteController, useCustomerSiteRepo, useCustomerSiteService, useDahuaService, useDashboardController, useDashboardRepo, useDocumentManagementController, useDocumentManagementRepo, useDocumentManagementService, useEntryPassSettingsController, useEntryPassSettingsRepo, useEventManagementController, useEventManagementRepo, useEventManagementService, useFeedbackController, useFeedbackRepo, useFeedbackService, useFileController, useFileRepo, useFileService, useFormEntryController, useFormEntryRepo, useGuestManagementController, useGuestManagementRepo, useGuestManagementService, useHidAmicoController, useHidAmicoRepo, useHidAmicoService, useHrmLabsAttendanceCtrl, useHrmLabsAttendanceSrvc, useIncidentReportController, useIncidentReportRepo, useIncidentReportService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useManpowerDesignationCtrl, useManpowerDesignationRepo, useManpowerMonitoringCtrl, useManpowerMonitoringRepo, useManpowerMonitoringSrvc, useManpowerRemarkCtrl, useManpowerRemarksRepo, useManpowerSitesCtrl, useManpowerSitesRepo, useManpowerSitesSrvc, useMemberController, useMemberRepo, useMemberService, useNewDashboardController, useNewDashboardRepo, useNfcPatrolLogController, useNfcPatrolLogRepo, useNfcPatrolLogService, useNfcPatrolRouteController, useNfcPatrolRouteRepo, useNfcPatrolRouteService, useNfcPatrolSettingsController, useNfcPatrolSettingsRepository, useNfcPatrolSettingsService, useNfcPatrolTagController, useNfcPatrolTagRepo, useNfcPatrolTagService, useNotificationController, useNotificationPreferenceController, useNotificationPreferenceRepo, useNotificationPreferenceService, useNotificationRepo, useOccurrenceBookController, useOccurrenceBookRepo, useOccurrenceBookService, useOccurrenceEntryController, useOccurrenceEntryRepo, useOccurrenceEntryService, useOccurrenceSubjectController, useOccurrenceSubjectRepo, useOccurrenceSubjectService, useOnlineFormController, useOnlineFormRepo, useOrgController, useOrgControllerV2, useOrgOwnerRepairRepo, useOrgRepo, useOvernightParkingController, useOvernightParkingRepo, useOvernightParkingRequestController, useOvernightParkingRequestRepo, useOvernightParkingRequestService, usePatrolEmailController, usePatrolEmailRepo, usePatrolEmailService, usePatrolLogController, usePatrolLogRepo, usePatrolLogService, usePatrolQuestionController, usePatrolQuestionRepo, usePatrolRouteController, usePatrolRouteRepo, usePersonController, usePersonRepo, usePersonalEmergencyChainController, usePersonalEmergencyChainRepo, usePersonalEmergencyChainService, usePlatformTermsController, usePlatformTermsRepo, usePlatformTermsService, usePostFavoriteController, usePostFavoriteRepo, usePostFavoriteService, usePostPrelovedController, usePostPrelovedRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRedDotPaymentController, useRedDotPaymentRepo, useRedDotPaymentSvc, useRobotBuildingMapRepo, useRobotCloudService, useRobotController, useRobotFleetController, useRobotFleetService, useRobotLiftSessionRepo, useRobotMapController, useRobotNetworkController, useRobotRepo, useRobotService, useRoleController, useRoleControllerV2, useRoleRepo, useRoleRepoV2, useRoleServiceV2, useServiceProviderBillingController, useServiceProviderBillingRepo, useServiceProviderBillingService, useServiceProviderController, useServiceProviderInviteController, useServiceProviderInviteService, useServiceProviderRepo, useSessionRepo, useSiteBillingConfigurationController, useSiteBillingConfigurationRepo, useSiteBillingItemController, useSiteBillingItemRepo, useSiteCameraController, useSiteCameraRepo, useSiteCameraService, useSiteController, useSiteFacilityBookingController, useSiteFacilityBookingRepo, useSiteFacilityBookingService, useSiteFacilityController, useSiteFacilityRepo, useSiteFacilityService, useSiteRepo, useSiteService, useSiteUnitBillingController, useSiteUnitBillingRepo, useSiteUnitBillingService, useStatementOfAccountController, useStatementOfAccountRepo, useSubcategoryPrelovedController, useSubcategoryPrelovedRepo, useSubscriptionController, useSubscriptionPlanController, useSubscriptionPlanRepo, useSubscriptionRepo, useSubscriptionService, useUserController, useUserControllerV2, useUserRepo, useUserRepoV2, useUserService, useUserServiceV2, useVehicleController, useVehicleRepo, useVehicleService, useVerificationController, useVerificationControllerV2, useVerificationRepo, useVerificationRepoV2, useVerificationService, useVerificationServiceV2, useVisitorTransactionController, useVisitorTransactionRepo, useVisitorTransactionService, useWorkOrderController, useWorkOrderRepo, useWorkOrderService, userSchema, vehicleCategoryFor, vehicleHistoryEntry, vehicleListViewQuery, vehicleSchema, vehicleViewOf, vehicles_namespace_collection, vertexDistancePx, visitorPersonRepo, visitorPersonService, visitorType, visitors_namespace_collection, wallConfig, wallsFromOccupancyGrid, withLiveLink, workOrderSchema, work_orders2_namespace_collection, work_orders_namespace_collection };
17987
+ export { ANPRMode, APP_BASE_URLS, AUDIT_VALUE_MAX_LENGTH, AccessTypeProps, AppKey, AppServiceType, AssignCardConfig, BLOCKLIST_CATEGORIES, BULK_CAMERA_COLUMNS, BidStatus, BidType, BuildingLevelStatus, BuildingStatus, BulkCameraAccepted, BulkCameraOutcome, BulkCameraPlan, BulkCameraResult, BulkCardUpdate, BulletinOrder, BulletinRecipient, BulletinSort, BulletinStatus, BulletinVideoOrder, BulletinVideoSort, CAMERA_ANPR_PERMISSIONS, CAMERA_CAPABILITIES, CAMERA_CAPABILITY_REASONS, CAMERA_MANAGE_ANY_PERMISSIONS, CAMERA_NOT_PATROL_OR_CCTV, CAMERA_NO_SUB_STREAM_TTL_SECONDS, CAMERA_PTZ_PERMISSIONS, CAMERA_RECORDINGS_PERMISSIONS, CAMERA_REQUEST_TIMEOUT_MS, CAMERA_RTSP_TIMEOUT_MS, CAMERA_SETUP_PERMISSIONS, CAMERA_SNAPSHOT_CACHE_SECONDS, CAMERA_SNAPSHOT_MAX_BYTES, CAMERA_TEST_MIN_INTERVAL_SECONDS, CAMERA_TEST_ROUND_LIMIT, CAMERA_TEST_ROUND_SECONDS, CAMERA_TYPE_ANPR, CAMERA_TYPE_IP, CAMERA_VIEW_PERMISSIONS, CLIENT_ACTIONS, CLOCK_DRIFT_WARN_SECONDS, CONSOLE_AUDIT_LABELS, CONSOLE_PERMISSIONS, CONTRACTOR_TYPE_LABELS, CROSS_CLIENT_GRANT, CURRENT_TIME_ENDPOINT, Camera, CameraAddressInput, CameraCapability, CameraCapabilityContext, CameraCapabilityDescriptor, CameraCapabilityEntry, CameraCapabilityReason, CameraCapabilityState, CameraCapabilityTrace, CameraDevice, CameraFrame, CameraMembership, CameraStream, CameraTestStatus, CameraTransport, CameraType, ConsoleAuditAction, ConsoleAuditTarget, ConsoleGrant, DEFAULT_RING_SECONDS, DEFAULT_SCALE_M_PER_PX, DEFAULT_SITE_TIMEZONE, DEMO_ADD_MAX, DEMO_BRAND, DEMO_CAPABILITIES, DEMO_FAULT_ROBOT, DEMO_ROUTES, DEVICE_STATUS, DOBStatus, DUPLICATE_TERMS_VERSION_MESSAGE, DayOfWeek, DeviceHttpTarget, DeviceProbeResult, DynamicFormFields, E164, EAccessCardTypes, EAccessCardUserTypes, EmailSender, EntryOrder, EntrySort, EventOrder, EventSort, EventStatus, EventType, FacilitySort, FacilityStatus, FormEntryStatus, GOVERNED_MODULES, GuestSort, GuestStatus, HID_CARD_VALUE_FACTOR, HID_PERMISSION_CATEGORIES, HID_UINT32_MAX, HID_UINT64_MAX, HidRawUint64, IAccessCard, IAccessCardTransaction, InviteActor, LIFT_DOOR, LIFT_LEASE_MS, LIFT_MODE, LIFT_MOTION, LIFT_QUEUE_TTL_MS, LIFT_REQUEST, LIFT_SESSION_STATUS, LIFT_SIM_BOARD_MS, LIFT_SIM_DOOR_DWELL_MS, LIFT_SIM_MS_PER_FLOOR, LIVE_ROLE, LIVE_VEHICLE_STATUSES, MANAGE_SITE_MODULES, MAX_BULK_CAMERA_ROWS, MAX_CAMERA_CHANNEL, MAX_CAMERA_NAME_LENGTH, MAX_PERSONAL_EMERGENCY_CONTACTS, MAX_RING_SECONDS, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBidPreloved, MBillingConfiguration, MBillingItem, MBuilding, MBuildingLevel, MBuildingUnit, MBulletinBoard, MBulletinVideo, MCategoryPreloved, MChannelPreloved, MChat, MChatPreloved, MConsoleAudit, MCustomer, MCustomerSite, MDocumentManagement, MEMBER_TYPES, MEntryPassSettings, MEventManagement, MFeedback, MFile, MFormEntry, MGuestManagement, MHidAmicoEvent, MHidAmicoIdentity, MHidAmicoReader, MHidSipAccount, MHidSitePermissions, MIN_RING_SECONDS, MIncidentReport, MManpowerDesignations, MManpowerMonitoring, MManpowerRemarks, MManpowerSites, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MNotification, MNotificationPreference, MODULE_GATE_MODE_DEFAULT, MODULE_LIST_GATE_DEFAULT, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MOvernightParkingApprovalHours, MOvernightParkingRequest, MPatrolEmail, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPersonalEmergencyChain, MPlatformTerms, MPost, MPostFavorite, MPromoCode, MRobot, MRobotBuildingMap, MRole, MRoleV2, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubcategoryPreloved, MSubscription, MSubscriptionPlan, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVerificationV2, MVisitorTransaction, MWorkOrder, NETWORK_STATES_MAX, NOTIFICATION_CATEGORIES, NOTIFICATION_CHANNELS, NOTIFICATION_CHANNEL_LABELS, NOTIFICATION_NAMESPACE, NOTIFY_ACCESS_FILTER_DEFAULT, NotificationAppSlug, NotificationCategory, NotificationChannel, NotificationModule, NotificationPreferenceView, NotificationService, OFFLINE_FAULT_CODE, ORG_MARKETPLACE_VENDOR_FIELD, ORG_OWNER_REPAIR_CLAIM_STALE_MS, ORG_OWNER_REPAIR_CLAIM_TAKEN_REASON, ORG_OWNER_REPAIR_DEFAULT, ORG_OWNER_REPAIR_OFF_REASON, OUNITECH_BRAND, OUNITECH_CAPABILITIES, OUNITECH_PENDING_COMMANDS, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PATROL_CCTV_CAMERA_FILTER, PATROL_EMAIL_MAX_LOGS, PATROL_EMAIL_MAX_PER_HOUR, PATROL_EMAIL_MAX_RECIPIENTS, PERSON_TYPES, PLAN_RANGE, PLATFORM_STAFF_MEMBER_TYPE, PLATFORM_STAFF_ROLE_TYPE, PLAYBACK_LINK_SECONDS, PLAYBACK_MAX_WINDOW_SECONDS, PROPERTY_MANAGEMENT_MEMBER_TYPES, PStatus, PTZ_ALLOWED_ACTIONS, PTZ_ALLOWED_CODES, Period, PersonStatus, PersonType, PersonTypes, PlatformTermsStatus, PostOrder, PostSort, PostStatus, QrTagProps, REALTIME_MAX_FANOUT, REGISTERED_VEHICLE_CATEGORIES, ROBOT_APP_SCOPES, ROBOT_CAPABILITIES, ROBOT_CLOUD_DOC_CONFIRMATIONS, ROBOT_CLOUD_PATHS, ROBOT_CLOUD_TIMEOUT_MS, ROBOT_MODULE, ROBOT_PERMISSIONS, ROBOT_STATUS_NAMES, ROBOT_TYPES, ResidentAppModuleKey, RobotCloudError, SELF_SERVICE_RESEND_COOLDOWN_MS, SELF_SIGNUP_PLATFORM, SELF_SIGNUP_STATUS, SELF_SIGNUP_TYPES, SERVICE_PROVIDER_INVITE_LABELS, SERVICE_PROVIDER_INVITE_TRANSITIONS, SERVICE_PROVIDER_SIGN_IN_SUBJECT, SERVICE_PROVIDER_SIGN_IN_TYPE, SERVICE_PROVIDER_SIGN_UP_SUBJECT, SERVICE_PROVIDER_SIGN_UP_TYPE, SITE_STATES_MAX, SOFTWARE_VERSION_ENDPOINT, ServiceProviderInviteAction, ServiceProviderInviteDecision, ServiceProviderInviteFacts, SiteAddress, SiteCategories, SiteStatus, SortFields, SortOrder, Status, SubjectOrder, SubjectSort, SubscriptionBillingMode, SubscriptionType, TAccessMngmntSettings, TActionStatus, TAdapterCommand, TAdapterRobot, TAddress, TAffectedEntities, TAffectedInjured, TAppServiceType, TApprovedBy, TApprover, TAreaColour, TAttendance, TAttendanceCheckIn, TAttendanceCheckOut, TAttendanceCheckTime, TAttendanceLocation, TAttendanceSettings, TAttendanceSettingsGetBySite, TAuthorities, TAuthoritiesCalled, TBidPreloved, TBilling, TBillingConfiguration, TBillingItem, TBuilding, TBuildingLevel, TBuildingMapDoor, TBuildingMapLevel, TBuildingMapLift, TBuildingUnit, TBulletinBoard, TBulletinVideo, TCamera, TCameraHealthClaim, TCategoryPreloved, TChannelPreloved, TChat, TChatPreloved, TCheckPoint$1 as TCheckPoint, TCleanLevel, TCleanMode, TCleanOptionValues, TCleanOptions, TCleanSubMode, TCloudArea, TCloudFile, TCloudMap, TCloudPlan, TCloudPlanJob, TCloudRobot, TComplaintInfo, TComplaintReceivedTo, TConsoleAudit, TConsoleAuditQuery, TCounter, TCreateNfcPatrolLog, TCustomer, TCustomerSite, TCustomerSitePropertyField, TDayNumber, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentCreate, TDocumentManagement, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TFiles, TFleetRobot, TFloorPlanLevel, TFloorPlanMap, TFloorSlab, TFolderUpdate, TFormEntry, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, THidAmicoEvent, THidAmicoGatewayJob, THidAmicoIdentity, THidAmicoPhysicalCard, THidAmicoReader, THidPermissionAssignment, THidPermissionCategory, THidPermissionUserBinding, THidPhysicalCardInput, THidPhysicalCardType$1 as THidPhysicalCardType, THidSipAccount, THidSitePermissions, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TKeyRef, TLevelSolids, TLiftDoorState, TLiftDriver, TLiftMode, TLiftMotionState, TLiftPhase, TLiftRequest, TLiftRequestType, TLiftSessionStatus, TLiftState, TManpowerDesignations, TManpowerDesignationsUpdate, TManpowerMonitoring, TManpowerMonitoringUpdate, TManpowerRemarks, TManpowerRemarksStatusUpdate, TManpowerRemarksUpdate, TManpowerSearchFilter, TManpowerSites, TMapDoor, TMapFloor, TMapMeasurement, TMapPointM, TMapSegment, TMapVertex, TMapWall, TMember, TMemberModulesDeps, TMemberUpdateStatus, TMessagePreloved, TMiniRole, TModuleAccess, TModuleGateMode, TModuleImpact, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TNotification, TNotificationPreference, TNotificationPreferenceOff, TNotifyAccessContext, TNotifyAccessMode, TNotifyAccessReport, TOccupancyGrid, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOrg, TOrgModulesDeps, TOrgOwnerRepairClaim, TOrgOwnerRepairDeps, TOrgOwnerRepairInput, TOrgOwnerRepairPayload, TOrgOwnerRepairPlan, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPatrolEmail, TPatrolEmailCreatedBy, TPatrolEmailLogRef, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPendingCommand, TPerson, TPersonalEmergencyChain, TPersonalEmergencyContact, TPlaceOfIncident, TPlates, TPlatformTerms, TPost, TPostFavorite, TPrice, TPriceType, TPromoCode, TPromoCurrencyInput, TPromoTier, TRACKING_BACKOFF_BASE_MS, TRACKING_BACKOFF_CAP_MS, TRACKING_IDLE_TIMEOUT_MS, TRANSPORT_DEVICE_HTTP, TRANSPORT_RELAY_PLAYBACK, TRANSPORT_RELAY_PLAYER, TRANSPORT_RTSP_FRAME, TRecipientOfComplaint, TRemarks, TResident, TResidentAppModules, TRobot, TRobotAction, TRobotAdapter, TRobotAppScope, TRobotBrand, TRobotBuildingMap, TRobotCapabilities, TRobotCapability, TRobotCloudCredentials, TRobotCloudPath, TRobotCloudReply, TRobotCommand, TRobotLiftSession, TRobotLiveState, TRobotMetadata, TRobotMode, TRobotPatrolCheckpoint, TRobotPatrolPlan, TRobotPatrolRoute, TRobotPatrolScheduleRow, TRobotPermissionActor, TRobotPose, TRobotTier, TRobotType, TRole, TRolePermissionHistoryEntry, TRoleV2, TRoute, TSOABillingItem, TSOAStatus, TSelfServiceEmailOccasion, TSelfServiceEmailRecord, TSelfServiceResendDecision, TSelfServiceResendFacts, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TShifts, TSignNfcPatrolLog, TSite, TSiteCamera, TSiteDayBounds, TSiteFacility, TSiteFacilityBooking, TSiteInfo, TSiteInformation, TSiteMetadata, TSiteModulesDeps, TSiteUpdateBlock, TSseEvent, TStatementOfAccount, TSubcategoryPreloved, TSubmissionForm, TSubscription, TSubscriptionPlan, TSubscriptionPlanApplication, TTrackingEvent, TTrackingHandle, TUnitBilling, TUnits, TUpdateFormEntry, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleAnprCamera, TVehicleHistoryEntry, TVehicleTransaction, TVehicleUpdate, TVerification, TVerificationCode, TVerificationEvent, TVerificationMetadata, TVerificationMetadataV2, TVerificationOnboarding, TVerificationV2, TVisitorTransaction, TWallSolid, TWorkOrder, TWorkOrderMetadata, TWorkOrderUpdate, TWorkOrderUpdateStatus, TWorkOrderUpdateToCompleted, TanyoneDamageToProperty, UNSTORED_COLUMNS, UseAccessManagementRepo, UserStatus, VEHICLE_HISTORY_LIMIT, VERIFICATION_OPEN_STATUSES, VehicleCategory, VehicleListView, VehicleOrder, VehicleSort, VehicleStatus, VehicleType, VerificationLinkType, VerificationStatus, VerificationSubjectType, VerificationType, VisitorSort, VisitorStatus, WALL_HEIGHT_M, WALL_THICKNESS_M, adapterForRobot, addressSchema, allowedFieldsSite, allowedNatures, allowedPlanApplications, allowsRobotAction, allowsRobotListing, applyTrackingFrame, areaColourToHex, attendanceSchema, attendanceSettingsSchema, buildSelfServiceEmailContext, buildingMapBodySchema, buildingMapCreateSchema, buildingMapFromRobotMaps, buildingMapUpdateSchema, buildingSolids, building_level_namespace_collection, building_units_namespace_collection, buildings_namespace_collection, bulletin_boards_namespace_collection, callerAccountApproved, callerId, cameraBaseUrl, cameraCapabilitiesFor, cameraDevices, cameraGrant, cameraHealthClaim, cameraHealthSummary, cameraListClearConfirmation, cameraManagePermissions, cameraProbeCacheKey, cameraTransports, canManageSiteModules, canMonitorRobotType, canRevokeRefreshTokenFamily, canSetUpRobotType, categoriesForPermissions, categorySupportsChannel, chatPrelovedEvents, chatSchema, claimReadsAsStale, clampPtzSpeed, clearRobotBrands, clockDriftSeconds, commandSupported, consoleRoleAllows, consoleRoleAllowsAll, consoleSpellings, console_audit_namespace_collection, createDemoAdapter, createLiftSimulator, createManpowerRemarksDaily, createOunitechAdapter, createSseParser, customerSchema, customerSitePropertyFields, decideSelfServiceResend, decideServiceProviderInvite, decodeHidPacsCard, decodeTrackingFrame, demoFault, demoPatrolPoint, deniedModules, deriveBulletinStatus, deriveCameraHost, derivedDemoRobot, describeCameraCapabilities, designationsSchema, deviceControlEnabled, deviceHttpEnabled, deviceHttpTargets, deviceHttpTimeoutMs, deviceProbeTtlSeconds, disconnectedState, emitNotificationCreated, emptyPersonalEmergencyChain, encodeGreyscalePng, encodeHidPacsCard, entitledSiteScope, events_namespace_collection, expandModules, expiredBulletinSweepFilter, expiredVehicleSweepFilter, facility_bookings_namespace_collection, feedbackSchema, feedbacks2_namespace_collection, feedbacks_namespace_collection, ffmpegFrameArgs, ffmpegPath, filterByAccess, formatCapabilityTrace, formatDahuaDate, getIO, getSessionIdFromRequest, grabWithSubStreamFallback, greyscalePngDataUri, guests_namespace_collection, hasAnyCapability, hasAnyPermission, hasOrgInvitation, hasOrgOwnership, hasOrgSiteReach, hexToAreaColour, hidRawUint64, holdsLift, holdsRole, incidentReport, incidentReportLog, incidents_namespace_collection, invitationOffersRole, isAvailableForWork, isCameraEntitled, isDispatchable, isDuplicateMemberError, isDuplicateVersionError, isLiftAvailable, isLikelySelfServiceEmail, isLiveVehicleStatus, isPatrolCctvCamera, isPlatformOwner, isPromoCodeExpired, isRelayPlayerUrl, isSafeRelativePath, isSafeToCross, isSeasonPassVehicle, isSuperAdmin, isTermsCurrent, isTrackingStale, isValidTimezone, levelPixelToMetres, levelScale, levelSolids, liftQueueKey, liftRequestSchema, listStaffUserIds, liveStatusFor, logCamera, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, mapWithLimit, maskNric, memberModulesHandlers, metresToPixel, missingForTier, moduleDeniedForCaller, moduleGateEnforceKeys, moduleGateMode, moduleImpact, moduleListGateOn, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, normalisePatrolPlan, normalizeAcceptedTerms, normalizeHidCardValue, notificationAccessReport, notificationCategory, notificationCategoryLabel, notificationEvents, notificationRoom, notifyAccessMode, notifyRobotFault, occasionForStatus, occurrence_book_namespace_collection, onBookTimezonesChanged, online_forms_namespace_collection, orgLevelRoles, orgModulesHandlers, orgOwnerRepairHandlers, orgOwnerRepairOn, orgQualifiesForOwnerRepair, orgSchema, overnight_parking_requests_namespace_collection, parseCameraChannel, parseCameraHost, parseDahuaFind, parseDeviceTime, parseHidJsonLossless, parsePromoExpiry, parseRobotCommand, parseSoftwareVersion, pickAuditFields, pickCustomerSiteProperties, pixelToMetres, planBulkCameraImport, planDayFromJsDay, planDemoRobots, planOrgOwnerRepair, platform_terms_namespace_collection, playbackRelays, playbackWindowRefusal, promoCodeRefusal, promoCodeSchema, promoCodeStatusSchema, promoCodeUpdate, promoCodeUpdateSchema, ptzEndpoint, publicCameraFields, readLiveItems, readsAsApprovedAccount, recordConsoleAction, refuseServiceProviderInviteAction, registerCameraTransport, registerDemoBrand, registerOunitechBrand, registerRobotBrand, registeredRobotBrands, relayForRecorder, remarksSchema, renderPagePdf, requireConsolePermission, requirePlatformStaff, resetCameraTransports, residentAppModuleKeys, residentAppModulesSchema, residentFormEntry, resolutionRefusalReason, resolveCamera, resolveDeviceHttp, resolveHidPhysicalCardValue, resolveInviteActor, resolveSiteTimezone, resolveStaffRole, robotActionsFor, robotBrandFor, robotCloudBody, robotCloudSign, robotCloudSigningString, robotCloudTimestamp, robotFaultSweepConfig, robotMode, robotModeFromList, robotSchema, robotScopeForApp, robotTier, robotTypesVisibleTo, rtspUrl, scaleFromMeasurement, schema, schemaAppSlugNotification, schemaApprovedBy, schemaApprover, schemaBidPreloved, schemaBilling, schemaBillingConfiguration, schemaBillingItem, schemaBuilding, schemaBuildingLevel, schemaBuildingUnit, schemaBuildingUpdateOptions, schemaBulletinBoard, schemaBulletinVideo, schemaCategoryPreloved, schemaChannelPreloved, schemaChatPreloved, schemaConsoleAudit, schemaCreateHidAmicoIdentity, schemaCreateNfcPatrolLog, schemaCreateNotification, schemaCustomerSite, schemaDiscoverHidAmicoReader, schemaDocumentManagement, schemaEntryPassSettings, schemaEventManagement, schemaFiles, schemaFormEntry, schemaGuestManagement, schemaHidAmicoAccessLogQuery, schemaHidAmicoAssignUserCard, schemaHidAmicoConfiguration, schemaHidAmicoEnrollUserCard, schemaHidAmicoEvent, schemaHidAmicoExecuteActions, schemaHidAmicoIdentity, schemaHidAmicoIdentityIdParams, schemaHidAmicoIdentityQuery, schemaHidAmicoIntercomCall, schemaHidAmicoLogQuery, schemaHidAmicoMonitor, schemaHidAmicoNotificationParams, schemaHidAmicoObjectOperation, schemaHidAmicoOperatingMode, schemaHidAmicoReader, schemaHidAmicoReaderIdParams, schemaHidAmicoReaderListQuery, schemaHidAmicoReaderUserQuery, schemaHidAmicoSetConfiguration, schemaHidAmicoSiteIdParams, schemaHidAmicoSync, schemaHidAmicoUserCardIdParams, schemaHidAmicoUserCardParams, schemaHidAmicoUserImageParams, schemaHidAmicoUserImageUploadQuery, schemaHidAmicoUserPin, schemaHidAmicoUserPinParams, schemaHidAmicoVisitorImageParams, schemaHidAmicoVisitorImageUploadQuery, schemaHidAmicoVisitorQr, schemaHidPermissionCandidateQuery, schemaHidPermissionScopeQuery, schemaHidSipAccountRequest, schemaIncidentReport, schemaListNotification, schemaMultipleDocumentManagement, schemaNfcPatrolLog, schemaNfcPatrolRoute, schemaNfcPatrolTag, schemaNfcPatrolTagUpdateData, schemaNotification, schemaNotificationPreference, schemaNotificationPreferenceOff, schemaOccurrenceBook, schemaOccurrenceEntry, schemaOccurrenceSubject, schemaOnlineForm, schemaOvernightParkingApprovalHours, schemaOvernightParkingRequest, schemaPatrolEmail, schemaPatrolEmailCreatedBy, schemaPatrolEmailLogRef, schemaPatrolEmailQuery, schemaPatrolLog, schemaPatrolQuestion, schemaPatrolRoute, schemaPerson, schemaPersonalEmergencyContact, schemaPlate, schemaPlatformTerms, schemaPost, schemaPostFavorite, schemaResendPatrolEmail, schemaResidentSelfSignUp, schemaSelfServiceVisitor, schemaSendPatrolEmail, schemaServiceProvider, schemaServiceProviderBilling, schemaSignNfcPatrolLog, schemaSiteCamera, schemaSiteFacility, schemaSiteFacilityBooking, schemaStatementOfAccount, schemaSubcategoryPreloved, schemaUnitBilling, schemaUpdateBidPreloved, schemaUpdateBuildingLevel, schemaUpdateBulletinBoard, schemaUpdateBulletinVideo, schemaUpdateCategoryPreloved, schemaUpdateChatPreloved, schemaUpdateDocumentManagement, schemaUpdateEntryPassSettings, schemaUpdateEventManagement, schemaUpdateFolderManagement, schemaUpdateFormEntry, schemaUpdateGuestManagement, schemaUpdateHidAmicoIdentity, schemaUpdateHidAmicoReader, schemaUpdateHidSitePermissions, schemaUpdateIncidentReport, schemaUpdateNotification, schemaUpdateNotificationPreference, schemaUpdateOccurrenceBook, schemaUpdateOccurrenceEntry, schemaUpdateOccurrenceSubject, schemaUpdateOnlineForm, schemaUpdateOptions, schemaUpdateOvernightParkingRequest, schemaUpdatePatrolLog, schemaUpdatePatrolQuestion, schemaUpdatePatrolRoute, schemaUpdatePerson, schemaUpdatePersonalEmergencyChain, schemaUpdatePost, schemaUpdatePostFavorite, schemaUpdateServiceProviderBilling, schemaUpdateSiteBillingConfiguration, schemaUpdateSiteBillingItem, schemaUpdateSiteCamera, schemaUpdateSiteFacility, schemaUpdateSiteFacilityBooking, schemaUpdateSiteUnitBilling, schemaUpdateStatementOfAccount, schemaUpdateSubcategoryPreloved, schemaUpdateVisTrans, schemaVehicleTransaction, schemaVisitorTransaction, schemeCamera, schemeLogCamera, selectHealthTargets, selfServiceEmailSubject, servesFloor, serviceProviderInviteLabel, sessionSchema, setIO, shiftSchema, signLiveLink, signPlaybackLink, simulatedLiftState, siteDayBounds, siteModulesHandlers, siteSchema, site_people_namespace_collection, snapshotEndpoint, snapshotRefusalReason, staffMayBypass, startDemoTracking, startRobotTracking, startTodaysBookForSite, stringifyHidJson, stripFacialImageMetadata, subscriptionPlanSchema, summariseBulkCameraPlan, supports, trackingBackoffMs, uncontrollableFleetWarning, updateRemarksStatusEod, updateRemarksisAcknowledged, updateSiteSchema, useAccessManagementController, useAddressRepo, useAttendanceController, useAttendanceRepository, useAttendanceSettingsController, useAttendanceSettingsRepository, useAttendanceSettingsService, useAuthController, useAuthControllerV2, useAuthService, useAuthServiceV2, useBidPrelovedController, useBidPrelovedRepo, useBidPrelovedService, useBuildingController, useBuildingLevelController, useBuildingLevelRepo, useBuildingLevelService, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useBulletinBoardController, useBulletinBoardRepo, useBulletinBoardService, useBulletinVideoController, useBulletinVideoRepo, useBulletinVideoService, useCameraViewController, useCameraViewService, useCategoryPrelovedController, useCategoryPrelovedRepo, useChannelPrelovedController, useChannelPrelovedRepo, useChatController, useChatPrelovedController, useChatPrelovedRepo, useChatPrelovedService, useChatRepo, useConsoleAuditController, useConsoleAuditRepo, useCounterModel, useCounterRepo, useCustomerController, useCustomerRepo, useCustomerSiteController, useCustomerSiteRepo, useCustomerSiteService, useDahuaService, useDashboardController, useDashboardRepo, useDocumentManagementController, useDocumentManagementRepo, useDocumentManagementService, useEntryPassSettingsController, useEntryPassSettingsRepo, useEventManagementController, useEventManagementRepo, useEventManagementService, useFeedbackController, useFeedbackRepo, useFeedbackService, useFileController, useFileRepo, useFileService, useFormEntryController, useFormEntryRepo, useGuestManagementController, useGuestManagementRepo, useGuestManagementService, useHidAmicoController, useHidAmicoRepo, useHidAmicoService, useHrmLabsAttendanceCtrl, useHrmLabsAttendanceSrvc, useIncidentReportController, useIncidentReportRepo, useIncidentReportService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useManpowerDesignationCtrl, useManpowerDesignationRepo, useManpowerMonitoringCtrl, useManpowerMonitoringRepo, useManpowerMonitoringSrvc, useManpowerRemarkCtrl, useManpowerRemarksRepo, useManpowerSitesCtrl, useManpowerSitesRepo, useManpowerSitesSrvc, useMemberController, useMemberRepo, useMemberService, useNewDashboardController, useNewDashboardRepo, useNfcPatrolLogController, useNfcPatrolLogRepo, useNfcPatrolLogService, useNfcPatrolRouteController, useNfcPatrolRouteRepo, useNfcPatrolRouteService, useNfcPatrolSettingsController, useNfcPatrolSettingsRepository, useNfcPatrolSettingsService, useNfcPatrolTagController, useNfcPatrolTagRepo, useNfcPatrolTagService, useNotificationController, useNotificationPreferenceController, useNotificationPreferenceRepo, useNotificationPreferenceService, useNotificationRepo, useOccurrenceBookController, useOccurrenceBookRepo, useOccurrenceBookService, useOccurrenceEntryController, useOccurrenceEntryRepo, useOccurrenceEntryService, useOccurrenceSubjectController, useOccurrenceSubjectRepo, useOccurrenceSubjectService, useOnlineFormController, useOnlineFormRepo, useOrgController, useOrgControllerV2, useOrgOwnerRepairRepo, useOrgRepo, useOvernightParkingController, useOvernightParkingRepo, useOvernightParkingRequestController, useOvernightParkingRequestRepo, useOvernightParkingRequestService, usePatrolEmailController, usePatrolEmailRepo, usePatrolEmailService, usePatrolLogController, usePatrolLogRepo, usePatrolLogService, usePatrolQuestionController, usePatrolQuestionRepo, usePatrolRouteController, usePatrolRouteRepo, usePersonController, usePersonRepo, usePersonalEmergencyChainController, usePersonalEmergencyChainRepo, usePersonalEmergencyChainService, usePlatformTermsController, usePlatformTermsRepo, usePlatformTermsService, usePostFavoriteController, usePostFavoriteRepo, usePostFavoriteService, usePostPrelovedController, usePostPrelovedRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRedDotPaymentController, useRedDotPaymentRepo, useRedDotPaymentSvc, useRobotBuildingMapRepo, useRobotCloudService, useRobotController, useRobotFaultRepo, useRobotFaultSweep, useRobotFleetController, useRobotFleetService, useRobotLiftSessionRepo, useRobotMapController, useRobotNetworkController, useRobotRepo, useRobotService, useRobotSiteController, useRoleController, useRoleControllerV2, useRoleRepo, useRoleRepoV2, useRoleServiceV2, useServiceProviderBillingController, useServiceProviderBillingRepo, useServiceProviderBillingService, useServiceProviderController, useServiceProviderInviteController, useServiceProviderInviteService, useServiceProviderRepo, useSessionRepo, useSiteBillingConfigurationController, useSiteBillingConfigurationRepo, useSiteBillingItemController, useSiteBillingItemRepo, useSiteCameraController, useSiteCameraRepo, useSiteCameraService, useSiteController, useSiteFacilityBookingController, useSiteFacilityBookingRepo, useSiteFacilityBookingService, useSiteFacilityController, useSiteFacilityRepo, useSiteFacilityService, useSiteRepo, useSiteService, useSiteUnitBillingController, useSiteUnitBillingRepo, useSiteUnitBillingService, useStatementOfAccountController, useStatementOfAccountRepo, useSubcategoryPrelovedController, useSubcategoryPrelovedRepo, useSubscriptionController, useSubscriptionPlanController, useSubscriptionPlanRepo, useSubscriptionRepo, useSubscriptionService, useUserController, useUserControllerV2, useUserRepo, useUserRepoV2, useUserService, useUserServiceV2, useVehicleController, useVehicleRepo, useVehicleService, useVerificationController, useVerificationControllerV2, useVerificationRepo, useVerificationRepoV2, useVerificationService, useVerificationServiceV2, useVisitorTransactionController, useVisitorTransactionRepo, useVisitorTransactionService, useWorkOrderController, useWorkOrderRepo, useWorkOrderService, userSchema, vehicleCategoryFor, vehicleHistoryEntry, vehicleListViewQuery, vehicleSchema, vehicleViewOf, vehicles_namespace_collection, vertexDistancePx, visitorPersonRepo, visitorPersonService, visitorType, visitors_namespace_collection, wallConfig, wallsFromOccupancyGrid, withLiveLink, workOrderSchema, work_orders2_namespace_collection, work_orders_namespace_collection };