@7365admin1/core 3.124.0 → 3.124.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +73 -2
- package/dist/index.js +143 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +136 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/test/padbot-movement.test.mjs +157 -0
- package/test/padbot.test.mjs +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.124.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 702f88e: PadBot: read whether the robot is moving from any real change (charging state leaving or reaching the charger, position), not only 1003 navigation state, which the S2 leaves idle while it drives. The status line says "Leaving the charger", "On the way to P4", "Arrived at P4", "Docking", "Back on charger" after a command; the after-command trace runs 60 s and records PadBot's response time and when the robot first reacted; robot reads within 900 ms share one PadBot read set; a robot read starts its PadBot calls together and shares the open-alarm read for 10 s (one screen read was 1-7 s).
|
|
8
|
+
|
|
3
9
|
## 3.124.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -9916,6 +9916,63 @@ declare function padbotReactionPoint(states: TStates | null | undefined): {
|
|
|
9916
9916
|
};
|
|
9917
9917
|
/** The robot's own "navigation failed" (1003 actionState 6) in words, or null. */
|
|
9918
9918
|
declare function padbotFailureText(p: ReturnType<typeof padbotReactionPoint>): string | null;
|
|
9919
|
+
/**
|
|
9920
|
+
* §4.2 1002 chargingState. v4.0 lists only 0 "stopped charging" and 1
|
|
9921
|
+
* "charging". The meanings below are INFERRED from the real S2 (PS8517), not
|
|
9922
|
+
* documented - asked PadBot to confirm:
|
|
9923
|
+
* 2 = docked on the charger (every docked reading, battery 100)
|
|
9924
|
+
* 1 = seen for about 5 s while undocking (go-to-point 2026-09-28 04:16:27Z:
|
|
9925
|
+
* 2 at +3 s, 1 at +8 s, 0 at +13 s); the spec's "charging" otherwise
|
|
9926
|
+
* 0 = off the charger
|
|
9927
|
+
* 3 = docking (return 04:16:51Z: 0 at +3 s, 3 at +24 s, 2 at +34 s)
|
|
9928
|
+
* The same S2 kept 1003 actionState 0 and 1006 wheelLockState 1 the whole
|
|
9929
|
+
* time it drove, so neither says whether it moves; the charging state and
|
|
9930
|
+
* the position do.
|
|
9931
|
+
*/
|
|
9932
|
+
declare const PADBOT_CHARGING: {
|
|
9933
|
+
readonly OFF: 0;
|
|
9934
|
+
readonly UNDOCKING_OR_CHARGING: 1;
|
|
9935
|
+
readonly DOCKED: 2;
|
|
9936
|
+
readonly DOCKING: 3;
|
|
9937
|
+
};
|
|
9938
|
+
/** Moved further than this (m) from where it stood = it is driving. ponytail: tune if a docked S2's pose jitters more. */
|
|
9939
|
+
declare const PADBOT_MOVED_M = 0.3;
|
|
9940
|
+
/** Within this (m) of the chosen point = arrived. */
|
|
9941
|
+
declare const PADBOT_ARRIVED_M = 0.5;
|
|
9942
|
+
/** How long after a command its progress words are shown. */
|
|
9943
|
+
declare const PADBOT_MOTION_MS: number;
|
|
9944
|
+
/** What we knew when a moving command was accepted. */
|
|
9945
|
+
type TPadbotMotion = {
|
|
9946
|
+
kind: string;
|
|
9947
|
+
sentAt: number;
|
|
9948
|
+
charging: number | null;
|
|
9949
|
+
pose: {
|
|
9950
|
+
x: number;
|
|
9951
|
+
y: number;
|
|
9952
|
+
} | null;
|
|
9953
|
+
target: {
|
|
9954
|
+
name: string;
|
|
9955
|
+
x: number | null;
|
|
9956
|
+
y: number | null;
|
|
9957
|
+
} | null;
|
|
9958
|
+
};
|
|
9959
|
+
/**
|
|
9960
|
+
* What the robot is doing since the command, from ANY real change - the
|
|
9961
|
+
* charging state leaving where it was, or the position moving - because this
|
|
9962
|
+
* S2 never reports navigation in 1003. Null = nothing changed yet.
|
|
9963
|
+
* `done` = arrived / back on the charger.
|
|
9964
|
+
*/
|
|
9965
|
+
declare function padbotMotion(m: TPadbotMotion, now: {
|
|
9966
|
+
charging: unknown;
|
|
9967
|
+
pose: {
|
|
9968
|
+
x: number;
|
|
9969
|
+
y: number;
|
|
9970
|
+
} | null;
|
|
9971
|
+
}): {
|
|
9972
|
+
text: string;
|
|
9973
|
+
mode: string | null;
|
|
9974
|
+
done: boolean;
|
|
9975
|
+
} | null;
|
|
9919
9976
|
/**
|
|
9920
9977
|
* " · Wi-Fi -61 dBm" / " · Mobile -90 dBm", or "". §4.2 says dBm, but a real
|
|
9921
9978
|
* S2 reports small positive numbers (e.g. 4) - a signal LEVEL, not dBm (dBm is
|
|
@@ -10058,17 +10115,31 @@ type TCommandReply = {
|
|
|
10058
10115
|
vendorMessage?: string;
|
|
10059
10116
|
requestId?: string;
|
|
10060
10117
|
error?: string;
|
|
10061
|
-
/**
|
|
10118
|
+
/** How long PadBot took to answer the command itself (ms) - the latency breakdown in Diagnose. */
|
|
10119
|
+
vendorMs?: number;
|
|
10120
|
+
/**
|
|
10121
|
+
* What the robot did in the 60 s after PadBot accepted it (§4.2 read every 2 s, changes only).
|
|
10122
|
+
* `moved` = ANY real change (charging state, position, 1003); `firstChangeAfterSeconds` = when we first saw it.
|
|
10123
|
+
*/
|
|
10062
10124
|
reaction?: {
|
|
10063
10125
|
watching: boolean;
|
|
10064
10126
|
points: TReaction[];
|
|
10065
10127
|
failure?: string | null;
|
|
10066
10128
|
moved?: boolean;
|
|
10129
|
+
firstChangeAfterSeconds?: number | null;
|
|
10130
|
+
progress?: string | null;
|
|
10067
10131
|
};
|
|
10068
10132
|
};
|
|
10069
10133
|
declare const padbotCommandLog: (accountKey: string, robotSn: string) => TCommandReply[];
|
|
10070
10134
|
/** A failure is shown for this long after it was seen (then the plain state takes over). */
|
|
10071
10135
|
declare const PADBOT_FAILURE_SHOW_MS: number;
|
|
10136
|
+
/**
|
|
10137
|
+
* getRobot answers shared for this long per account + serial: the screen's
|
|
10138
|
+
* fast poll after a command (1 s), the map's track fallback (3 s) and other
|
|
10139
|
+
* viewers then cost PadBot one read set, not one each.
|
|
10140
|
+
*/
|
|
10141
|
+
declare const PADBOT_ROBOT_READ_MS = 900;
|
|
10142
|
+
declare const PADBOT_ALARM_READ_MS = 10000;
|
|
10072
10143
|
/** One robot's §4.2 states by type (the drive safety check). Null when PadBot does not list it. */
|
|
10073
10144
|
declare function readPadbotStates(credentials: {
|
|
10074
10145
|
appid: string;
|
|
@@ -20643,4 +20714,4 @@ declare function usePersonalEmergencyChainController(): {
|
|
|
20643
20714
|
update: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
20644
20715
|
};
|
|
20645
20716
|
|
|
20646
|
-
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_EMAIL_ALLOWLIST, DEFAULT_RING_SECONDS, DEFAULT_SCALE_M_PER_PX, DEFAULT_SITE_TIMEZONE, DEMO_ADD_MAX, DEMO_BRAND, DEMO_BRAND_DEFINITION, DEMO_CAPABILITIES, DEMO_FAULT_ROBOT, DEMO_ROUTES, DEVICE_STATUS, DISCONNECT, DOBStatus, DOOR_MODE, DRIVE_END_TEXT, DUPLICATE_TERMS_VERSION_MESSAGE, DayOfWeek, DeviceHttpTarget, DeviceProbeResult, DynamicFormFields, E164, EAccessCardTypes, EAccessCardUserTypes, EMAIL_CODE_MAX_ATTEMPTS, EMAIL_CODE_RESEND_MS, EMAIL_CODE_TTL_MS, EMAIL_PER_MODULE_PER_HOUR, EMAIL_WINDOW_MS, EmailSender, EntryOrder, EntrySort, EventOrder, EventSort, EventStatus, EventType, FLOOR_PLANS_TOTAL_MAX_BYTES, FLOOR_PLAN_MAX_BYTES, 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, MQTT, MQTT_MAX_PACKET, MRobot, MRobotBuildingMap, MRole, MRoleV2, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubcategoryPreloved, MSubscription, MSubscriptionPlan, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVerificationV2, MVisitorTransaction, MWorkOrder, MembershipPreference, 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, OPEN_RMF_BRAND, OPEN_RMF_CAPABILITIES, OPEN_RMF_DISPLAY_NAME, 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_BRAND_DEFINITION, OUNITECH_CAPABILITIES, OUNITECH_PENDING_COMMANDS, OUNITECH_REGION_BASE_URLS, OUNITECH_TIMESTAMP_FORMAT, OUNITECH_TIMESTAMP_ZONE, OpenRmfError, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PADBOT_ACTION_TEXT, PADBOT_ALARMS, PADBOT_ALARM_POLL_MS, PADBOT_ALARM_TEXT, PADBOT_BRAND, PADBOT_BRAND_DEFINITION, PADBOT_CAPABILITIES, PADBOT_DISPLAY_NAME, PADBOT_FAILURE_SHOW_MS, PADBOT_LIVE_POSE_MS, PADBOT_MAKER_APP_ONLY, PADBOT_MODELS, PADBOT_MOTION, PADBOT_MQTT_SYNC_MS, PADBOT_ONLINE_WINDOW_MS, PADBOT_OTHER_MAP_TEXT, PADBOT_PATHS, PATROL_CCTV_CAMERA_FILTER, PATROL_EMAIL_MAX_LOGS, PATROL_EMAIL_MAX_PER_HOUR, PATROL_EMAIL_MAX_RECIPIENTS, PERSON_TYPES, PINGREQ, 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, RECEIVED_INVITE_LABELS, RECEIVED_INVITE_TABS, REGISTERED_VEHICLE_CATEGORIES, ROBOT_APP_SCOPES, ROBOT_AUDIT_ACTIONS, ROBOT_CAPABILITIES, ROBOT_CLOUD_DOC_CONFIRMATIONS, ROBOT_CLOUD_PATHS, ROBOT_CLOUD_TIMEOUT_MS, ROBOT_CLOUD_TIMESTAMP_FORMATS, ROBOT_CREDENTIALS_ENV, ROBOT_MODULE, ROBOT_PERMISSIONS, ROBOT_STATUS_NAMES, ROBOT_TYPES, ReceivedInviteTab, ResidentAppModuleKey, RobotCloudError, RobotCredentialsError, SELF_SERVICE_RESEND_COOLDOWN_MS, SELF_SIGNUP_PLATFORM, SELF_SIGNUP_STATUS, SELF_SIGNUP_TYPES, SERVICE_PROVIDER_INVITE_EXPIRED_MESSAGE, 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, TBuildingFloorPlan, 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, TCredentialField, TCrossSiteRoleMode, TCustomer, TCustomerSite, TCustomerSitePropertyField, TDayNumber, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentCreate, TDocumentManagement, TDoorDriver, TDoorMode, TDoorRequest, TDoorState, TDriveSignal, 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, TIMESTAMP_OFFSET_CANDIDATES, 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, TMqttPacket, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TNotification, TNotificationEmail, TNotificationEmailJob, TNotificationEmailSettings, TNotificationPreference, TNotificationPreferenceOff, TNotifyAccessContext, TNotifyAccessMode, TNotifyAccessReport, TOccupancyGrid, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOpenRmfClient, TOpenRmfConfig, TOrg, TOrgModulesDeps, TOrgOwnerRepairClaim, TOrgOwnerRepairDeps, TOrgOwnerRepairInput, TOrgOwnerRepairPayload, TOrgOwnerRepairPlan, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPadbotDriveLimits, TPadbotLiveEvent, TPadbotMapFrame, TPadbotMqttEvent, TPadbotMqttMessage, TPadbotPoint, TPatrolEmail, TPatrolEmailCreatedBy, TPatrolEmailLogRef, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPendingCommand, TPerson, TPersonalEmergencyChain, TPersonalEmergencyContact, TPlaceOfIncident, TPlates, TPlatformTerms, TPost, TPostFavorite, TPreferenceViewOptions, 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, TRegionProbe, TRemarks, TResident, TResidentAppModules, TRmfBuildingMap, TRmfFleetState, TRmfLocation, TRmfRobotState, TRobot, TRobotAction, TRobotAdapter, TRobotAppScope, TRobotBrand, TRobotBuildingMap, TRobotCapabilities, TRobotCapability, TRobotCloudCredentials, TRobotCloudErrorKind, TRobotCloudPath, TRobotCloudReply, TRobotCloudReplyInfo, TRobotCloudTimestampFormat, TRobotCommand, TRobotDiagnosis, TRobotDiagnosisStep, TRobotInfo, TRobotLiftSession, TRobotLiveState, TRobotManifest, TRobotMetadata, TRobotMode, TRobotModelProfile, TRobotPage, TRobotPatrolCheckpoint, TRobotPatrolCheckpointVisit, TRobotPatrolPlan, TRobotPatrolRecord, 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, TTimestampOffsetProbe, TTimestampProbe, TTrackingEvent, TTrackingHandle, TUnitBilling, TUnits, TUpdateFormEntry, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleAnprCamera, TVehicleFieldChange, 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, asList, attendanceSchema, attendanceSettingsSchema, buildSelfServiceEmailContext, buildingFileImportSchema, buildingFromRmf, buildingInPlanFrame, 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, clampChassis, clampPtzSpeed, clearPadbotCache, clearRobotBrands, clockDriftSeconds, codeMatches, commandSupported, connackCode, consoleRoleAllows, consoleRoleAllowsAll, consoleSpellings, console_audit_namespace_collection, createDemoAdapter, createDriveWatchdog, createLiftSimulator, createManpowerRemarksDaily, createMessageDeduper, createMqttReader, createOpenRmfAdapter, createOpenRmfClient, createOunitechAdapter, createPadbotAdapter, createPadbotClient, createSseParser, crossSiteRoleGrants, crossSiteRoleMode, customerSchema, customerSitePropertyFields, decideSelfServiceResend, decideServiceProviderInvite, decodeHidPacsCard, decodePublish, decodeTrackingFrame, decryptCredential, deliverEmail, demoFault, demoPatrolPoint, deniedModules, deriveBulletinStatus, deriveCameraHost, derivedDemoRobot, describeCameraCapabilities, designationsSchema, deviceControlEnabled, deviceHttpEnabled, deviceHttpTargets, deviceHttpTimeoutMs, deviceProbeTtlSeconds, disconnectedState, doorModeOf, effectiveEmailAllowlist, emailOpenToEveryone, emitNotificationCreated, emptyPersonalEmergencyChain, encodeConnect, encodeGreyscalePng, encodeHidPacsCard, encodePuback, encodePublish, encodeSubscribe, encryptCredential, encryptedPairUpdate, endAllPadbotDrives, entitledSiteScope, escapeHtml, events_namespace_collection, expandModules, expiredBulletinSweepFilter, expiredVehicleSweepFilter, facility_bookings_namespace_collection, feedbackSchema, feedbacks2_namespace_collection, feedbacks_namespace_collection, fetchPadbotMqttCredentials, ffmpegFrameArgs, ffmpegPath, filterByAccess, fleetStateItem, floorNoOf, floorPlanBodySchema, flushNotificationEmails, forgetPadbotMaps, formatCapabilityTrace, formatDahuaDate, getIO, getSessionIdFromRequest, grabWithSubStreamFallback, greyscalePngDataUri, guests_namespace_collection, hasAnyCapability, hasAnyPermission, hasOrgInvitation, hasOrgOwnership, hasOrgSiteReach, hashCode, headParams, hexToAreaColour, hidRawUint64, holdsLift, holdsRole, incidentReport, incidentReportLog, incidents_namespace_collection, invitationOffersRole, isAvailableForWork, isCameraEntitled, isCrossSiteRole, isDispatchable, isDoorPassable, isDuplicateMemberError, isDuplicateVersionError, isEmailAllowed, isEncryptedCredential, isLiftAvailable, isLikelySelfServiceEmail, isLiveVehicleStatus, isPatrolCctvCamera, isPlatformOwner, isProductionWebBase, isPromoCodeExpired, isRelayPlayerUrl, isSafeRelativePath, isSafeToCross, isSeasonPassVehicle, isServiceProviderInviteExpired, isSuperAdmin, isTermsCurrent, isTrackingStale, isValidTimezone, jcs, keepStoredPassword, levelPixelToMetres, levelScale, levelSolids, liftQueueKey, liftRequestSchema, listPadbotAlarmsSince, listStaffUserIds, liveStatusFor, logCamera, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, mapWithLimit, maskNric, memberModulesHandlers, metresToPixel, missingForTier, moduleDeniedForCaller, moduleGateEnforceKeys, moduleGateMode, moduleImpact, moduleListGateOn, motionMessage, mqttBackoffMs, mqttRefreshDelayMs, networkText, newCode, newSecret, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, normalisePatrolPlan, normalizeAcceptedTerms, normalizeEmail, normalizeHidCardValue, notificationAccessReport, notificationCategory, notificationCategoryLabel, notificationEmail, notificationEvents, notificationKind, notificationRoom, notifyAccessMode, notifyRobotFault, occasionForStatus, occurrence_book_namespace_collection, offLink, offPage, offToken, offTokenMatches, onBookTimezonesChanged, onPadbotLive, online_forms_namespace_collection, openLink, openRmfConfig, openRmfDoorDriver, openRmfLiftDriver, orgLevelRoles, orgModulesHandlers, orgOwnerRepairHandlers, orgOwnerRepairOn, orgQualifiesForOwnerRepair, orgRoleSets, orgSchema, overnight_parking_requests_namespace_collection, padbotAccountKey, padbotAlarmFault, padbotAlarmPlace, padbotAlarmPollEnabled, padbotBaseUrl, padbotCanReachMap, padbotChargingPoint, padbotCheckpointVisit, padbotCommandBlock, padbotCommandLog, padbotCurrentMap, padbotDriveBlock, padbotDriveLimits, padbotDriveSignal, padbotErrorText, padbotFailureText, padbotLinkUp, padbotLive, padbotManualDriveEnabled, padbotMode, padbotMqttEnabled, padbotPatrolPlan, padbotPatrolRecord, padbotPlanShare, padbotReactionPoint, padbotReadiness, padbotSignature, padbotSignedRequest, parseCameraChannel, parseCameraHost, parseDahuaFind, parseDeviceTime, parseHidJsonLossless, parsePadbotAuthorization, parsePadbotMessage, parsePromoExpiry, parseRobotCommand, parseSoftwareVersion, pickAuditFields, pickCustomerSiteProperties, pixelToMetres, planBulkCameraImport, planDayFromJsDay, planDemoRobots, planOrgOwnerRepair, planShareOf, platform_terms_namespace_collection, playbackRelays, playbackWindowRefusal, promoCodeRefusal, promoCodeSchema, promoCodeStatusSchema, promoCodeUpdate, promoCodeUpdateSchema, ptzEndpoint, publicCameraFields, publishToPadbotRobot, queueNotificationEmails, readLiveItems, readPadbotStates, readPadbotStatesMany, readsAsApprovedAccount, receivedInviteTab, recordConsoleAction, recordPadbotLive, refuseServiceProviderInviteAction, registerCameraTransport, registerDemoBrand, registerOpenRmfBrand, registerOunitechBrand, registerPadbotBrand, registerRobotBrand, registeredRobotBrands, relayForRecorder, remarksSchema, renderPagePdf, requireConsolePermission, requirePlatformStaff, resetCameraTransports, residentAppModuleKeys, residentAppModulesSchema, residentFormEntry, resolutionRefusalReason, resolveCamera, resolveDeviceHttp, resolveHidPhysicalCardValue, resolveInviteActor, resolveSiteTimezone, resolveStaffRole, rmfBuilding_util as rmfBuilding, rmfBuildingSchema, robotActionsFor, robotBrandFor, robotCloudBody, robotCloudCredentials, robotCloudSign, robotCloudSigningString, robotCloudStepName, robotCloudTimestamp, robotCredentialsKey, robotFaultSweepConfig, robotManifest, robotMode, robotModeFromList, robotSchema, robotScopeForApp, robotTier, robotTypesVisibleTo, rtspUrl, safeTopic, 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, schemaNotificationEmailAddress, schemaNotificationEmailCode, schemaNotificationEmailOff, 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, sendNotificationEmails, servesFloor, serviceProviderInviteLabel, serviceProviderInviteViewStatus, sessionSchema, setIO, sha256Hex, shiftSchema, signLiveLink, signPlaybackLink, signedPath, simulatedLiftState, siteDayBounds, siteModulesHandlers, siteSchema, site_people_namespace_collection, snapshotEndpoint, snapshotRefusalReason, splitRobotSn, staffMayBypass, startDemoTracking, startPadbotDrive, startPadbotLiveFeed, startRobotTracking, startTodaysBookForSite, statesByType, stringifyHidJson, stripFacialImageMetadata, subackOk, subscriptionPlanSchema, summariseBulkCameraPlan, supports, taskRequestFor, toAdapterRobot, 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, vehicleHistoryValue, vehicleListViewQuery, vehicleSchema, vehicleViewOf, vehicles_namespace_collection, verificationEmail, vertexDistancePx, visitorPersonRepo, visitorPersonService, visitorType, visitors_namespace_collection, wallConfig, wallsFromOccupancyGrid, waypointsFor, webBase, withLiveLink, withNotificationKind, workOrderSchema, work_orders2_namespace_collection, work_orders_namespace_collection };
|
|
20717
|
+
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_EMAIL_ALLOWLIST, DEFAULT_RING_SECONDS, DEFAULT_SCALE_M_PER_PX, DEFAULT_SITE_TIMEZONE, DEMO_ADD_MAX, DEMO_BRAND, DEMO_BRAND_DEFINITION, DEMO_CAPABILITIES, DEMO_FAULT_ROBOT, DEMO_ROUTES, DEVICE_STATUS, DISCONNECT, DOBStatus, DOOR_MODE, DRIVE_END_TEXT, DUPLICATE_TERMS_VERSION_MESSAGE, DayOfWeek, DeviceHttpTarget, DeviceProbeResult, DynamicFormFields, E164, EAccessCardTypes, EAccessCardUserTypes, EMAIL_CODE_MAX_ATTEMPTS, EMAIL_CODE_RESEND_MS, EMAIL_CODE_TTL_MS, EMAIL_PER_MODULE_PER_HOUR, EMAIL_WINDOW_MS, EmailSender, EntryOrder, EntrySort, EventOrder, EventSort, EventStatus, EventType, FLOOR_PLANS_TOTAL_MAX_BYTES, FLOOR_PLAN_MAX_BYTES, 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, MQTT, MQTT_MAX_PACKET, MRobot, MRobotBuildingMap, MRole, MRoleV2, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubcategoryPreloved, MSubscription, MSubscriptionPlan, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVerificationV2, MVisitorTransaction, MWorkOrder, MembershipPreference, 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, OPEN_RMF_BRAND, OPEN_RMF_CAPABILITIES, OPEN_RMF_DISPLAY_NAME, 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_BRAND_DEFINITION, OUNITECH_CAPABILITIES, OUNITECH_PENDING_COMMANDS, OUNITECH_REGION_BASE_URLS, OUNITECH_TIMESTAMP_FORMAT, OUNITECH_TIMESTAMP_ZONE, OpenRmfError, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PADBOT_ACTION_TEXT, PADBOT_ALARMS, PADBOT_ALARM_POLL_MS, PADBOT_ALARM_READ_MS, PADBOT_ALARM_TEXT, PADBOT_ARRIVED_M, PADBOT_BRAND, PADBOT_BRAND_DEFINITION, PADBOT_CAPABILITIES, PADBOT_CHARGING, PADBOT_DISPLAY_NAME, PADBOT_FAILURE_SHOW_MS, PADBOT_LIVE_POSE_MS, PADBOT_MAKER_APP_ONLY, PADBOT_MODELS, PADBOT_MOTION, PADBOT_MOTION_MS, PADBOT_MOVED_M, PADBOT_MQTT_SYNC_MS, PADBOT_ONLINE_WINDOW_MS, PADBOT_OTHER_MAP_TEXT, PADBOT_PATHS, PADBOT_ROBOT_READ_MS, PATROL_CCTV_CAMERA_FILTER, PATROL_EMAIL_MAX_LOGS, PATROL_EMAIL_MAX_PER_HOUR, PATROL_EMAIL_MAX_RECIPIENTS, PERSON_TYPES, PINGREQ, 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, RECEIVED_INVITE_LABELS, RECEIVED_INVITE_TABS, REGISTERED_VEHICLE_CATEGORIES, ROBOT_APP_SCOPES, ROBOT_AUDIT_ACTIONS, ROBOT_CAPABILITIES, ROBOT_CLOUD_DOC_CONFIRMATIONS, ROBOT_CLOUD_PATHS, ROBOT_CLOUD_TIMEOUT_MS, ROBOT_CLOUD_TIMESTAMP_FORMATS, ROBOT_CREDENTIALS_ENV, ROBOT_MODULE, ROBOT_PERMISSIONS, ROBOT_STATUS_NAMES, ROBOT_TYPES, ReceivedInviteTab, ResidentAppModuleKey, RobotCloudError, RobotCredentialsError, SELF_SERVICE_RESEND_COOLDOWN_MS, SELF_SIGNUP_PLATFORM, SELF_SIGNUP_STATUS, SELF_SIGNUP_TYPES, SERVICE_PROVIDER_INVITE_EXPIRED_MESSAGE, 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, TBuildingFloorPlan, 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, TCredentialField, TCrossSiteRoleMode, TCustomer, TCustomerSite, TCustomerSitePropertyField, TDayNumber, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentCreate, TDocumentManagement, TDoorDriver, TDoorMode, TDoorRequest, TDoorState, TDriveSignal, 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, TIMESTAMP_OFFSET_CANDIDATES, 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, TMqttPacket, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TNotification, TNotificationEmail, TNotificationEmailJob, TNotificationEmailSettings, TNotificationPreference, TNotificationPreferenceOff, TNotifyAccessContext, TNotifyAccessMode, TNotifyAccessReport, TOccupancyGrid, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOpenRmfClient, TOpenRmfConfig, TOrg, TOrgModulesDeps, TOrgOwnerRepairClaim, TOrgOwnerRepairDeps, TOrgOwnerRepairInput, TOrgOwnerRepairPayload, TOrgOwnerRepairPlan, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPadbotDriveLimits, TPadbotLiveEvent, TPadbotMapFrame, TPadbotMotion, TPadbotMqttEvent, TPadbotMqttMessage, TPadbotPoint, TPatrolEmail, TPatrolEmailCreatedBy, TPatrolEmailLogRef, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPendingCommand, TPerson, TPersonalEmergencyChain, TPersonalEmergencyContact, TPlaceOfIncident, TPlates, TPlatformTerms, TPost, TPostFavorite, TPreferenceViewOptions, 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, TRegionProbe, TRemarks, TResident, TResidentAppModules, TRmfBuildingMap, TRmfFleetState, TRmfLocation, TRmfRobotState, TRobot, TRobotAction, TRobotAdapter, TRobotAppScope, TRobotBrand, TRobotBuildingMap, TRobotCapabilities, TRobotCapability, TRobotCloudCredentials, TRobotCloudErrorKind, TRobotCloudPath, TRobotCloudReply, TRobotCloudReplyInfo, TRobotCloudTimestampFormat, TRobotCommand, TRobotDiagnosis, TRobotDiagnosisStep, TRobotInfo, TRobotLiftSession, TRobotLiveState, TRobotManifest, TRobotMetadata, TRobotMode, TRobotModelProfile, TRobotPage, TRobotPatrolCheckpoint, TRobotPatrolCheckpointVisit, TRobotPatrolPlan, TRobotPatrolRecord, 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, TTimestampOffsetProbe, TTimestampProbe, TTrackingEvent, TTrackingHandle, TUnitBilling, TUnits, TUpdateFormEntry, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleAnprCamera, TVehicleFieldChange, 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, asList, attendanceSchema, attendanceSettingsSchema, buildSelfServiceEmailContext, buildingFileImportSchema, buildingFromRmf, buildingInPlanFrame, 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, clampChassis, clampPtzSpeed, clearPadbotCache, clearRobotBrands, clockDriftSeconds, codeMatches, commandSupported, connackCode, consoleRoleAllows, consoleRoleAllowsAll, consoleSpellings, console_audit_namespace_collection, createDemoAdapter, createDriveWatchdog, createLiftSimulator, createManpowerRemarksDaily, createMessageDeduper, createMqttReader, createOpenRmfAdapter, createOpenRmfClient, createOunitechAdapter, createPadbotAdapter, createPadbotClient, createSseParser, crossSiteRoleGrants, crossSiteRoleMode, customerSchema, customerSitePropertyFields, decideSelfServiceResend, decideServiceProviderInvite, decodeHidPacsCard, decodePublish, decodeTrackingFrame, decryptCredential, deliverEmail, demoFault, demoPatrolPoint, deniedModules, deriveBulletinStatus, deriveCameraHost, derivedDemoRobot, describeCameraCapabilities, designationsSchema, deviceControlEnabled, deviceHttpEnabled, deviceHttpTargets, deviceHttpTimeoutMs, deviceProbeTtlSeconds, disconnectedState, doorModeOf, effectiveEmailAllowlist, emailOpenToEveryone, emitNotificationCreated, emptyPersonalEmergencyChain, encodeConnect, encodeGreyscalePng, encodeHidPacsCard, encodePuback, encodePublish, encodeSubscribe, encryptCredential, encryptedPairUpdate, endAllPadbotDrives, entitledSiteScope, escapeHtml, events_namespace_collection, expandModules, expiredBulletinSweepFilter, expiredVehicleSweepFilter, facility_bookings_namespace_collection, feedbackSchema, feedbacks2_namespace_collection, feedbacks_namespace_collection, fetchPadbotMqttCredentials, ffmpegFrameArgs, ffmpegPath, filterByAccess, fleetStateItem, floorNoOf, floorPlanBodySchema, flushNotificationEmails, forgetPadbotMaps, formatCapabilityTrace, formatDahuaDate, getIO, getSessionIdFromRequest, grabWithSubStreamFallback, greyscalePngDataUri, guests_namespace_collection, hasAnyCapability, hasAnyPermission, hasOrgInvitation, hasOrgOwnership, hasOrgSiteReach, hashCode, headParams, hexToAreaColour, hidRawUint64, holdsLift, holdsRole, incidentReport, incidentReportLog, incidents_namespace_collection, invitationOffersRole, isAvailableForWork, isCameraEntitled, isCrossSiteRole, isDispatchable, isDoorPassable, isDuplicateMemberError, isDuplicateVersionError, isEmailAllowed, isEncryptedCredential, isLiftAvailable, isLikelySelfServiceEmail, isLiveVehicleStatus, isPatrolCctvCamera, isPlatformOwner, isProductionWebBase, isPromoCodeExpired, isRelayPlayerUrl, isSafeRelativePath, isSafeToCross, isSeasonPassVehicle, isServiceProviderInviteExpired, isSuperAdmin, isTermsCurrent, isTrackingStale, isValidTimezone, jcs, keepStoredPassword, levelPixelToMetres, levelScale, levelSolids, liftQueueKey, liftRequestSchema, listPadbotAlarmsSince, listStaffUserIds, liveStatusFor, logCamera, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, mapWithLimit, maskNric, memberModulesHandlers, metresToPixel, missingForTier, moduleDeniedForCaller, moduleGateEnforceKeys, moduleGateMode, moduleImpact, moduleListGateOn, motionMessage, mqttBackoffMs, mqttRefreshDelayMs, networkText, newCode, newSecret, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, normalisePatrolPlan, normalizeAcceptedTerms, normalizeEmail, normalizeHidCardValue, notificationAccessReport, notificationCategory, notificationCategoryLabel, notificationEmail, notificationEvents, notificationKind, notificationRoom, notifyAccessMode, notifyRobotFault, occasionForStatus, occurrence_book_namespace_collection, offLink, offPage, offToken, offTokenMatches, onBookTimezonesChanged, onPadbotLive, online_forms_namespace_collection, openLink, openRmfConfig, openRmfDoorDriver, openRmfLiftDriver, orgLevelRoles, orgModulesHandlers, orgOwnerRepairHandlers, orgOwnerRepairOn, orgQualifiesForOwnerRepair, orgRoleSets, orgSchema, overnight_parking_requests_namespace_collection, padbotAccountKey, padbotAlarmFault, padbotAlarmPlace, padbotAlarmPollEnabled, padbotBaseUrl, padbotCanReachMap, padbotChargingPoint, padbotCheckpointVisit, padbotCommandBlock, padbotCommandLog, padbotCurrentMap, padbotDriveBlock, padbotDriveLimits, padbotDriveSignal, padbotErrorText, padbotFailureText, padbotLinkUp, padbotLive, padbotManualDriveEnabled, padbotMode, padbotMotion, padbotMqttEnabled, padbotPatrolPlan, padbotPatrolRecord, padbotPlanShare, padbotReactionPoint, padbotReadiness, padbotSignature, padbotSignedRequest, parseCameraChannel, parseCameraHost, parseDahuaFind, parseDeviceTime, parseHidJsonLossless, parsePadbotAuthorization, parsePadbotMessage, parsePromoExpiry, parseRobotCommand, parseSoftwareVersion, pickAuditFields, pickCustomerSiteProperties, pixelToMetres, planBulkCameraImport, planDayFromJsDay, planDemoRobots, planOrgOwnerRepair, planShareOf, platform_terms_namespace_collection, playbackRelays, playbackWindowRefusal, promoCodeRefusal, promoCodeSchema, promoCodeStatusSchema, promoCodeUpdate, promoCodeUpdateSchema, ptzEndpoint, publicCameraFields, publishToPadbotRobot, queueNotificationEmails, readLiveItems, readPadbotStates, readPadbotStatesMany, readsAsApprovedAccount, receivedInviteTab, recordConsoleAction, recordPadbotLive, refuseServiceProviderInviteAction, registerCameraTransport, registerDemoBrand, registerOpenRmfBrand, registerOunitechBrand, registerPadbotBrand, registerRobotBrand, registeredRobotBrands, relayForRecorder, remarksSchema, renderPagePdf, requireConsolePermission, requirePlatformStaff, resetCameraTransports, residentAppModuleKeys, residentAppModulesSchema, residentFormEntry, resolutionRefusalReason, resolveCamera, resolveDeviceHttp, resolveHidPhysicalCardValue, resolveInviteActor, resolveSiteTimezone, resolveStaffRole, rmfBuilding_util as rmfBuilding, rmfBuildingSchema, robotActionsFor, robotBrandFor, robotCloudBody, robotCloudCredentials, robotCloudSign, robotCloudSigningString, robotCloudStepName, robotCloudTimestamp, robotCredentialsKey, robotFaultSweepConfig, robotManifest, robotMode, robotModeFromList, robotSchema, robotScopeForApp, robotTier, robotTypesVisibleTo, rtspUrl, safeTopic, 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, schemaNotificationEmailAddress, schemaNotificationEmailCode, schemaNotificationEmailOff, 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, sendNotificationEmails, servesFloor, serviceProviderInviteLabel, serviceProviderInviteViewStatus, sessionSchema, setIO, sha256Hex, shiftSchema, signLiveLink, signPlaybackLink, signedPath, simulatedLiftState, siteDayBounds, siteModulesHandlers, siteSchema, site_people_namespace_collection, snapshotEndpoint, snapshotRefusalReason, splitRobotSn, staffMayBypass, startDemoTracking, startPadbotDrive, startPadbotLiveFeed, startRobotTracking, startTodaysBookForSite, statesByType, stringifyHidJson, stripFacialImageMetadata, subackOk, subscriptionPlanSchema, summariseBulkCameraPlan, supports, taskRequestFor, toAdapterRobot, 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, vehicleHistoryValue, vehicleListViewQuery, vehicleSchema, vehicleViewOf, vehicles_namespace_collection, verificationEmail, vertexDistancePx, visitorPersonRepo, visitorPersonService, visitorType, visitors_namespace_collection, wallConfig, wallsFromOccupancyGrid, waypointsFor, webBase, withLiveLink, withNotificationKind, workOrderSchema, work_orders2_namespace_collection, work_orders_namespace_collection };
|
package/dist/index.js
CHANGED
|
@@ -261,20 +261,26 @@ __export(src_exports, {
|
|
|
261
261
|
PADBOT_ACTION_TEXT: () => PADBOT_ACTION_TEXT,
|
|
262
262
|
PADBOT_ALARMS: () => PADBOT_ALARMS,
|
|
263
263
|
PADBOT_ALARM_POLL_MS: () => PADBOT_ALARM_POLL_MS,
|
|
264
|
+
PADBOT_ALARM_READ_MS: () => PADBOT_ALARM_READ_MS,
|
|
264
265
|
PADBOT_ALARM_TEXT: () => PADBOT_ALARM_TEXT,
|
|
266
|
+
PADBOT_ARRIVED_M: () => PADBOT_ARRIVED_M,
|
|
265
267
|
PADBOT_BRAND: () => PADBOT_BRAND,
|
|
266
268
|
PADBOT_BRAND_DEFINITION: () => PADBOT_BRAND_DEFINITION,
|
|
267
269
|
PADBOT_CAPABILITIES: () => PADBOT_CAPABILITIES,
|
|
270
|
+
PADBOT_CHARGING: () => PADBOT_CHARGING,
|
|
268
271
|
PADBOT_DISPLAY_NAME: () => PADBOT_DISPLAY_NAME,
|
|
269
272
|
PADBOT_FAILURE_SHOW_MS: () => PADBOT_FAILURE_SHOW_MS,
|
|
270
273
|
PADBOT_LIVE_POSE_MS: () => PADBOT_LIVE_POSE_MS,
|
|
271
274
|
PADBOT_MAKER_APP_ONLY: () => PADBOT_MAKER_APP_ONLY,
|
|
272
275
|
PADBOT_MODELS: () => PADBOT_MODELS,
|
|
273
276
|
PADBOT_MOTION: () => PADBOT_MOTION,
|
|
277
|
+
PADBOT_MOTION_MS: () => PADBOT_MOTION_MS,
|
|
278
|
+
PADBOT_MOVED_M: () => PADBOT_MOVED_M,
|
|
274
279
|
PADBOT_MQTT_SYNC_MS: () => PADBOT_MQTT_SYNC_MS,
|
|
275
280
|
PADBOT_ONLINE_WINDOW_MS: () => PADBOT_ONLINE_WINDOW_MS,
|
|
276
281
|
PADBOT_OTHER_MAP_TEXT: () => PADBOT_OTHER_MAP_TEXT,
|
|
277
282
|
PADBOT_PATHS: () => PADBOT_PATHS,
|
|
283
|
+
PADBOT_ROBOT_READ_MS: () => PADBOT_ROBOT_READ_MS,
|
|
278
284
|
PATROL_CCTV_CAMERA_FILTER: () => PATROL_CCTV_CAMERA_FILTER,
|
|
279
285
|
PATROL_EMAIL_MAX_LOGS: () => PATROL_EMAIL_MAX_LOGS,
|
|
280
286
|
PATROL_EMAIL_MAX_PER_HOUR: () => PATROL_EMAIL_MAX_PER_HOUR,
|
|
@@ -625,6 +631,7 @@ __export(src_exports, {
|
|
|
625
631
|
padbotLive: () => padbotLive,
|
|
626
632
|
padbotManualDriveEnabled: () => padbotManualDriveEnabled,
|
|
627
633
|
padbotMode: () => padbotMode,
|
|
634
|
+
padbotMotion: () => padbotMotion,
|
|
628
635
|
padbotMqttEnabled: () => padbotMqttEnabled,
|
|
629
636
|
padbotPatrolPlan: () => padbotPatrolPlan,
|
|
630
637
|
padbotPatrolRecord: () => padbotPatrolRecord,
|
|
@@ -65352,9 +65359,9 @@ function padbotReadiness(states, now = Date.now()) {
|
|
|
65352
65359
|
const charging = st["1002"]?.chargingState;
|
|
65353
65360
|
const notes = [];
|
|
65354
65361
|
if (es.wheelLockState === 1)
|
|
65355
|
-
notes.push("
|
|
65362
|
+
notes.push("Wheel motor lock reads 1 (1006). The S2 reads 1 even while it drives, so this does not stop it.");
|
|
65356
65363
|
if (charging === 2)
|
|
65357
|
-
notes.push("Charging state 2
|
|
65364
|
+
notes.push("Charging state 2 = docked on the charger (inferred from the S2; PadBot's v4.0 document lists only 0 and 1).");
|
|
65358
65365
|
return {
|
|
65359
65366
|
online: padbotMode(st, now).online,
|
|
65360
65367
|
heartbeatAt: st["1000"]?.updatedAt ?? null,
|
|
@@ -65388,6 +65395,33 @@ function padbotFailureText(p) {
|
|
|
65388
65395
|
return null;
|
|
65389
65396
|
return `Could not reach ${p.target || "its destination"}${p.message ? ` (${p.message})` : ""}`;
|
|
65390
65397
|
}
|
|
65398
|
+
var PADBOT_CHARGING = { OFF: 0, UNDOCKING_OR_CHARGING: 1, DOCKED: 2, DOCKING: 3 };
|
|
65399
|
+
var PADBOT_MOVED_M = 0.3;
|
|
65400
|
+
var PADBOT_ARRIVED_M = 0.5;
|
|
65401
|
+
var PADBOT_MOTION_MS = 3 * 6e4;
|
|
65402
|
+
function padbotMotion(m, now) {
|
|
65403
|
+
const c = typeof now.charging === "number" ? now.charging : null;
|
|
65404
|
+
const walked = m.pose && now.pose ? Math.hypot(now.pose.x - m.pose.x, now.pose.y - m.pose.y) : null;
|
|
65405
|
+
const moved = c !== null && m.charging !== null && c !== m.charging || walked !== null && walked > PADBOT_MOVED_M;
|
|
65406
|
+
if (!moved)
|
|
65407
|
+
return null;
|
|
65408
|
+
if (m.kind === "return") {
|
|
65409
|
+
if (c === PADBOT_CHARGING.DOCKING)
|
|
65410
|
+
return { text: "Docking", mode: "WORKING", done: false };
|
|
65411
|
+
if (c === PADBOT_CHARGING.DOCKED || c === PADBOT_CHARGING.UNDOCKING_OR_CHARGING)
|
|
65412
|
+
return { text: "Back on charger", mode: null, done: true };
|
|
65413
|
+
return { text: "On the way to the charger", mode: "WORKING", done: false };
|
|
65414
|
+
}
|
|
65415
|
+
if (m.charging === PADBOT_CHARGING.DOCKED && c === PADBOT_CHARGING.UNDOCKING_OR_CHARGING)
|
|
65416
|
+
return { text: "Leaving the charger", mode: "WORKING", done: false };
|
|
65417
|
+
const t = m.target;
|
|
65418
|
+
if (t && t.x !== null && t.y !== null && now.pose && Math.hypot(now.pose.x - t.x, now.pose.y - t.y) <= PADBOT_ARRIVED_M) {
|
|
65419
|
+
return { text: `Arrived at ${t.name}`, mode: null, done: true };
|
|
65420
|
+
}
|
|
65421
|
+
if (t)
|
|
65422
|
+
return { text: `On the way to ${t.name}`, mode: "WORKING", done: false };
|
|
65423
|
+
return { text: m.kind === "full" || m.kind === "area" || m.kind === "patrol-resume" ? "Patrolling" : "On the way", mode: "WORKING", done: false };
|
|
65424
|
+
}
|
|
65391
65425
|
function networkText(net) {
|
|
65392
65426
|
const say = (label2, v) => v < 0 ? ` \xB7 ${label2} ${v} dBm` : ` \xB7 ${label2} signal ${v}`;
|
|
65393
65427
|
const wifi = num(net?.wifi?.signalStrength);
|
|
@@ -65656,6 +65690,9 @@ function clearPadbotCache() {
|
|
|
65656
65690
|
live.clear();
|
|
65657
65691
|
commandLog.clear();
|
|
65658
65692
|
lastFailure.clear();
|
|
65693
|
+
motions.clear();
|
|
65694
|
+
robotReads.clear();
|
|
65695
|
+
alarmReads.clear();
|
|
65659
65696
|
}
|
|
65660
65697
|
function forgetPadbotMaps(appid, robotSn) {
|
|
65661
65698
|
for (const key of cache2.keys())
|
|
@@ -65684,6 +65721,11 @@ function logCommand(accountKey, robotSn, entry) {
|
|
|
65684
65721
|
var padbotCommandLog = (accountKey, robotSn) => commandLog.get(`${accountKey}:${robotSn}`) ?? [];
|
|
65685
65722
|
var lastFailure = /* @__PURE__ */ new Map();
|
|
65686
65723
|
var PADBOT_FAILURE_SHOW_MS = 3 * 6e4;
|
|
65724
|
+
var motions = /* @__PURE__ */ new Map();
|
|
65725
|
+
var PADBOT_ROBOT_READ_MS = 900;
|
|
65726
|
+
var robotReads = /* @__PURE__ */ new Map();
|
|
65727
|
+
var PADBOT_ALARM_READ_MS = 1e4;
|
|
65728
|
+
var alarmReads = /* @__PURE__ */ new Map();
|
|
65687
65729
|
async function readPadbotStates(credentials, robotSn, stateTypes) {
|
|
65688
65730
|
const list = await createPadbotClient(credentials).call(PADBOT_PATHS.states, { serialNumbers: [robotSn], stateTypes });
|
|
65689
65731
|
const entry = (list ?? []).find((e) => e?.serialNumber === robotSn);
|
|
@@ -65709,7 +65751,7 @@ async function listPadbotAlarmsSince(credentials, serials, startTime) {
|
|
|
65709
65751
|
}
|
|
65710
65752
|
function createPadbotAdapter(credentials, options = {}) {
|
|
65711
65753
|
const { call, raw } = createPadbotClient(credentials, options);
|
|
65712
|
-
const watch = options.watch === void 0 ? { everyMs: 2e3, forMs:
|
|
65754
|
+
const watch = options.watch === void 0 ? { everyMs: 2e3, forMs: 6e4 } : options.watch;
|
|
65713
65755
|
const sleep3 = options.sleep ?? ((ms2) => new Promise((resolve) => {
|
|
65714
65756
|
const t = setTimeout(resolve, ms2);
|
|
65715
65757
|
t?.unref?.();
|
|
@@ -65725,14 +65767,43 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65725
65767
|
const entry = (list ?? []).find((e) => e?.serialNumber === sn);
|
|
65726
65768
|
return entry ? statesByType(entry) : null;
|
|
65727
65769
|
};
|
|
65728
|
-
|
|
65770
|
+
function openAlarm(robotSn) {
|
|
65771
|
+
const k = `${account}:${robotSn}`;
|
|
65772
|
+
const hit = alarmReads.get(k);
|
|
65773
|
+
if (hit && now() - hit.at < PADBOT_ALARM_READ_MS)
|
|
65774
|
+
return hit.value;
|
|
65775
|
+
if (alarmReads.size > 2e3)
|
|
65776
|
+
alarmReads.clear();
|
|
65777
|
+
const value = call(PADBOT_PATHS.alarms, { serialNumbers: [robotSn], resolved: false, pageNumber: 1, pageSize: 1 }).then((d) => d?.items?.[0] ?? null).catch(() => {
|
|
65778
|
+
alarmReads.delete(k);
|
|
65779
|
+
return null;
|
|
65780
|
+
});
|
|
65781
|
+
alarmReads.set(k, { at: now(), value });
|
|
65782
|
+
return value;
|
|
65783
|
+
}
|
|
65784
|
+
function getRobot(robotSn) {
|
|
65785
|
+
const k = `${account}:${robotSn}`;
|
|
65786
|
+
const hit = robotReads.get(k);
|
|
65787
|
+
if (hit && now() - hit.at < PADBOT_ROBOT_READ_MS)
|
|
65788
|
+
return hit.value;
|
|
65789
|
+
if (robotReads.size > 2e3)
|
|
65790
|
+
robotReads.clear();
|
|
65791
|
+
const value = readRobot(robotSn);
|
|
65792
|
+
robotReads.set(k, { at: now(), value });
|
|
65793
|
+
value.catch(() => robotReads.delete(k));
|
|
65794
|
+
return value;
|
|
65795
|
+
}
|
|
65796
|
+
async function readRobot(robotSn) {
|
|
65797
|
+
const heard = padbotLive(account, robotSn);
|
|
65798
|
+
const pose = heard?.pose && now() - heard.pose.at < PADBOT_LIVE_POSE_MS ? heard.pose : null;
|
|
65799
|
+
const locRead = pose ? Promise.resolve({ mapId: pose.mapId, worldX: pose.x, worldY: pose.y, yaw: pose.yawDeg }) : call(PADBOT_PATHS.location, { serialNumber: robotSn }).catch(() => null);
|
|
65800
|
+
const alarmRead = openAlarm(robotSn);
|
|
65729
65801
|
const [st, list] = await Promise.all([states(robotSn), roster().catch(() => [])]);
|
|
65730
65802
|
if (!st)
|
|
65731
65803
|
return null;
|
|
65732
65804
|
const info = (list ?? []).find((r) => r?.serialNumber === robotSn);
|
|
65733
65805
|
const { online, mode, statusName } = padbotMode(st, now());
|
|
65734
65806
|
const floor = st["1007"]?.floor;
|
|
65735
|
-
const heard = padbotLive(account, robotSn);
|
|
65736
65807
|
const restBatteryAt = ms(st["1001"]?.updatedAt);
|
|
65737
65808
|
const battery = heard?.batteryPercent !== void 0 && (!Number.isFinite(restBatteryAt) || (heard.batteryAt ?? 0) > restBatteryAt) ? heard.batteryPercent : num(st["1001"]?.batteryPercent);
|
|
65738
65809
|
const failed = lastFailure.get(`${account}:${robotSn}`);
|
|
@@ -65759,11 +65830,8 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65759
65830
|
}
|
|
65760
65831
|
if (!online)
|
|
65761
65832
|
return robot;
|
|
65762
|
-
const
|
|
65763
|
-
const
|
|
65764
|
-
pose ? Promise.resolve({ mapId: pose.mapId, worldX: pose.x, worldY: pose.y, yaw: pose.yawDeg }) : call(PADBOT_PATHS.location, { serialNumber: robotSn }).catch(() => null),
|
|
65765
|
-
robot.fault ? Promise.resolve(null) : call(PADBOT_PATHS.alarms, { serialNumbers: [robotSn], resolved: false, pageNumber: 1, pageSize: 1 }).then((d) => d?.items?.[0] ?? null).catch(() => null)
|
|
65766
|
-
]);
|
|
65833
|
+
const [loc, openA] = await Promise.all([locRead, alarmRead]);
|
|
65834
|
+
const alarm = robot.fault ? null : openA;
|
|
65767
65835
|
const lx = num(loc?.worldX ?? loc?.x);
|
|
65768
65836
|
const ly = num(loc?.worldY ?? loc?.y);
|
|
65769
65837
|
if (typeof loc?.mapId === "string" && loc.mapId)
|
|
@@ -65775,6 +65843,13 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65775
65843
|
robot.position = { x: lx, y: ly, theta: (num(loc.yaw ?? loc.r) ?? 0) * Math.PI / 180 };
|
|
65776
65844
|
robot.planPosition = padbotPlanShare(map, lx, ly);
|
|
65777
65845
|
}
|
|
65846
|
+
const mo = motions.get(`${account}:${robotSn}`);
|
|
65847
|
+
const going = mo && now() - mo.sentAt < PADBOT_MOTION_MS && /^(Standing by|Charging)/.test(robot.statusName ?? "") ? padbotMotion(mo, { charging: st["1002"]?.chargingState, pose: robot.position ? { x: robot.position.x, y: robot.position.y } : null }) : null;
|
|
65848
|
+
if (going) {
|
|
65849
|
+
robot.statusName = (robot.statusName ?? "").replace(/^(Standing by|Charging)/, going.text);
|
|
65850
|
+
if (going.mode)
|
|
65851
|
+
robot.mode = going.mode;
|
|
65852
|
+
}
|
|
65778
65853
|
const last = heard?.pose;
|
|
65779
65854
|
if (!robot.position && last && (last.mapId === null || last.mapId === robot.mapId) && (robot.mode === "IDLE" || robot.mode === "CHARGING_CYCLE" || robot.mode === "CHARGED")) {
|
|
65780
65855
|
robot.position = { x: last.x, y: last.y, theta: (last.yawDeg ?? 0) * Math.PI / 180 };
|
|
@@ -65787,7 +65862,8 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65787
65862
|
if (pile) {
|
|
65788
65863
|
robot.position = { x: pile.worldX, y: pile.worldY, theta: (num(pile.yaw) ?? 0) * Math.PI / 180 };
|
|
65789
65864
|
robot.planPosition = padbotPlanShare(map, pile.worldX, pile.worldY);
|
|
65790
|
-
|
|
65865
|
+
if (!going || going.done)
|
|
65866
|
+
robot.statusName = `${robot.statusName} \xB7 At charger`;
|
|
65791
65867
|
}
|
|
65792
65868
|
if (!robot.position)
|
|
65793
65869
|
robot.statusName = `${robot.statusName} \xB7 Position not reported`;
|
|
@@ -65808,7 +65884,7 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65808
65884
|
const ids2 = [loc?.mapId, st?.["1007"]?.mapId];
|
|
65809
65885
|
const map = padbotCurrentMap(all, ids2, st?.["1007"]?.floor);
|
|
65810
65886
|
const mapId = map?.mapId ?? ids2.find((id) => typeof id === "string" && id) ?? null;
|
|
65811
|
-
return { st: st ?? {}, all: all ?? [], mapId };
|
|
65887
|
+
return { st: st ?? {}, all: all ?? [], mapId, loc };
|
|
65812
65888
|
}
|
|
65813
65889
|
const mapName = (all, id) => {
|
|
65814
65890
|
const m = all.find((x) => x?.mapId === id);
|
|
@@ -65832,10 +65908,10 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65832
65908
|
}
|
|
65833
65909
|
return String(rawRoute.pathId);
|
|
65834
65910
|
}
|
|
65835
|
-
async function watchReaction(robotSn, entry, sentAt) {
|
|
65911
|
+
async function watchReaction(robotSn, entry, sentAt, motion) {
|
|
65836
65912
|
if (!watch)
|
|
65837
65913
|
return;
|
|
65838
|
-
const r = entry.reaction = { watching: true, points: [], failure: null, moved: false };
|
|
65914
|
+
const r = entry.reaction = { watching: true, points: [], failure: null, moved: false, firstChangeAfterSeconds: null, progress: null };
|
|
65839
65915
|
let last = "";
|
|
65840
65916
|
try {
|
|
65841
65917
|
for (let waited = 0; waited < watch.forMs; ) {
|
|
@@ -65845,19 +65921,28 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65845
65921
|
if (!st)
|
|
65846
65922
|
continue;
|
|
65847
65923
|
const p = padbotReactionPoint(st);
|
|
65924
|
+
const after = Math.round((now() - sentAt) / 1e3);
|
|
65848
65925
|
const key = JSON.stringify(p);
|
|
65849
|
-
if (key !== last && r.points.length <
|
|
65850
|
-
r.points.push({ ...p, afterSeconds:
|
|
65926
|
+
if (key !== last && r.points.length < 30)
|
|
65927
|
+
r.points.push({ ...p, afterSeconds: after });
|
|
65851
65928
|
last = key;
|
|
65852
|
-
|
|
65929
|
+
const heard = padbotLive(account, robotSn)?.pose;
|
|
65930
|
+
const pose = heard && now() - heard.at < PADBOT_LIVE_POSE_MS ? { x: heard.x, y: heard.y } : null;
|
|
65931
|
+
const going = padbotMotion(motion, { charging: p.charging, pose });
|
|
65932
|
+
if (going || p.state >= 1 && p.state <= 5) {
|
|
65933
|
+
if (!r.moved)
|
|
65934
|
+
r.firstChangeAfterSeconds = after;
|
|
65853
65935
|
r.moved = true;
|
|
65936
|
+
}
|
|
65937
|
+
if (going)
|
|
65938
|
+
r.progress = going.text;
|
|
65854
65939
|
const failure = padbotFailureText(p);
|
|
65855
65940
|
if (failure) {
|
|
65856
65941
|
r.failure = failure;
|
|
65857
65942
|
lastFailure.set(`${account}:${robotSn}`, { at: now(), text: failure });
|
|
65858
65943
|
break;
|
|
65859
65944
|
}
|
|
65860
|
-
if (p.state === 5)
|
|
65945
|
+
if (p.state === 5 || going?.done)
|
|
65861
65946
|
break;
|
|
65862
65947
|
}
|
|
65863
65948
|
} finally {
|
|
@@ -65866,22 +65951,48 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65866
65951
|
}
|
|
65867
65952
|
async function sendCommand2(robotSn, command) {
|
|
65868
65953
|
const sn = { serialNumber: robotSn };
|
|
65954
|
+
const where = command.kind === "go-to-point" ? await whereIs(robotSn) : null;
|
|
65955
|
+
let motion = null;
|
|
65869
65956
|
if (MOVING_COMMANDS.has(command.kind)) {
|
|
65870
|
-
const
|
|
65957
|
+
const before = where?.st ?? await states(robotSn);
|
|
65958
|
+
const block = padbotCommandBlock(before, command.kind, now());
|
|
65871
65959
|
if (block)
|
|
65872
65960
|
throw new import_node_server_utils162.BadRequestError(block);
|
|
65873
65961
|
lastFailure.delete(`${account}:${robotSn}`);
|
|
65874
|
-
|
|
65962
|
+
const heard = padbotLive(account, robotSn)?.pose;
|
|
65963
|
+
const lx = num(where?.loc?.worldX);
|
|
65964
|
+
const ly = num(where?.loc?.worldY);
|
|
65965
|
+
let target = null;
|
|
65966
|
+
if (command.kind === "go-to-point") {
|
|
65967
|
+
const pt = (where?.all ?? []).flatMap((m) => Array.isArray(m?.targetPoints) ? m.targetPoints : []).find((t) => t?.targetPointId === command.targetPointId);
|
|
65968
|
+
target = { name: String(pt?.name || "the chosen point"), x: num(pt?.worldX), y: num(pt?.worldY) };
|
|
65969
|
+
}
|
|
65970
|
+
motion = {
|
|
65971
|
+
kind: command.kind,
|
|
65972
|
+
sentAt: 0,
|
|
65973
|
+
charging: typeof before?.["1002"]?.chargingState === "number" ? before["1002"].chargingState : null,
|
|
65974
|
+
pose: lx !== null && ly !== null ? { x: lx, y: ly } : heard ? { x: heard.x, y: heard.y } : null,
|
|
65975
|
+
target
|
|
65976
|
+
};
|
|
65977
|
+
} else if (command.kind === "cancel")
|
|
65978
|
+
motions.delete(`${account}:${robotSn}`);
|
|
65875
65979
|
const call2 = async (path5, body) => {
|
|
65876
65980
|
const at2 = new Date(now()).toISOString();
|
|
65877
65981
|
const meta = {};
|
|
65982
|
+
const t0 = Date.now();
|
|
65878
65983
|
try {
|
|
65879
65984
|
await callRaw(path5, body, meta);
|
|
65880
|
-
const entry = { at: at2, command: command.kind, path: path5, body, ok: true, vendorCode: 0, vendorMessage: meta.message, requestId: meta.requestId };
|
|
65985
|
+
const entry = { at: at2, command: command.kind, path: path5, body, ok: true, vendorCode: 0, vendorMessage: meta.message, requestId: meta.requestId, vendorMs: Date.now() - t0 };
|
|
65881
65986
|
logCommand(account, robotSn, entry);
|
|
65882
|
-
if (
|
|
65883
|
-
|
|
65987
|
+
if (motion) {
|
|
65988
|
+
motion.sentAt = now();
|
|
65989
|
+
if (motions.size > 2e3)
|
|
65990
|
+
motions.clear();
|
|
65991
|
+
motions.set(`${account}:${robotSn}`, motion);
|
|
65992
|
+
robotReads.delete(`${account}:${robotSn}`);
|
|
65993
|
+
void watchReaction(robotSn, entry, motion.sentAt, motion).catch(() => {
|
|
65884
65994
|
});
|
|
65995
|
+
}
|
|
65885
65996
|
} catch (e) {
|
|
65886
65997
|
logCommand(account, robotSn, {
|
|
65887
65998
|
at: at2,
|
|
@@ -65926,7 +66037,6 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
65926
66037
|
await call2(PADBOT_PATHS.relocate, { ...sn, worldX: command.x, worldY: command.y });
|
|
65927
66038
|
return;
|
|
65928
66039
|
case "go-to-point": {
|
|
65929
|
-
const where = await whereIs(robotSn);
|
|
65930
66040
|
if (!padbotCanReachMap(where.all, where.mapId, command.mapId))
|
|
65931
66041
|
throw new import_node_server_utils162.BadRequestError(PADBOT_OTHER_MAP_TEXT);
|
|
65932
66042
|
await call2(PADBOT_PATHS.navigateTarget, { ...sn, mapId: command.mapId, targetPointId: command.targetPointId });
|
|
@@ -66024,6 +66134,8 @@ function createPadbotAdapter(credentials, options = {}) {
|
|
|
66024
66134
|
}
|
|
66025
66135
|
for (let i = 0; i < ids2.length; i += 100)
|
|
66026
66136
|
await call(PADBOT_PATHS.resolve, { alarmIds: ids2.slice(i, i + 100) });
|
|
66137
|
+
robotReads.delete(`${account}:${robotSn}`);
|
|
66138
|
+
alarmReads.delete(`${account}:${robotSn}`);
|
|
66027
66139
|
return ids2.length;
|
|
66028
66140
|
},
|
|
66029
66141
|
async getPatrolHistory(robotSn, pageNumber, pageSize) {
|
|
@@ -105090,20 +105202,26 @@ function usePersonalEmergencyChainController() {
|
|
|
105090
105202
|
PADBOT_ACTION_TEXT,
|
|
105091
105203
|
PADBOT_ALARMS,
|
|
105092
105204
|
PADBOT_ALARM_POLL_MS,
|
|
105205
|
+
PADBOT_ALARM_READ_MS,
|
|
105093
105206
|
PADBOT_ALARM_TEXT,
|
|
105207
|
+
PADBOT_ARRIVED_M,
|
|
105094
105208
|
PADBOT_BRAND,
|
|
105095
105209
|
PADBOT_BRAND_DEFINITION,
|
|
105096
105210
|
PADBOT_CAPABILITIES,
|
|
105211
|
+
PADBOT_CHARGING,
|
|
105097
105212
|
PADBOT_DISPLAY_NAME,
|
|
105098
105213
|
PADBOT_FAILURE_SHOW_MS,
|
|
105099
105214
|
PADBOT_LIVE_POSE_MS,
|
|
105100
105215
|
PADBOT_MAKER_APP_ONLY,
|
|
105101
105216
|
PADBOT_MODELS,
|
|
105102
105217
|
PADBOT_MOTION,
|
|
105218
|
+
PADBOT_MOTION_MS,
|
|
105219
|
+
PADBOT_MOVED_M,
|
|
105103
105220
|
PADBOT_MQTT_SYNC_MS,
|
|
105104
105221
|
PADBOT_ONLINE_WINDOW_MS,
|
|
105105
105222
|
PADBOT_OTHER_MAP_TEXT,
|
|
105106
105223
|
PADBOT_PATHS,
|
|
105224
|
+
PADBOT_ROBOT_READ_MS,
|
|
105107
105225
|
PATROL_CCTV_CAMERA_FILTER,
|
|
105108
105226
|
PATROL_EMAIL_MAX_LOGS,
|
|
105109
105227
|
PATROL_EMAIL_MAX_PER_HOUR,
|
|
@@ -105454,6 +105572,7 @@ function usePersonalEmergencyChainController() {
|
|
|
105454
105572
|
padbotLive,
|
|
105455
105573
|
padbotManualDriveEnabled,
|
|
105456
105574
|
padbotMode,
|
|
105575
|
+
padbotMotion,
|
|
105457
105576
|
padbotMqttEnabled,
|
|
105458
105577
|
padbotPatrolPlan,
|
|
105459
105578
|
padbotPatrolRecord,
|